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

feat: implement Filecoin.EthGetBlockByNumber #4138

Merged
merged 110 commits into from
Apr 19, 2024

Conversation

elmattic
Copy link
Contributor

@elmattic elmattic commented Apr 3, 2024

Summary of changes

Changes introduced in this pull request:

  • Add Filecoin.EthGetBlockByNumber RPC method
./forest-tool api compare --lotus /ip4/127.0.0.1/tcp/1234/http --forest /ip4/127.0.0.1/tcp/2345/http forest_snapshot_calibnet_2024-04-03_height_1494010.forest.car.zst --filter EthGetBlockByNumber
| RPC Method                       | Forest | Lotus |
|----------------------------------|--------|-------|
| Filecoin.EthGetBlockByNumber (2) | Valid  | Valid |

Reference issue to close (if applicable)

Closes #4183

Other information and links

Change checklist

  • I have performed a self-review of my own code,
  • I have made corresponding changes to the documentation,
  • I have added tests that prove my fix is effective or that my feature works (if possible),
  • I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

@elmattic elmattic requested review from lemmih and LesnyRumcajs April 17, 2024 11:02
src/shim/executor.rs Outdated Show resolved Hide resolved
src/rpc/methods/chain.rs Outdated Show resolved Hide resolved
src/rpc/methods/eth.rs Outdated Show resolved Hide resolved
src/shim/executor.rs Outdated Show resolved Hide resolved
Co-authored-by: David Himmelstrup <david.himmelstrup@chainsafe.io>
Copy link
Contributor

@lemmih lemmih left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lots of moving parts.

@LesnyRumcajs
Copy link
Member

No green checkmark, no review!

@ruseinov ruseinov self-requested a review April 19, 2024 15:04
@ruseinov ruseinov added this pull request to the merge queue Apr 19, 2024
Merged via the queue into main with commit 3c05d1a Apr 19, 2024
27 checks passed
@ruseinov ruseinov deleted the elmattic/eth-get-block-by-number branch April 19, 2024 15:21
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.

Filecoin.EthGetBlockByNumber
4 participants