Entropy-Foundation / aptos-core

Aptos is a layer 1 blockchain built to support the widespread use of blockchain through better technology and user experience.
https://aptoslabs.com
Other
0 stars 2 forks source link

No Active Validators detected after initialization of PBO delegation pools #34

Closed supra-yoga closed 3 months ago

supra-yoga commented 3 months ago

After the initialization of PBO delegation pools, querying for the active set of validators returns an empty set. Debugging this with Dr. @sjoshisupra revealed that we need to invoke the stake::on_new_epoch() smart contract function at the end of the genesis workflow.

sjoshisupra commented 3 months ago

Fixed in PR (https://github.com/Entropy-Foundation/aptos-core/pull/39)