@ethereumjs/client v0.10.0
This client release now comes with official Dencun hardfork support 🎉 and by default uses WASM for crypto primitives for faster block execution times.
Dencun Hardfork Support
This release now officially supports networks running with or switching to the Dencun hardfork ruleset by including the finalized underlying EthereumJS libraries for the various functionality parts (EVM, Block and Tx libraries).
While EIP-4844
- activating shard blob transactions - is for sure the most prominent EIP from this hardfork, enabling better scaling for the Ethereum ecosystem by providing cheaper block space for L2s, there are in total 6 EIPs contained in the Dencun hardfork. The following is an overview of EIPs now supported along a Dencun switch (called Cancun
for the execution switch part):
- EIP-1153: Transient storage opcodes (
@ethereumjs/evm
) - EIP-4788: Beacon block root in the EVM (
@ethereumjs/block
,@ethereumjs/evm
,@ethereumjs/vm
) - EIP-4844: Shard Blob Transactions (
@ethereumjs/tx
,@ethereumjs/block
,@ethereumjs/evm
) - EIP-5656: MCOPY - Memory copying instruction (
@ethereumjs/evm
) - EIP-6780: SELFDESTRUCT only in same transaction (
@ethereumjs/vm
) - EIP-7516: BLOBBASEFEE opcode (
@ethereumjs/block
,@ethereumjs/evm
)
Note that while HF timestamp switches for all testnets are included, a mainnet HF timestamp has not yet been set in this release.
WASM Crypto Support
With this release the client uses WASM by default for all crypto related operations like hashing or signature verification, see PR #3192. As a WASM crypto library @polkadot/wasm-crypto is being used and WASM comes into play in the EVM for hashing opcodes and precompiles, block and tx hashing and ECDSA signature verfication down to trie key hashing and all hashing and signature functionality in the devp2p layer.
This makes up for a significantly lighter and sped-up client experience regarding both block execution and sync times.
Note that this functionality can be disabled by using the --useJsCrypto
flag.
Stability Fixes
- Patch fcu skeleton blockfill process to avoid chain reset, PR #3137
- Fix bug in tx pool during handling
NewPooledTransactionHashes
message, PR #3156 - Improved receipt reorg logic, PR #3146
- Block fetcher stabilizations, PR #3240