Skip to content

Releases: 0xPolygonHermez/zkevm-node

v0.5.6

07 Feb 08:31
bab6187
Compare
Choose a tag to compare

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

06 Feb 14:11
e616ee5
Compare
Choose a tag to compare

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

  • Fix L2 block gas limit to 2**50 (1125899906842624) (#3219) (#3220)

v0.5.4

03 Feb 16:40
95465ca
Compare
Choose a tag to compare

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) as sequential 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

31 Jan 17:35
291ac85
Compare
Choose a tag to compare

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

31 Jan 14:18
6b49ba8
Compare
Choose a tag to compare

Compatible versions:

Changelog

Version v0.5.2 is a patch-release fixing some issues found in v0.5.1

Synchronizer

  • Fix handling ROM errors (#3177)

v0.5.1

30 Jan 19:57
efbd360
Compare
Choose a tag to compare

Compatible versions:

Changelog

Version v0.5.1 is a patch-release fixing some issues found in v0.5.0

Sequencer

  • Fix parentHash when storing a new L2 block (#3171)

v0.5.0

27 Jan 22:23
Compare
Choose a tag to compare

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 root
    • blockHashL1: blockHash of the L1 network
    • minTimestamp: 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 transactions
    • deltaTimestamp: time to add to previous block in order to compute the current block timestamp
    • indexL1InfoTree: 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

v0.4.7

27 Jan 12:30
811e945
Compare
Choose a tag to compare

Compatible versions:

Changelog

Version v0.4.7 is a patch-release fixing some issues found in v0.4.6

RPC

  • Fix default value for fromBlock when calling eth_getLogs (#3124)

Sequencer

  • Fix current and previous GlobalExitRoot values when starting (#3068)
  • Optimize transaction pool purge process (#3058)
  • Fix StopSequencerOnBatchNum implementation (#3036)

v0.4.6

05 Jan 18:52
Compare
Choose a tag to compare

Compatible versions:

Changelog

Version v0.4.6 is a patch-release fixing some issues found in v0.4.5

Sequencer

  • Fix effective gas price calculation (#3030)
  • Fix repeated blocks in data streamer (#3034)

v0.4.5

29 Dec 16:11
59b9e31
Compare
Choose a tag to compare

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)