10. Epoch transition

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

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

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

End of epoch: 1

Last updated