Tac Testnet (tacchain_2390-1) faced a chain halt last night at height 3192450
. Issue was related to cosmos-sdk variable DefaultPowerReduction
which was hardcoded for 6 decimal tokens. Our network is using 18 decimals, therefore at some point, especially when we started testing staking more extensively, our validators hit voting power limit that was based on the variable mentioned previously. After applying fix for that, the network faced another error which was caused by validators still having state based on old power reduction calculations. This required us to update the validators state, which is usually achieved using software upgrade proposals. In our case the chain was already halted and we didn't have a way to make one, threfore we forced the update in BeginBlocker.
What's Changed
Full Changelog: v0.0.4...v0.0.5