Skip to content

v1.5.0

Compare
Choose a tag to compare
@github-actions github-actions released this 26 Jul 13:09
· 28 commits to main since this release
v1.5.0

Important

Rollups Node v1.5.0 comes with a breaking change: epochs are now closed based on block numbers instead of block timestamps.

In order to upgrade to this release, make sure to follow the Upgrade guide for Cartesi Rollups Node v1.5.0.

Added

  • Added Rollups end-to-end test using Echo Dapp
  • Added upgrade guide for v1.5.0

Changed

  • Changed the dispatcher to close epochs based on block numbers instead of block timestamps.
  • BREAKING: changed the dispatcher to use the CARTESI_CONTRACTS_INPUT_BOX_DEPLOYMENT_BLOCK_NUMBER environment variable instead of CARTESI_CONTRACTS_APPLICATION_DEPLOYMENT_BLOCK_NUMBER.
  • BREAKING: replaced the environment variable CARTESI_EPOCH_DURATION with CARTESI_EPOCH_LENGTH to match the new epoch algorithm, and set its default value to 7200 (1 day worth of blocks, considering one block is mined every 12 seconds).
  • BREAKING: replaced the internal environment variable RD_EPOCH_DURATION with RD_EPOCH_LENGTH to match the new epoch algorithm, and also set its default value to 7200.
  • Bumped Rust Version to 1.78.0

Removed

  • Removed CARTESI_CONTRACTS_APPLICATION_DEPLOYMENT_BLOCK_NUMBER environment variable.