ergoplatform / oracle-core

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

update-pool failed with UnknownUpdateNftId (oracle count change) #204

Closed greenhat closed 1 year ago

greenhat commented 1 year ago

Discovered in #182

2022-12-08T09:18:06.142892779+02:00 ERROR oracle_core - Fatal update-pool error: Update pool: yaml error Oracle config error: Ballot contract error: contract error: UnknownUpdateNftId, expected P2S: 10070580dac409040204020400040204000e20ef387e6f7d44f2de7dc119cb00833a180257361aaba761fa362359603551ed48d803d601b2a5e4e3000400d602c672010407d603e4c6a70407ea02d1ededede6720293c27201c2a793db63087201db6308a792c172017300eb02cd7203d1ededededed91b1a4730191b1db6308b2a47302007303938cb2db6308b2a473040073050001730693e47202720392c17201c1a7efe6c672010561

greenhat commented 1 year ago

The reason is prepare-update does not update ballot contract bytes in the oracle_config_updated.yaml