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 ofCARTESI_CONTRACTS_APPLICATION_DEPLOYMENT_BLOCK_NUMBER
. - BREAKING: replaced the environment variable
CARTESI_EPOCH_DURATION
withCARTESI_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
withRD_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.