Releases: 0xPolygonHermez/zkevm-node
Releases · 0xPolygonHermez/zkevm-node
v0.5.6
Compatible versions:
Changelog
Version v0.5.6 is a patch-release fixing some issues found in v0.5.5
Sequencer
- Fix intermediate state root in data streamer (#3224)
Sequence sender
- Add retries in isSynced function when last virtual batch is greater than last SC sequenced batch to confirm this scenario. If after the retries the last virtual batch continues been greater than the last SC sequenced batch the Sequence sender will halt (#3225)
v0.5.5
Compatible versions:
Changelog
Version v0.5.5 is a patch-release fixing some issues found in v0.5.4
RPC
- Fix GetL2TxHashByTxHash function for transactions prior to Etrog fork (#3209)
Synchronizer
- Discard L1InfoTree cache when a L1 reorg happens. Build L1InfoTree cache only when needed (#3201)
- Fix panic error when a batch must be closed and the process batch request fails (#3206)
Other
v0.5.4
Compatible versions:
Changelog
Version v0.5.4 is a patch-release fixing some issues found in v0.5.3
RPC
- Fix L2 block gas limit using the value returned by the executor (#3190)
- Fix eth_syncing endpoint as it was not returning the expected values (#3165)
- Get forkid information from state DB each time is needed instead to use the forkid information stored in memory when starting (#3196, #3197)
Synchronizer
- Fix getting URL from contract in compatibility mode (#3191)
- Set syncing mode (
L1SynchronizationMode
config parameter) assequential
by default (#3191) - Fix syncing trusted state for batches previous to Etrog fork (#3175)
- Fix some warnings when syncing a closed trusted batch (#3169)
Sequencer
- Fix intermediate state root in data streamer for L2 blocks sent from the sequencer (#3192)
Sequence sender
- Fix synced process to check first if the last virtual batch number was equal to the last sequenced batch number in the L1 smart contract (#3188)
v0.5.3
Compatible versions:
Changelog
Version v0.5.3 is a patch-release fixing some issues found in v0.5.2
Sequence sender
- Add sanity check: timestamp of the last L2 block in the sequence is also
L1BlockTimestampMargin
seconds behind the current time "now" (#3181)
Other
- Update Geth version to v1.13.11 (#3180)
v0.5.2
v0.5.1
v0.5.0
Compatible versions:
Etrog changelog
Precompiled
- add support for the following precompiled smart contracts
- sha256
- modexp
- ecadd
- ecmul
- ecpairing
L1InfoTree
- merkle tree that contains historical data
- saved in the smart contracts
- each leaf contains the following parameters:
ger
: global exit rootblockHashL1
: blockHash of the L1 networkminTimestamp
: minimum timestamp
changeL2Block transaction
- add a marker in the batch data which allows to change L2Block inside a batch
- format:
fields: [type | deltaTimestamp | indexL1InfoTree ]
bytes: [ 1 | 4 | 4 ]
- where
type
: transaction type to allow differentiate between preEIP155 and legacy transactionsdeltaTimestamp
: time to add to previous block in order to compute the current block timestampindexL1InfoTree
: leaf index in the l1InfoTree. The index will determine the paraneters to insert into L2
BlockInfoTree
- SMT to include all the block data while the L2 Block is being processed
- Allow to verify data returned by the RPC
- Data included in the
BlockInfoTree
:- header
- previousBlockHash
- coinbaseL2
- blockNumber
- gasLimit
- timestamp
- ger
- blockHashL1
- gasUSed
- each transaction processed
- l2TxHash
- status
- cumulativeGasUsed
- logsData
- header
v0.4.7
v0.4.6
v0.4.5
Compatible versions:
Changelog
Version v0.4.5 is a patch-release fixing some issues found in v0.4.4 and adding some minor enhancements
RPC
- Added zkevm_EstimateFee custom endpoint (#3000). This new endpoint returns the estimate fee for a tx, this endpoint will take into account the effective gas price (if enabled) in the calculation of the fee
- Fix web sockets logs to set some of them to debug level (#2910)
Sequencer
- Fix to get batches in order when generating datastream file (#2983)
- Fix size of the tx used to calculated the effective gas price (#2931)
Other
- Add "cardona" network option (Sepolia testnet) to the "--network" command line flag (#2909)