Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

EVM: Fix hex prefix on block number #950

Closed

Conversation

orkunkilic
Copy link
Contributor

Description

EVM applications generally use hex strings with 0x prefix so block_number call was failing for example. This pr supports both 0x and plain string version.

Linked Issues

  • Fixes # (issue, if applicable)
  • Related to # (issue)

Testing

Describe how these changes were tested. If you've added new features, have you added unit tests?

Docs

Describe where this code is documented. If it changes a documented interface, have the docs been updated?

@bkolad bkolad enabled auto-merge September 28, 2023 15:45
@codecov
Copy link

codecov bot commented Sep 28, 2023

Codecov Report

Merging #950 (f2b3ec0) into nightly (a1df8c1) will increase coverage by 0.0%.
The diff coverage is 0.0%.

Files Coverage Δ
...system/module-implementations/sov-evm/src/query.rs 0.0% <0.0%> (ø)

... and 1 file with indirect coverage changes

@orkunkilic
Copy link
Contributor Author

Fixed in #964

@orkunkilic orkunkilic closed this Oct 1, 2023
auto-merge was automatically disabled October 1, 2023 20:06

Pull request was closed

@orkunkilic orkunkilic deleted the orkun/fix-block-number branch October 1, 2023 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants