Skip to content
This repository has been archived by the owner on Jan 23, 2023. It is now read-only.

Latest commit

 

History

History
17 lines (12 loc) · 432 Bytes

6.-epoch-transition.md

File metadata and controls

17 lines (12 loc) · 432 Bytes

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

{% hint style="info" %} See: evm_increaseTime {% endhint %}