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

Latest commit

 

History

History
24 lines (17 loc) · 551 Bytes

10.-epoch-transition.md

File metadata and controls

24 lines (17 loc) · 551 Bytes

10. Epoch transition

npx ts-node cli/index.ts epochTransition \
    -x $UNIREP_CONTRACT_ADDRESS  \
    -d $USER_PRIVATE_KEY  \
    -t 

{% hint style="info" %} NOTE:

-d private key could be anyone's private key

-t indicates it's testing environment so it will fast forward to the end of epoch

See: cli/epochTransition for more epochTransition options {% endhint %}

After epoch transition transaction is submitted successfully, the message will be printed:

End of epoch: 1