ergoplatform / oracle-core

Core off-chain component of Oracle Pools
Apache License 2.0
62 stars 37 forks source link

Missing my ballot token on the XAU/ERG pool on testnet #291

Closed greenhat closed 1 year ago

greenhat commented 1 year ago

While trying to run #241 my voting fails due to a missing ballot token. The ballot token id is 7906d9817766970f5318881b53bfa163a527961c38282db9053eb4e1f24d3ec0

greenhat commented 1 year ago

The ballot token is in the ballot box that is protected with the ballot contract that has the old update NFT. The ballot box was rejected on load due to the ballot contract being different from the one in pool_config.yaml. After removing this check, the ballot box loads but cannot be used in voting due to a clause in the ballot contract that the output ballot box should have the same contract.

This renders all ballot tokens in ballot boxes effectively useless. Since min_votes is 5 and there are only 4 ballot tokens in the node's wallets, there is no way to vote for any changes in the pool.

We have this situation because we did not mint new ballot tokens during the update (in March).