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])

Last updated