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: get_transaction_receipt & eth_call endpoints implementation. #513

Merged
merged 2 commits into from
Jul 19, 2023

Conversation

bkolad
Copy link
Member

@bkolad bkolad commented Jul 18, 2023

Description

This PR introduces the following changes:

  1. Implementation of the get_transaction_receipt endpoint. Currently, the receipts are stored in the module state.
  2. Implementation of the eth_call endpoint.

With these changes, the send_tx_test_to_eth test now functions correctly, proving that the EVM module can interact with an external wallet. The current implementation is very basic, and the pull request contains "todo" items that will be addressed in future PRs (together with documentation & tests).

Testing

Tests will be added in the following PRs.

Docs

Docs will be provided in the following PRs.

@codecov
Copy link

codecov bot commented Jul 18, 2023

Codecov Report

Merging #513 (25c28ff) into nightly (11c6eb3) will increase coverage by 0.0%.
The diff coverage is n/a.

Impacted Files Coverage Δ
full-node/sov-ethereum/src/lib.rs 100.0% <ø> (ø)
...e-system/module-implementations/sov-evm/src/lib.rs 100.0% <ø> (ø)

... and 6 files with indirect coverage changes

@bkolad bkolad force-pushed the blaze/evm_get_receipt branch from 4743879 to 25c28ff Compare July 18, 2023 12:48
@bkolad bkolad changed the title WIP evm get receipt WIP EVM: get_transaction_receipt & eth_call endpoints implementation. Jul 18, 2023
@bkolad bkolad changed the title WIP EVM: get_transaction_receipt & eth_call endpoints implementation. EVM: get_transaction_receipt & eth_call endpoints implementation. Jul 18, 2023
@bkolad bkolad marked this pull request as ready for review July 18, 2023 15:08
@bkolad bkolad merged commit 3b77d2c into nightly Jul 19, 2023
@bkolad bkolad deleted the blaze/evm_get_receipt branch July 19, 2023 07:00
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