exocored export complained about no such key in the store when exporting the validator set from the dogfood module. This is because the ctx.ChainID() was unset. The fix is to find the chainID from either the CLI flag or the toml file and set it in ExocoreApp. To make app.ChainID() available as a function, the cosmos-sdk dependency is updated to v0.47.5-evmos.2
The x/oracle module was incorrectly calculating the vote power as tokens / tokens instead of tokens / power reduction factor.
To be merged and reviewed after #52
This patchset contains two fixes:
exocored export
complained aboutno such key in the store
when exporting the validator set from the dogfood module. This is because thectx.ChainID()
was unset. The fix is to find thechainID
from either the CLI flag or thetoml
file and set it inExocoreApp
. To makeapp.ChainID()
available as a function, thecosmos-sdk
dependency is updated tov0.47.5-evmos.2
x/oracle
module was incorrectly calculating the vote power astokens / tokens
instead oftokens / power reduction factor
.