build(deps): Bump cosmossdk.io/math from 1.0.0-rc.0 to 1.0.0 (#15532)
Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
co-authored by
github-actions
Julien Robert
parent
ba9d4df6d0
commit
ae8bd416a3
@@ -685,13 +685,13 @@ func TestDecimalMutation(t *testing.T) {
|
||||
|
||||
// these assertions show behavior prior to the merge of https://github.com/cosmos/cosmos-sdk/pull/15506
|
||||
// and should be updated to reflect the new behavior once a release of math is made and updated in ./tests/go.mod
|
||||
require.NotEqual(t, `{"rate":"0","max_rate":"0","max_change_rate":"0"}`, string(rateBz))
|
||||
require.Equal(t,
|
||||
`{"rate":"0.000000000000000000","max_rate":"0.000000000000000000","max_change_rate":"0.000000000000000000"}`,
|
||||
string(rateBz))
|
||||
// require.NotEqual(t, `{"rate":"0","max_rate":"0","max_change_rate":"0"}`, string(rateBz))
|
||||
// require.Equal(t,
|
||||
// `{"rate":"0.000000000000000000","max_rate":"0.000000000000000000","max_change_rate":"0.000000000000000000"}`,
|
||||
// string(rateBz))
|
||||
|
||||
// new behavior
|
||||
//require.Equal(t, `{"rate":"0","max_rate":"0","max_change_rate":"0"}`, string(rateBz))
|
||||
require.Equal(t, `{"rate":"0","max_rate":"0","max_change_rate":"0"}`, string(rateBz))
|
||||
}
|
||||
|
||||
func postFixPulsarMessage(msg proto.Message) {
|
||||
|
||||
Reference in New Issue
Block a user