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 module: add eth_getTransactionByHash endpoint #491

Merged
merged 7 commits into from
Jul 13, 2023
Merged

Conversation

bkolad
Copy link
Member

@bkolad bkolad commented Jul 13, 2023

Description

This PR includes the following changes:

  1. Adds a dependency on anvil-core to enable reuse of core Ethereum types in EVM module endpoints.
  2. Improves the implementation of eth_sendRawTransaction by utilizing anvil-core.
  3. Adds an eth_getTransactionByHash endpoint (currently the implementation is very naive, we save all submitted transactions in the EVM module so we can fetch them with eth_getTransactionByHash).

The todos in the code will be fixed in following PRs.

Linked Issues

Testing

Tested manually with demo-rollup

@bkolad bkolad changed the title WIP EVM rpc part1 EVM module: add eth_getTransactionByHash endpoint Jul 13, 2023
@bkolad bkolad marked this pull request as ready for review July 13, 2023 14:14
Cargo.toml Outdated Show resolved Hide resolved
@bkolad bkolad merged commit 3e6917c into main Jul 13, 2023
@bkolad bkolad deleted the blaze/evm_rpc branch July 13, 2023 16:23
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