ExocoreNetwork / exocore

5 stars 9 forks source link

dogfood: no such key in the store during export #81

Closed MaxMustermann2 closed 1 month ago

MaxMustermann2 commented 1 month ago

Even after #53, running the export CLI gives out the error no such key in the store.

MaxMustermann2 commented 1 month ago

The error is not reproduced in testnet v3, only testnet v2, with the binary from latest develop.

I added more logging, and the ctx.ChainID() is correctly set to exocoretestnet_233-2, and so is the consAddress to one of the currently used consensus addresses (derived from the consensus key).

Error: error exporting state: cons address: exovalcons1yqcmfnvw9qwm85dwxkcnxjd77dlptf464nnjvv chain id exocoretestnet_233-2: there is no such key in the store [ExocoreNetworkexocore/x/dogfood/keeper/impl_sdk.go:250]

Closing as this error appears to originate from one of the breaking changes introduced in #46.