Skip to main content
Version: 1.0.1

9. Epoch transition

npx ts-node cli/index.ts epochTransition \
-x $UNIREP_CONTRACT_ADDRESS \
-d $ATTESTER_PRIVATE_KEY \
-t
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

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

End of epoch: 1