-
Notifications
You must be signed in to change notification settings - Fork 20
feat: add support for eth_getBlockByNumber to client
#459
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
Merged
Merged
Changes from 59 commits
Commits
Show all changes
61 commits
Select commit
Hold shift + click to select a range
4d2c5a5
XC-412: Initialize new empty `evm_rpc_client` crate
lpahlavi d10ee6a
XC-412: Add skeleton for client
lpahlavi 4b71bd1
XC-412: Add `eth_getLogs` to new client
lpahlavi 07c8712
XC-412: Add empty changelog
lpahlavi d5d3413
XC-412: Add more type conversions to `alloy`
lpahlavi 99d82b2
XC-412: Use `try_from` instead of `from`
lpahlavi 34c70b9
XC-412: Add `get_logs` to client
lpahlavi fb4a545
XC-412: Don't expose private types
lpahlavi 041a47b
XC-412: Remove new `ProviderId` type
lpahlavi 33e50df
XC-412: Refactor `and_then`
lpahlavi 4619b97
XC-412: Make `f` mutable
lpahlavi e8e4eb2
XC-412: Basic `PocketIcRuntime`
lpahlavi 74e00f1
XC-412: Clippy
lpahlavi 266373a
XC-412: Add some type conversions
lpahlavi c1e031e
XC-412: Fix mock iteration
lpahlavi 5e8aeed
XC-412: Fix repository link
lpahlavi fff88e0
XC-412: Require docs
lpahlavi a547409
XC-412: Add rustdoc and examples
lpahlavi 5e5c55a
XC-412: Move type conversions to separate files
lpahlavi 4a73233
XC-412: Flesh out examples
lpahlavi 99d031c
XC-412: Move more type conversions to separate files
lpahlavi ab47bb8
XC-412: Add TODO for conversion from `alloy_rpc_types::Filter` to `Ge…
lpahlavi 59801f2
XC-412: Add some alloy conversion unit tests
lpahlavi ccb0f5d
XC-412: Add unit tests for `and_then` method
lpahlavi 438dd53
Merge branch 'main' into lpahlavi/XC-412-evm-rpc-client
lpahlavi b152927
XC-412: Formatting
lpahlavi 5de395d
XC-412: Add more unit tests
lpahlavi 398be24
Merge branch 'lpahlavi/XC-412-evm-rpc-client' into lpahlavi/XC-412-ev…
lpahlavi 93874e6
XC-412: Add `#[allow(missing_docs)]` to `pocket_ic`
lpahlavi 9802e56
XC-412: change `forbit` to `deny`
lpahlavi 4e62c83
XC-412: Formatting
lpahlavi 52e8b63
XC-412: Fix `RepeatExt` implementation
lpahlavi f3752e8
XC-412: Fix rustdoc
lpahlavi 3bc9ab2
Add correct TODO link
lpahlavi 9d1c8b1
XC-412: Refactor remaining `eth_getLogs` tests
lpahlavi 7f4dbd5
XC-412: Clippy
lpahlavi 472a0e6
XC-412: Fix mocking logic
lpahlavi 41df297
Merge branch 'main' into lpahlavi/XC-412-evm-rpc-client-int-tests
lpahlavi b19309f
XC-412: Revert merge mistake
lpahlavi bd4fae6
XC-412: Remove debugging code
lpahlavi 4735b53
XC-412: Clippy
lpahlavi d5e5b24
XC-412: Add support for `eth_getBlockByNumber` method to client
lpahlavi b33867e
XC-412: Formatting
lpahlavi 9470eba
XC-412: Formatting
lpahlavi f810211
XC-412: Add unit tests for conversion
lpahlavi 882dbe5
XC-412: Formatting
lpahlavi 50d9bc8
XC-412: Fix error message
lpahlavi 2794755
XC-412: Remove useless conversion
lpahlavi fdf1a5c
Merge branch 'main' into lpahlavi/XC-412-eth-get-block-by-number
lpahlavi 0011c38
XC-412: Remove `runtime/pocket_ic`
lpahlavi 027e2c0
XC-412: Remove unneeded dependencies
lpahlavi a0b941b
XC-412: Hide import in docs
lpahlavi ea49605
XC-412: Remove `with_cycles` from docs
lpahlavi 17bc345
XC-412: Remove `alloy` from default features
lpahlavi dde85ef
XC-412: Add more prop tests for `alloy` conversions
lpahlavi 7d37186
XC-412: Handle pre- and post-Paris `difficulty`
lpahlavi 84160e9
XC-412: Formatting
lpahlavi 2ee22d1
XC-412: Fix `Nat256` to `U256` conversion
lpahlavi 60e1f55
XC-412: Split unit tests in pre- and post-Paris
lpahlavi 20d8c70
XC-412: Move canonicalization to functions
lpahlavi bdbdac7
XC-412: Apply canonicalization less generously
lpahlavi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.