From f3eff4e3ac50b9aaaa4de3927bf7589486e990e3 Mon Sep 17 00:00:00 2001 From: mmsqe Date: Tue, 17 Dec 2024 09:57:01 +0800 Subject: [PATCH] decimal https://github.com/cosmos/cosmos-sdk/compare/x/tx/v0.13.5...x/tx/v0.13.7 --- integration_tests/test_staking.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/integration_tests/test_staking.py b/integration_tests/test_staking.py index 463dd7a6a..35d526d3f 100644 --- a/integration_tests/test_staking.py +++ b/integration_tests/test_staking.py @@ -153,9 +153,9 @@ def test_join_validator(cluster): assert val["tokens"] == str(10**8) assert val["description"]["moniker"] == "new joined" assert val["commission"]["commission_rates"] == { - "rate": "100000000000000000", - "max_rate": "200000000000000000", - "max_change_rate": "10000000000000000", + "rate": "0.100000000000000000", + "max_rate": "0.200000000000000000", + "max_change_rate": "0.010000000000000000", } assert ( cluster.edit_validator(i, commission_rate="0.2")["code"] == 12