You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a struct GenericChainSpec (ideally in a new crate edr_generic)
Implement the traits outlined in the book for GenericChainSpec such that it can be used from Hardhat
Treat unknown transaction types as PostEip155Legacy as in the main branch
Allow remote blocks to have a missing nonce as in main (also see PR with change)
Reintroduce this test alongside the GenericChainSpec implementation and validate it works (this test cannot work for L1ChainSpec as it would throw an error when detecting unknown transaction types)
Add test to validate that the generic chain type can parse this eth_getBlockByNumber response (taken from this issue):
I'll close this as completed by #653 but feel free to re-open it if there's anything else to be done. I assume that the last, optional item on the list will be completed as we merge main into the feature branch in order to prepare it to land in main but I can also look into that if you'd like me to.
Definition of Done
struct GenericChainSpec
(ideally in a new crateedr_generic
)GenericChainSpec
such that it can be used from HardhatPostEip155Legacy
as in themain
branchmain
(also see PR with change)GenericChainSpec
implementation and validate it works (this test cannot work forL1ChainSpec
as it would throw an error when detecting unknown transaction types)eth_getBlockByNumber
response (taken from this issue):L1
chain type in Hardhat with theGeneric
chain type.main
The text was updated successfully, but these errors were encountered: