All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog (modification: no type change headlines) and this project adheres to Semantic Versioning.
- Add
getBlobsV1
to the client to support CL blob import, PR #3711 - Minor engine-cancun hive test fixes, PR #3308
- Added
eth_getBlockReceipts
method, PR #3499 - Added
admin_Peer
RPC endpoint, PR #3570 - Added
debug
namespace methodsgetRawBlock
,getRawHeader
,getRawReceipts
andgetRawTransaction
, PR #3490 - Special-case fixes for
eth_call
, PR #3503 - Add
data
field toRPCError
/eth_call
, PR #3547 - Various RPC value format fixes, PR #3495
- Removal for live-TTD (Merge) HF transition support, PR #3518
- Fixes a JWT token exchange bug preventing communication with the Grandine CL client to work, PR #3511
This release comes with some RPC improvements as well as various updates to catch up for testnets preparing for the Prague hardfork as well as the Verkle tree integration. Note that for running/participating in the latest Prague and Verkle testnets it is still needed to join with a build from master
since testnets are evolving so quickly that it is not practical to catch up with official client releases!
- Fixes for Kaustinen4 support, PR #3269
- Kaustinen5 related fixes, PR #3343
- CLI option
--ignoreStatelessInvalidExecs
for Verkle debugging, PR #3269 - Kaustinen6 adjustments,
verkle-cryptography-wasm
migration, PRs #3355 and #3356 - Update
kzg-wasm
to0.4.0
, PR #3358 - Shift Verkle to
osaka
hardfork, PR #3371 - Simplify
--ignoreStatelessInvalidExecs
to just a boolean flag, PR #3395 - Add verkle execution support to
executeBlocks()
, PR #3406 - Verkle decoupling in underlying libraries, PR #3462
- Integrates support for EIP-7702 EOA code transactions (outdated) (see tx library for full documentation), see PR #3470
- New
--startExecutionFrom
and--startExecution
CLI options, PR #3269 - Add
eth_blobBaseFee
RPC endpoint, PR #3436 - Add support for
pending
ineth_getTransactionCount
RPC method, PR #3415 - Add support for multiple sources of rlp blocks when loading with
--loadBlocksFromRlp
, PR #3442 - Basic Prometheus metrics support (not many metrics yet), PR #3287
- ESM-only client build, PRs #3359 and #3414
- Add execution api v4 handling to engine, PR #3399
- New mechanism to keep latest block from peers updated, PR #3354
- Better
--execution
flag guard, PR #3363 - Stricter prefixed hex typing, PR #3348
- Update
multiaddress
dependency, PR #3384 - Internalize
QHeap
dependency, PR #3451 - Internalize
jwt-simple
dependency, PR #3458
- Fixes for the
eth_estimateGas
RPC endpoint, PR #3416 - Fixes tx status in
eth_getTransactionReceipt
RPC method, PR #3435 - Fixes the "block to payload" serialization for
getPayloadV4
, PR #3409 - Fix the
getPayloadV4
with a deposit tx and expected deposit requests, PR #3410
This is mainly a maintenance release coming with a few internal changes and minor bug fixes, single user-focused addition is the support for the eth_feeHistory
RPC call.
Support for the eth_feeHistory
RPC endpoint has been added in PR #3295. The endpoint allows to query the base fee and the priority fee per gas for a requested/supported block range.
- The underlying EthereumJS libraries now use
kzg-wasm
instead of thec-kzg
Node.js bindings for 4844 functionality, PR #3294 - Ensure executed block does not get pruned if head=final FCU, PR #3153
- Improved SNAP sync behavior in certain scenarios (SNAP feature still experimental), PR #3200
- Refactor internal Engine API code structure, PR #3291
- Remove
devnet6.txt
trusted setup file and all test usages in downstream libraries, PR #3288 - Snap sync (experimental): use zero-element proof for checking validity of final, empty range result, PR #3047
This client release now comes with official Dencun hardfork support 🎉 and by default uses WASM for crypto primitives for faster block execution times.
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.
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 verification 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.
- 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
- Fix RPC debug inconsistencies, PR #3125
- Better typing/refactoring for devp2p ETH method binding, PR #3164
- Replace superagent with direct RPC calls in RPC tests, PR #3173
- testdouble to vi refactoring, PR #3182
- Fetcher Small Bugfixes and Log Improvements, PR #3024
This client release now syncs with the new Holesky and Dencun devnet-11 test networks and comes with improved sync performance, a revamped post-Merge client UX experience and various beacon sync related fixes and robustness improvements.
This client release now fully supports running the new Holesky public Ethereum testnet replacing the Goerli
test network, see , PR #2982 and some following PRs.
The following command starts an EthereumJS client on Holesky:
ethereumjs --network=holesky --rpc --rpcEngine
Then start a corresponding CL client (e.g. Lodestar with checkpoint sync towards https://lodestar-holesky.chainsafe.io
), also see client README.
Another testnet to be run with this client: Dencun devnet-11
, which is one of the last and eventually the very last testnet before running the Dencun hardfork on the official testnet.
Following spec updates included:
- Update
EIP-4788
: do not use precompile anymore but use the pre-deployed bytecode, PR #2955 - Additional
EIP-4788
updates (address + modulus), PR #3068 - Update the beacon block root contract address, PR #3003
- Fix
newPayloadV2
havingPayloadV3
params, PR #2954 - Include parent beacon block root for proposal payload uniqueness, PR #2967
- Fixes for new engine api method validations for hive pr-834, PR #2973
- Track and respond to invalid blocks in engine api and other hive engine-cancun fixes, PR #3077
- Make the newpayload execution of big blocks non blocking, PR #3076
- Hive Cancun fixes, PR #3099
See devnet-11 EthPandaOps GitHub repository for instructions on how to run the testnet.
This client release integrates with the EthereumJS EVM v2.1.0 (see EVM CHANGELOG for details) which comes with significant performance improvements for various opcodes as well as overall EVM execution.
Furthermore the data model for saving the state has been optimized to improve storage DB read performance, see PR #3023 and PR #3067.
Both changes together should increase client sync performance by 30% or more.
Important: The new db model is not backwards-compatible with existing client databases. Use the new --prefixStorageTrieKeys
(set it to false
) and --useStringValueTrieDB
(set it to true
) flags to preserve the old DB behavior.
We have gone through the complete post-Merge beacon sync process and reworked the client output along, see PR #3085 and some follow-up PRs. It is now substantially easier to follow the different stages of the sync process (backfilling, forward filling & execution, following the chain) and track the overall sync progress. Holesky with its newly initialized state is a great testbed to see the new client capabilities in practice! 🤩
The client can be now leveraged as a tool for block and/or tx profiling by using the new --vmProfileBlocks
and --vmProfileTxs
options, see PR #3042. This gives details into the EVM/VM execution performance for specific blocks. See profiler related EVM README section for further details.
A new more fine-tuned discovery discV4
mechanism has been integrated along PR #3120. This should now make it substantially easier to find new peers especially on smaller networks like the devnet-11
and related Dencun test networks. Additionally the --bootnodes
option has been expanded to now also take bootnode.txt
files for easier loading of bootnodes.
- Some skeleton improvements from observations on devnet syncs, PR #3014
- Decouple skeleton from beacon sync, PR #3028
- Fix canonical reset of the chain by the skeleton, PR #3078
- Skeleton reorg head fixes, PR #3085
- Fixes regarding beacon sync, vmexecution and further log improvements, PR #3094
- Various rebase and sync related improvements along PR #3031
- Add
eth_coinbase
RPC method, PR #3079 - Add Option to Return Actual Caught Error Message and Stack Trace when RPC Call Fails, PR #3059
- More fine-grained
--rpcDebug
option (enable/disable specific RPC module logs), PRs #3102 and #3127
- Properly handle errors in
storageRangeAt
RPC method, PR #2952 - Fix TxPool not being started along FCU, PR #3100
- Fix initialization order when blocks are preloaded, PR #2979
- Add error handling for async errors in client, PR #2984
- Deactivate storage/account caches for cache size 0, PR #3012
- Rewrites block fetcher
sync()
without theasync-promise-generator
api, PR #3030 - Clean up CLI arg passing, PR #3036
- Docker related updates, PR #3065
- Use same Cache Setup for normal and executeBlocks-triggered Execution, PR #3063
- Simplify client transports, breaking: removed
--transports
, PR #3069 - Experimental SNAP sync integration (larger announcement later on, but feel free to already experiment with it using the
--snap
option)! 😆), PR #3031 - Guard against rpc port collisions, PR #3083
- Change execution stats intervals, PR #3106
- pendingBlock fix if FCU is called with withdrawals=null pre-cancun, PR #3119
- Handle an edge case in
newpayload
block execution, PR #3131
Note: this release is not yet fully ready for 4844-devnet-8
(launch in August 2023).
- 4844: Rename
dataGas
toblobGas
(see EIP-4844 PR #7354), PR #2919 - Engine api changes for devnet 8, PR #2896
- forkChoiceUpdated v3
- change validations of newPayload v3, make them 1-1
- Add
debug_traceCall
RPC method, PR #2913 - Add
debug_storageRangeAt
RPC method, PR #2922 - Handle SIGTERM kernel signal, PR #2921
- Broadcast the contents of the transaction pool to newly connected peers, PR #2935
- Add support for multiple same-type messages over devp2p, PR #2940
- Fix RPC server custom address/port bugs, PR #2930
- Address security vulnerabilities, PR #2912
The client now has integrated persistent caches for accounts and storage as well as trie nodes and a lot less trie reads and writes are needed over time, see PR #2630, #2634, #2667 and #2681. This is a quantum leap for client sync and execution performance leading to the ability sync substantially more extensive networks (no: mainnet
not yet 😋).
The new caches are activated by default and stats are provided in regular intervals. Caches can be adopted and resized with the new --accountCache
, --storageCache
and --trieCache
options as well as completely deactivated by setting size to 0
, e.g. with --accountCache=0
.
While there might be last-round final tweaks,, EIP-4844 is closing in on its final format with a lot of spec changes during the last 2-3 months still happening.
This release supports EIP-4844 along this snapshot b9a5a11 from the EIP repository with the EIP being in Review
status and features/changes included which made it into 4844-devnet-7.
The following changes are included:
- Add proofs to engine API BlobsBundleV1, PR #2642
- Limit blobs as per the maxDataGasPerBlock for block building, PR #2661
- Add 4844 devnet5 blob post utility, PR #2674
- De-sszify 4844 blob transaction, PR #2708
- Extend newPayloadV3 for blob versioned hashes checks, PR #2716
- Fix double runs of the block execution, PR #2730
- Merge get blobs engine api into
getPayloadV3
, PR #2650 - Update eip4844 blocks/txs to decoupled blobs spec, PR #2567
- Update the kzg validation and replace trusted setup with latest (devnet6), PR #2756
- Fix new payload excessDataGas/4844 validation, PR #2784
- Add
shouldOverrideBuilder
flag forgetPayloadV3
, PR #2891
- Memory logging and memory optimizations, PR #2675 and #2678
- New
--execute
option to activate/deactivate VM execution, PR #2675 - Fix unclean shutdown scenario where SIGINT may come before client fully started, PR #2677
- Fix PeerPool Memory Leak, PR #2752
- Allow to disable transports and/or sync, PR #2668
- Fix
eth_getStorage
RPC method, PR #2646 - Fix
newPayloadV3
engine API validations, PR #2762 - Fixes for block and blob building uncovered in devnet6, PR #2763
- Discard blob txs with missing blobs for block building, PR #2765
- Remove unused
libp2p
transport layer (preserved for future re-introduction if there is demand 🙂), PR #2758 - Optimize engine API
newPayload
block executions, PR #2787 - Improve engine API
newPayload
andforkChoiceUpdated
block executions, PR #2880
- New
numBlocksPerIteration
option to allow to set the number of blocks executed in bulk, other UX optimizations, PR #2586
- Stability and reorg improvements regarding safe and finalized blocks, PR #2585
- Beacon sync fixes, PR #2584
- Engine API timestamp checks, PR #2579
- Ensure safe/finalized blocks are part of the canonical chain on Engine API
forkchoiceUpdated
, PR #2577 - Engine API: ensure invalid blockhash status gets reported correctly, PR #2583
- Turn off libp2p transport by default, PR #2557
This client release comes with finalized Shanghai
hardfork support, fully integrates with a (non final) version of EIP-4844
and allows to setup and run respective testnets, substantially improves on post-Merge UX and comes with a ton of bugfixes and (robustness) improvements being done during January 2023 core dev interop in Austria. So we felt this to be worth a minor version bump! 🙂 🎉 ❤️
This release fully supports all EIPs included in the Shanghai feature hardfork scheduled for early 2023. Note that a timestamp
to trigger the Shanghai
fork update is only added for the sepolia
testnet and not yet for goerli
or mainnet
.
To run the client on the Sepolia network do:
ethereumjs --network=sepolia
- Change withdrawal amount representation from Wei to Gwei, PR #2483
- Fix forkchoiceUpdateV2 shanghai, PR #2502
- Engine-api-validators, newPayloadV2 and newPayloadV3 updates, PR #2504
- Add new shanghai engine apis (getCapabilities, getPayloadBodiesByHashV1, getPayloadBodiesByRangeV1), PR #2509
- getPayloadBodiesByRange fixes, PR #2518
- Changes engine_forkchoiceUpdatedV2 withdrawals parameter to
optional
to ensure we return the correct error message if a preShanghai payload is sent, PR #2533
This release supports an experimental version of the blob transaction type introduced with EIP-4844 as being specified in the 01d3209 EIP version from February 8, 2023 and deployed along eip4844-devnet-4
(January 2023), see PR #2349 as well as PRs #2522 and #2526.
See Interop EIP-4844 Tracking Issue #2494 for information on how to run the client in the context of an EIP-4844 testnet.
The post-Merge client log flow where the EthereumJS client serves as a responsive execution client in combination with a consensus layer client like Lodestar has been completely overhauled, see PRs #2497, #2506 and #2510.
Log output is now a lot more concise and adequate to the respective client post-Merge state, aggregating beacon sync logs when still in sync and giving a more detailed output when the client is synced to the chain and just following along the chain head when getting updated from the consensus layer.
- Clean stop sync and execution to allow client shutdown, PR #2477
- Update Dockerfiles to use node 18, PR #2487
- New client ci run, PR #2515
- Add and use execHardfork while running a tx, PR #2505
- Hive withdrawal and general client fixes, PR #2529
- Use client ID from Client for client HELLO message exchange (previously devp2p default ID was used), PR #2538
- Fixed the fetcher errored property colliding with Readable class (broke client on error handling), PR #2541
- Support receipts when mining/sealing blocks, PR #2544
- Total difficulty related HF switch fixes, PR #2545
- Build block fixes, PR #2452
- Apply correct hf to peer fetched txs as well as filter and remove mismatching hf txs while building blocks, PR #2486
- Adds some caching logic for pending payloads so as to prune pending block payloads once one is built and provided to the CL, PR #2533
- Breaking: Reuse jwt-token from default path, PR #2474
- Breaking: Validate CLI args (client start with non-existing argument now fails), PR #2490
- Breaking: Change client CLI params to camelCase, PR #2495
- Fixed
--startBlock
option bug, PR #2540
- Handle withdrawal bodies in the blockfetcher and skeleton sync fixes, PR #2462
- Fix client's sync state on startup or while mining or single node (test) runs, PR #2519
- Allow genesis to be post merge, PR #2530
- New
--loadBlocksFromRlp
CLI parameter (mainly for testing purposes), PR #2532 - Better handling of reorgs that go pre-merge, PR #2532
- Fixed invalid head block reset bug, PR #2550
- Add
blockValue
to thegetPayload
response, PR #2457 - Fix engine-auth and engine-exchange-capabilities hive test, PR #2531
This releases includes various bug fixes and optimizations discovered and applied along the run of the Shandong Pre-Shanghai testnet (#2316) (now being deprecated) as well as new RPC methods implemented along the way.
Furthermore this client release can now run chain including blocks with EIP-4895
beacon chain withdrawals respectively execute on EIP-4895 activating hardforks, see PRs #2353 and #2401.
eth_getBlockTransactionCountByNumber
, PR #2379eth_getTransactionByBlockHashAndIndex
, PR #2443eth_gasPrice
, PR #2396txpool_content
, PR #2410debug_traceTransaction
, PR #2444- Miscellaneous tx related fixes, PR #2411
The Client is now ready to work with hardforks triggered by timestamp, which will first be applied along the Shanghai
HF, see PR #2437. This is achieved by integrating a new timestamp supporting @ethereumjs/common
library version.
- Enhanced skeleton sync to process batches of new payloads and fcUs, PR #2309
- Various tx pool fixes, PR #2382
- Fixed skeleton reset scenario when head announced before subchain 0 tail, PR #2408
- Handle genesis and genesis extension properly for skeleton, PR #2420
- Fixed enode to ip4 and write the same to disk, PR #2407
- Fixed sendTransactions peer loop and exchange txpool logs, PR #2412
- Used unpadded int/bigint to buffer in net protocols (bug), PR #2409
- Fixed handling of post-merge genesis blocks, PR #2427
- Fixed logic bug in txPool.validate, PR #2441
- Fixes broken release v0.6.4 (wrong @ethereumjs/util dependency)
[ BROKEN] (wrong @ethereumjs/util dependency)
- Fixed reorg handling in the underlying
@ethereumjs/blockchain
libraryiterator()
function, PR #2308 - Fixed a bug leading to exclusion of subsequent transactions build on top of previous ones, PR #2333
- Fixed a bug in the
eth_estimateGas
RPC call where the parameter logic was being applied to an optional parameter when the optional parameter didn't exist, PR #2358
This is the official Merge-ready release for the EthereumJS client! 🎉 Note that it is not possible yet to run EthereumJS client on mainnet though. This release nevertheless implements all final Merge specifications and includes Merge-related configuration parameters and is ready for current (Sepolia
) and future Merge related testnets and development networks.
This release also updates the underlying EthereumJS libraries to the final breaking versions.
This release updates the underlying EthereumJS libraries to the newly released RC 1 versions.
This release mainly fixes various hardfork issues in beacon sync discovered after the goerli
testnet merge, see PR #2230:
- Engine's assemble block was not using correct fork
- Skeleton's call to getBlockHeaders wasn't resulting in correct block and hence the block bodies were also not correct because of which skeleton backfill was breaking
- Reverse block fetcher sync was picking up a peer which seemed to be providing
london
blocks instead of merge causing the fetcher to break again and again instead of just banning that peer. - Skeleton's getBlock was not using the correct hardfork
This will make beacon sync on Goerli and other Merge-activated chains more robust.
- Mainnet Merge
TTD
58750000000000000000000
has been added to themainnet
chain configuration of the underlyingCommon
library, PR #2185
This release updates the underlying EthereumJS libraries to the newly released Beta 3 versions.
- More robust beacon sync (additional recovery and reorg scenarios handled), PR #1968
- Allow
eth_call
RPC call without providing theto
parameter, PR #2084 - Bring back client browser support from a non-working to an experimental state, PR #2091
- Set
goerli
Merge TTD to 10790000 (underlying `@ethereumjs/common library), PR #2079 - Update
sepolia
mergeForkIdTransition
Merge transition HF (separate "artificial" HF construct only for networking layer) (underlying `@ethereumjs/common library), PR #2098
This is the first client release which supports the Merge transition in conjunction with a consensus layer client (we recommend Lodestar), but are excited to see other combinations being tested too) on one of the official public Ethereum testnets, with Sepolia being a good candidate here since the network is relatively new and has not yet grown so extensively.
Client instructions have been updated accordingly here and you can use these instructions to start-up both clients, see them syncing first both the separate networks and then joining forces at Sepolia Merge block 1450409! 🐼 ❤️
This is the first client release which works with the next generation EthereumJS libraries being published as Beta releases right now. The client is a first test bed for these releases which include heavy structural changes (e.g. the VM separated into three different packages VM, EVM and StateManager). In return the client benefits directly from some of the integrations being done, e.g. the complete switch to native JavaScript BigInts which leads to a substantially better VM execution performance.
Note that DB format has changed along with this release and it is therefore necessary to delete the old chain and state data directories. If this is causing you substantial hassle please ask in our monorepo or Discord server on a migration script. While this will cause us some extra work it might actually be possible to provide one if there is some demand.
With the transition to PoS chains running the client in a CL/EL setup the activation of receipt saving often gets necessary, since some CL clients (e.g. Lodestar) rely on the eth_getLogs
RPC call to be activated to be able to properly work with the EthereumJS client.
Since the EthereumJS client is still mainly used in not-that-much-grown testnets and environments (so the additional disk space requirements are not that grave) we have therefore decided to turn the respective option --saveReceipts
on by default, see PR #2040.
You can use --saveReceipts=false
if you would rather want to deactivate again.
- Miscellaneous fixes for beacon sync in reverseblockfetcher, skeleton, merge forkhash, PR #1951
- The underlying blockchain (chain) and Trie (state) databases have been upgraded from Level 6 to Level 8, PR #1949
- Activated Sepolia DNS discovery, PR #2034
This client release comes with various last specification updates for the Merge to conform with the execution engine API spec as defined in the "Ballast" v1.0.0-alpha.9 pre-release of the execution API, also see the general Merge (aka "Paris" HF) execution specs.
- Various
eth_
methods are now available on the engine API endpoint as of Kiln spec v2.1, PR #1855 - Small engine API updates and fixes, PR #1902
- Subsume engine's
INVALID_TERMINAL_BLOCK
intoINVALID
response, PR #1919
The client now supports optimistic (Beacon) sync where blocks are downloaded in reverse from the announced trusted head. This allows for a practically viable sync process in combination with a consensus client when running the client in an execution-consensus-client-combination setup on a Merge test network.
See PR #1878 for the implementation and PR #1858, PR #1861 and PR #1863 which prepare the ground with some (larger scale) preparator refactor for the implementation.
With this release our tx pool grows into a still simple but full-grown and base-feature-complete pool by adding all sorts of validation checks to ensure validity with consensus, see PR #1852. This is another substantial step towards fulfilling the requirements for acting as an active block-producing client in an Ethereum network. Validation checks - like e.g. "tx nonce is greater than sender's current nonce" - are now run early on when a tx is send via RPC eth_sendRawTransaction
and feedback (and eventual rejection of the tx) is provided at the point of submission. This allows for building valid blocks when acting as a block producer.
- Execution API: Added missing tx fields to
getBlockByHash
RPC method, PR #1881
- Allow
forkchoiceUpdated
method to properly work on a reorg if a previous block was sent asheadBlockHash
, PR #1820 - Fix to have
newPayload
properly handle already existing payload, PR #1824 - client/engine: add ability to add blocks to blockchain without setting the head (faster engine calls!), PR #1827
- chain: safer closing to not cause db corruption during shutdown while handling engine requests, PR #1827
- CLConnectionManager: starts on first
updateStatus
in caseMergeForkIdTransition
isn't reached before merge (Goerli shadow fork scenario), PR #1827 eth_call
bug fix on specificdata
value cases, PR #1830- engine: Adds
remoteBlocks
to handle storing blocks with unknown parent in case fcU sets head to it when parent is later given tonewPayload
, PR #1830 - Moved the TxPool to
FullEthereumService
(internal refactor for merge preparation), PR #1853
This release fully supports the Merge Kiln testnet v2
complying with the latest Merge specs. You can use this release to sync with the testnet, combining with a suited consensus client (e.g. the Lodestar client). See Kiln instructions to get things going! 🚀
- New engine API endpoints, PRs #1565 and #1712
engine_newPayloadV1
(before:engine_executePayloadV1
)engine_forkchoiceUpdatedV1
engine_getPayloadV1
- New engine API endpoint, PR #1750
exchangeTransitionConfigurationV1
(sets and returns the transition configuration parameters)
- Engine API (RPC): Renamed
message
tovalidationError
, PR #1565 - Engine API (RPC): Allowed ws and http on the same port, PR #1565
- Engine API (RPC): Respect message ordering in forkchoiceUpdated, PR #1565
- Engine API (RPC): Rename
coinbase
tofeeRecipient
as perv1.0.0-alpha.5
spec, PR #1565 - Engine API (RPC): Support for jwt based auth through both http/websocket protocols, PR #1751
- Engine API (RPC): Tests for new Engine API endpoints, PR #1727
- Geth genesis files: Use
mergeForkBlock
if provided, PR #1565 - Execution module refactor: decoupling from
FullSync
module to prepare for a post-Merge execution/sync separation, PR #1663 - Added terminal block validation in
newPayload
andforkchoiceUpdated
methods from Engine API, PR #1797 - Validate block safe hash on
forkchoiceUpdated
, PR #1804 - Validate finalized block hash on
forkchoiceUpdated
, PR #1803 - More explicit Merge and CL connection logging with a proper panda bear icon and stuff, see PRs #1800, #1805 and #1808
- RPC Server: Added
rpcCors
option to specify CORS for rpc server, PR #1762 - RPC Server: New default ports for engine (
8551
) (HTTP-RPC and WS) and general RPC (8545
), PR #1775 - Miner: unlock with file PK (do not use in a production setup for security reasons!), PR #1790
- Various sync stability improvements, PR #1781
- More sophisticated Block/Header fetcher reorg handling, PR #1792
- Added new
--startBlock
CLI option to allow for restarting sync on an older block, PR #1807 - JSON RPC:
eth_getBlockByNumber
method returns array of tx object when asked, PR #1801
- Geth genesis files: Minor
baseFeePerGas
related fix and other improvements, PRs #1720 and #1741 - Added
mixHash
to RPC block results (sorry, forgotten 😋), PR #1791 - Fixed frequent
Error handling message
error in tx poo, PR #1793 - Handle partial results in multi-peer safe manner, PR #1802
This release adds receipt and log saving functionality to the client. There has been a new database infrastructure laid out in PR #1556 for data, caching and indexes.
A new ReceiptsManager
handles receipt and log saving and lookup, along with the txHash -> [blockHash, txIndex]
index that is limited by --txLookupLimit
(default = 2350000 blocks = about one year, 0 = entire chain).
Enable with --saveReceipts
and use with --rpc to enable eth_getLogs
, eth_getTransactionReceipt
and eth_getTransactionByHash
endpoints.
The client now supports the new Sepolia testnet, which is a PoW network intended to replace the ropsten
network, see PR #1581.
A client connecting to the Sepolia network can be started as follows:
ethereumjs --network=sepolia
The RPC calls call
, getBalance
, getCode
, getStorageAt
, getTransactionCount
, and estimateGas
up till now only supported being called with the latest
tag. This has been updated in PR #1598 and it is now possible to use past block numbers for the various calls.
- Fixed browser build and libp2p sync, PR #1588
- Fixed error logging stack trace output, PR #1595
- Fixed broken dependency in webpack where node's constants package isn't being polyfilled by webpack 5, PR #1621
- Fixed
mainnet
consensus bug from block4,993,075
(byzantium
) where a tx goes OOG but refunds get applied anyways (thanks @LogvinovLeon for reporting! ❤️), PR #1603
This client release comes with experimental Merge support as specified in EIP-3675
commit 504954e3 and the Engine API v1.0.0-alpha.2. This is the spec snapshot used for the Merge Interop event in Greece which happened in October 2021.
For the courageous there are instructions here on how to connect the EthereumJS client with a Lodestar Eth 2.0 client and produce blocks together. Note that specifications are changing quickly though and a new testnet is already planned, so this is not guaranteed to work.
Merge related work has been done in the following PRs (all pretty extensive):
- PR #1509 (first Engine API steps, JSON RPC block parameter alignments, HF-by-TD fixes)
- PR #1512 (continued Engine API,
--rpcEngine
CLI option, Taunas testnet, temporary eth_getLogs RPC mockup) - PR #1530 (dedicated Engine API port, Pithos testnet, Docker)
The 1,230,833 block consensus bug we had in the v0.1.0
release has been fixed in the VM dependency (see PR #1516 and PR #1524), so sync on mainnet
will now continue from this block onwards.
The "Mainnet sync" adventure now comes to a halt though around the Shanghai dDoS attacks mainnet blocks ranging from 2,286,910 to 2,717,576 where we realize that our VM is just not optimized enough to hold through these various edge case scenarios.
We'll take this occasion and do some sustainable performance work on the VM, where everyday developer use cases will likely also benefit. This will realistically take some months time though. See Issue #1536 and related issues if you are interested or want to join the effort.
- New
--helprpc
help for CLI to print all available RPC commands, PR #1505 - New
--rpcDebug
option to log complete RPC calls on log level debug (i.e. --loglevel=debug), PR #1519 - Websocket support for the RPC server, PR #1508
- Allow Geth genesis files with code and storage, PR #1530
- New
--extIP
CLI option to set an external RLPx IP, PR #1530 - Logfile and log rotation support (
--logFile
,--logLevelFile
,--logRotate
and--logMaxFiles
options), PR #1530 - New
--executeBlocks
CLI option to re-run blocks already synced (for debugging purposes), PR #1538 - Allow
baseFeePerGas
andterminalTotalDifficulty
for Geth genesis files, PR #1509 - Improved sync stability in certain cases, PR #1543
- New debug logger for the
Fetcher
for code debugging, can be run withDEBUG=client:fetcher npm run client:start
, PR #1544 - Sync stabilizing
Fetcher
improvements, PR #1545 - Use
RLP
library exposed byethereumjs-util
dependency (deduplication), PR #1549
Heydiho, glad you are here! 😀
After over a year of continued development the EthereumJS team is proud to announce that our client is finally stable, feature-complete (or - let's call it: feature-consistent) and useful in many regards that we have decided to do a first official release! 🌼
There has been such an extensive amount of work done that it would be neither useful nor enlightening to list all associated PRs.
So here are just a few milestones, where the ones before November 2020 happened in
the - now archived - standalone ethereumjs-client
monorepo before we moved the client
to our monorepo
ethereumjs-monorepo:
- Full transition to
TypeScript
, PR #144 and subsequent PRs - Integration with our monorepo CI config, e.g. PR #153
- Full alignment with the latest versions of the
EthereumJS
monorepo libraries (Block
,Tx
,VM
,...), e.g. PR #158 - Integration of the
@ethereumjs/vm
to execute on blocks, PR #1028 - EIP-1459: DNS peer recovery, PR #1070
- Following the VM integration: working down various HF bugs like this one from TangerineWhistle (hardening our VM along the way): PR #1101
- Tip-of-the-chain syncing behavior, PR #1132
- A basic transaction pool, PR #1176
- Upgraded
devp2p
ETH
protocol up to versionETH/66
, PR #1331 LES
protocol v3 and v5 support, PR #1324- Support for
devp2p
snappy compression (RLPx v5), PR #1399 - A simple miner for PoA/clique, PR #1444
- Finalized on
devp2p
message handling support (e.g. by addingNEW_BLOCK
rebroadcast capabilities) to serve as a good network citizen, PR #1458 - Added developer capabilities, e.g. by adding a
--dev
flag to auto-start and prefund a miner, PR #1492
And here we are. 🙂
We joined various ephemeral testnets along the way - like Yolov3
(still remember? 😃) and Calaveras
- and helped find consensus bugs before they reached mainnet
in preparation for the latest forks like london
in conjunction with the other clients.
Now we are ready for the next step and hand this out to you - the community! 🥳
We are eager to see what you will do with this client and how you will use this software, which for the first time in Ethereum's history brings the full Ethereum core protocol stack - complemented by the excellent Lodestar client ChainSafe is developing on the Eth2 side - into the hands of Node.js developers.
We have also updated our README on the client directly before the release which you should take as a concise reference on the currently implemented client capabilities, some usage instructions complemented by various examples, and developer notes.
So thanks to the whole EthereumJS team - including some former team members - for the relentless work on this, and some special thanks to Vinay Pulim, who wrote the initial version of this software and therefore provided the ground for all this subsequent work!
Again: Thank you! ❤️ Exciting times ahead.
0.0.6 - 2020-06-19
After a longer period of stalled development this release brings the EthereumJS
client back
to life respectively a usable state by doing necessary dependency updates and modernizing CI.
It also comes with an updated documentation and user-facing improvements like a more reliable
and better communicated sync mechanism.
Most notable for development is the upgrade of the ethereumjs-devp2p
dependency to v3.0.1
.
The devp2p library is now TypeScript
based and comes with an improved debugging experience
which will be helpful when working on further improving the sync reliability of the client and
hunting for networking bugs.
To ease jumping into the code base there is now a new structure diagram showing the relations between the main components as well as the initialization and message flow.
Dependencies, CI and Docs
- Added Node 12, removed Node 8 on CI runs, updated
level
andethereumjs-common
dependency, PR #111 - Upgraded CI provider to GitHub actions, PR #119
- Updated
ethereumjs-util
tov7.0.2
, PR #129 - Added up-to-date version of the
README
,Outdated
notice for the project summary, PR #114 - Added
JSON-RPC
documentation toREADME
, PR #124 - New high-level structure diagram, PR #134
Bug Fixes and Maintenance
- Fixed tx initialization bug, PR #113
- fix(rpc): Handle rpc request with empty params, PR #122
- Fixed light sync block init bug, PR #127
RPC
test method cleanup, PR #126- Removed old fields
consensus
andfinality
, PR #120
New Features
- Improved sync reliability, PR #133
- Added
eth_blockNumber
RPC method, PR #131 - Added
eth_getBlockTransactionCountByHash
RPC method, PR #125
0.0.5 - 2019-02-12
0.0.4 - 2018-12-30
- Add more RPC endpoints, PR #65, #69, #75, #81
- Add unit tests, PR #70
- Fix error with geth genesis file parser, PR #71
- Update
ethereumjs-common
to 0.6.1, PR #72 - Fix bug with sender status, PR #74
- Add documentation and strict mode to RPC modules, PR #76
- Shutdown gracefully on SIGINT, PR #79
- Add integration tests, PR #82
- Update
ethereumjs-devp2p
to 2.5.1, PR #84 - Refactor syncing to use streams, PR #85
0.0.3 - 2018-10-30
- Update libp2p defaults, PR #63
0.0.2 - 2018-10-26
- Update
ethereumjs-blockchain
to 3.3.1, PR #61
0.0.1 - 2018-10-26
- Initial development release