Skip to content

v0.1.0

Compare
Choose a tag to compare
@int-bot int-bot released this 26 May 13:26
· 1113 commits to develop since this release
ac3664d

Compatible versions:

Changelog:

  • Completed implementation and testing for forced batch processing (#2093)
  • Fixed bugs in decode txs functions that may fail with forced batches (#2091)
  • Timestamp resolution is now configurable via the toml config file (#2007, #2112). You can define the time in the following config parameter:

[Sequencer.Finalizer]
TimestampResolution = "10s"

  • Storing of closing reason and resources used when closing a batch (#2006)
  • Storing of failed reason for invalid transactions (#1992)
  • Sequence sender is now executed as a separated component (#2051). Config parameters in the toml config file for the sequence sender are moved from the Sequencer section to new SequenceSender section:

[SequenceSender]
WaitPeriodSendSequence = "5s"
LastBatchVirtualizationTimeMaxWaitPeriod = "5s"
MaxTxSizeForL1 = 131072
SenderAddress = "0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266"
PrivateKeys = [{Path = "/pk/sequencer.keystore", Password = "testonly"}]

  • New sequence-sender option, for the command line flag --components, that allows to execute the sequence-sender component when running the node (#2051)

  • Sync Info table is now being populated (#2055)

  • Fixed deployment tool/instructions (db permissions) (#2076)

  • Refactor getting forkIDs and verify genesis block number (#2076)

  • The following config parameters has been renamed in the toml config file (#2068):

[Sequencer.Finalizer]
GERDeadlineTimeoutInSec -> GERDeadlineTimeout
ForcedBatchDeadlineTimeoutInSec -> ForcedBatchDeadlineTimeout
SleepDurationInMs -> SleepDuration

[RPC]
ReadTimeoutInSec -> ReadTimeout
WriteTimeoutInSec -> WriteTimeout

  • The following config parameters has been removed from the toml config file (as are not used)(#2083, #2007, #2051):

[RPC]
ChainID
DefaultSenderAddress

[Sequencer]
WaitPeriodSendSequence
LastBatchVirtualizationTimeMaxWaitPeriod
MaxTxSizeForL1

[Sequencer.Finalizer]
SendingToL1DeadlineTimeoutInSec
SenderAddress
PrivateKeys

  • The default value for some config parameters (default.go and toml config files) has been changed (#2083, #2090):

[Pool]
MaxTxBytesSize=100132
MaxTxDataBytesSize=100000

[RPC]
MaxRequestsPerIPAndSecond = 500

[RPC.WebSockets]
Enabled = true
Host = "0.0.0.0"
Port = 8546

[Synchronizer]
SyncInterval = "1s"

  • The command line flag --genesis has been removed and replaced with --network (#1999). The values for this new flag can be testnet, mainnet or custom. If custom is used then you need to specify the genesis file in the flag --custom-network-file
  • Change the way the methods eth_estimateGas and eth_call return the response when the response contains an error related to the transaction, this will avoid generating error logs. (#2096)
  • Fixed how the custom tracer handles sub calls (DELEGATECALL). (#2115)