-
Notifications
You must be signed in to change notification settings - Fork 41
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: add rpc endpoint eth_getCode
#162
Merged
Merged
Changes from all commits
Commits
Show all changes
44 commits
Select commit
Hold shift + click to select a range
95c651a
Impl RLPDecode for BlockHeader
fmoletta 1e2a66c
Extend Store api to fetch blocks + start implementing Decode for Tran…
fmoletta ac5f04e
Encode and Decode transactions with type
fmoletta d397b34
Impl RLPDecode for Withdrawal
fmoletta 6d6a0f8
Complete api for libmdx
fmoletta 63f5d18
Implement getters and setters for block in store api
fmoletta da19600
Fixes + add test
fmoletta 5e5f792
Clippy
fmoletta 847782d
Add api skeleton for other db impls
fmoletta 9e485c5
Move test to main module + fix api
fmoletta db86801
Merge branch 'main' into add-block-api-to-db
fmoletta 7e98b8a
Add mapping between block hash & block number to store api
fmoletta 23133aa
reafctor: Remove unwraps from libmdx impl of Store
fmoletta ffeccbf
Add methods to store
fmoletta 2ab77f5
Add test
fmoletta fe7ba64
clippy
fmoletta 682fa90
Add table to init
fmoletta 5b3beee
Merge branch 'main' of https://github.com/lambdaclass/ethrex into add…
fmoletta 2cca6ba
Merge branch 'main' of https://github.com/lambdaclass/ethrex into add…
fmoletta 78fee7c
Parse GetBlockByNumber request
fmoletta d154f5c
Add state to rpc handler
fmoletta f56738c
Add state to rpc handler + fmt
fmoletta 62a3f87
Impl getBlockByNumber
fmoletta f8fba01
Add getBlockByHash wip
fmoletta 87d2ce0
Complete getBlockByHash
fmoletta d729b60
fmt
fmoletta 631dfa7
Fixes
fmoletta 2828593
Add tracing
fmoletta 4de8f45
Remove from attribute from StoreError::Libmdx
fmoletta 6e023e1
Collect store tests in test_store_suite
fmoletta 5725f9d
Merge branch 'main' of https://github.com/lambdaclass/ethrex into get…
fmoletta 4b16d64
Merge branch 'main' into add-block-number-table
fmoletta c75d2b4
Merge branch 'add-block-number-table' into get_block_by_number
fmoletta 17161d0
Merge branch 'main' of https://github.com/lambdaclass/ethrex into get…
fmoletta 30aee3c
Add eth_getBalance endpoint
fmoletta 13262e9
Push file
fmoletta d97b5d8
Fix comment
fmoletta bfa249a
clippy
fmoletta cd8edfb
Add endpoint + store api methods
fmoletta 5ed85a5
add get_code_by_account_address method to store
fmoletta 7b7e4fe
Fix
fmoletta ec4f7c3
Add rpc call + update tracing
fmoletta cac3a99
fix
fmoletta 599b801
Merge branch 'main' of https://github.com/lambdaclass/ethrex into eth…
fmoletta 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
This file contains 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 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 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 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 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 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 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 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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
question: why don't we have to specify
pub
here?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is part of a trait implementation, so it has the same visibility as the trait (which is public in this case)