-
Notifications
You must be signed in to change notification settings - Fork 128
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
Eip4444 - Portal Integration #3087
base: master
Are you sure you want to change the base?
Conversation
advaita-saha
commented
Feb 18, 2025
•
edited
Loading
edited
- rpc level integration
- common block serve through forkedchain
- p2p serving ( dependency wire in forkedchain to p2p #3082 )
- EIP-4444 specific block limit in p2p
- cleanup + comments
proc rpcProvider*(pc: PortalClientRef): RpcClient = | ||
pc.rpc.provider | ||
|
||
proc toHeader(blkObj: BlockObject): Header = |
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.
Note that you can use the native Portal JSON-RPC API that has the data in more convenient encoding than the EL JSON-RPC API.
We also have a helper JSON-RPC Nim API to access that easily here: https://github.com/status-im/nimbus-eth1/blob/master/fluffy/rpc/portal_rpc_client.nim
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.
I did just notice that in that portal_rpc_client API we have not yet added the block header by number call.
3d63d3f
to
82a1d76
Compare