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: Improve EVM Implementation according to demo #964

Merged
merged 3 commits into from
Oct 2, 2023

Conversation

orkunkilic
Copy link
Contributor

Description

Last week we performed an EVM demo. During the demo I hot-fixed some bugs and added new endpoints. This PR sums up everything about it.

Apparently, EVM was still panicking during errors. This PR converts EVMErrors into EthApiError.
Adds net_version endpoint.
Fixes empty account issue during gas estimation.
Fixes hex block number issue.

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?

@codecov
Copy link

codecov bot commented Oct 1, 2023

Codecov Report

Merging #964 (6f39fda) into nightly (a1df8c1) will decrease coverage by 0.1%.
The diff coverage is 0.0%.

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

@bkolad bkolad enabled auto-merge October 2, 2023 07:32
@bkolad bkolad added this pull request to the merge queue Oct 2, 2023
Merged via the queue into Sovereign-Labs:nightly with commit f31359e Oct 2, 2023
12 checks passed
@bkolad bkolad deleted the orkun/evm-improvements branch October 2, 2023 08:13
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