You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ValidateVoteExtensions expects the staking keeper, however, the staking keeper interface has changed between versions so it is no longer able to be supported out of the box (users have to wrap the staking keeper).
returnfmt.Errorf("insufficient cumulative voting power received to verify vote extensions; got: %s, expected: >=%s", percentSubmitted, VoteExtensionThreshold)
}
returnnil
}
New staking keeper interface:
Version
The version we are working with is v0.50.0-beta.0.
The text was updated successfully, but these errors were encountered:
We need to update that interface to TotalBondedTokens(context.Context) (math.Int, error) + add a test that uses staking keeper instead of the mock of that interface.
Summary of Bug
ValidateVoteExtensions
expects the staking keeper, however, the staking keeper interface has changed between versions so it is no longer able to be supported out of the box (users have to wrap the staking keeper).Source code in question:
cosmos-sdk/baseapp/abci_utils.go
Lines 28 to 140 in 16ab635
New staking keeper interface:
Version
The version we are working with is
v0.50.0-beta.0
.The text was updated successfully, but these errors were encountered: