Skip to main content
Version: 1.0.1

6. Epoch transition

After epochLength, an epoch transition can be executed by any user.

const tx = await contract.beginEpochTransition()

With test environment, the block number can be increased with

await provider.send('evm_increaseTime', [epochLength])