From b45490ff929da2626db820acd1e065f90d6e4d9d Mon Sep 17 00:00:00 2001 From: Abhinav Kumar <57705190+avkr003@users.noreply.github.com> Date: Wed, 20 Nov 2024 19:59:16 +0530 Subject: [PATCH] fix: fee pool balance and elys version (#71) --- go.mod | 6 +++--- go.sum | 4 ++-- utils/update-genesis.go | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/go.mod b/go.mod index c9f792c..c7b81b9 100644 --- a/go.mod +++ b/go.mod @@ -5,15 +5,17 @@ go 1.22.6 require ( cosmossdk.io/math v1.3.0 cosmossdk.io/x/evidence v0.1.1 + cosmossdk.io/x/feegrant v0.1.1 github.com/aws/aws-sdk-go v1.44.224 github.com/aws/aws-sdk-go-v2 v1.26.1 github.com/aws/aws-sdk-go-v2/config v1.27.11 github.com/aws/aws-sdk-go-v2/credentials v1.17.11 github.com/aws/aws-sdk-go-v2/service/s3 v1.53.1 + github.com/cometbft/cometbft v0.38.12 github.com/cosmos/cosmos-sdk v0.50.9 github.com/cosmos/ibc-go/modules/capability v1.0.1 github.com/cosmos/ibc-go/v8 v8.5.1 - github.com/elys-network/elys v0.50.1-0.20241115234042-5637f423a39c + github.com/elys-network/elys v0.51.0 github.com/spf13/cobra v1.8.1 github.com/vbauerster/mpb/v8 v8.8.3 ) @@ -35,7 +37,6 @@ require ( cosmossdk.io/simapp v0.0.0-20240118210941-3897926e722e // indirect cosmossdk.io/store v1.1.1 // indirect cosmossdk.io/tools/confix v0.1.2 // indirect - cosmossdk.io/x/feegrant v0.1.1 // indirect cosmossdk.io/x/tx v0.13.5 // indirect cosmossdk.io/x/upgrade v0.1.4 // indirect github.com/DataDog/datadog-go v3.2.0+incompatible // indirect @@ -67,7 +68,6 @@ require ( github.com/cockroachdb/pebble v1.1.1 // indirect github.com/cockroachdb/redact v1.1.5 // indirect github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect - github.com/cometbft/cometbft v0.38.12 // indirect github.com/cometbft/cometbft-db v0.12.0 // indirect github.com/cosmos/cosmos-db v1.0.2 // indirect github.com/cosmos/gogogateway v1.2.0 // indirect diff --git a/go.sum b/go.sum index b7e0ac8..68caa98 100644 --- a/go.sum +++ b/go.sum @@ -1413,8 +1413,8 @@ github.com/elazarl/goproxy v0.0.0-20170405201442-c4fc26588b6e/go.mod h1:/Zj4wYkg github.com/elazarl/goproxy v0.0.0-20180725130230-947c36da3153/go.mod h1:/Zj4wYkgs4iZTTu3o/KG3Itv/qCCa8VVMlb3i9OVuzc= github.com/elys-network/bandchain-packet v0.0.3-sdk47 h1:W4sP/JOXAoABhsV+ck1NTphLuqpuxGg+uul1nDLbgxk= github.com/elys-network/bandchain-packet v0.0.3-sdk47/go.mod h1:/CtU24lu2E4RbPRcZFJfEagwW6TUdFcxv7pX0cYYSgk= -github.com/elys-network/elys v0.50.1-0.20241115234042-5637f423a39c h1:Hz58agtWBrblbYHEP2yOvKOVnGQEdPNpEslOsoVog3U= -github.com/elys-network/elys v0.50.1-0.20241115234042-5637f423a39c/go.mod h1:A9SwY7fACq51x5shzSDoUyno++4PmThyxiMRFj3dqUM= +github.com/elys-network/elys v0.51.0 h1:k6QVhHJr7RABEjb3TtYNxtqwjh7LrEGBClYY+AfPIkY= +github.com/elys-network/elys v0.51.0/go.mod h1:A9SwY7fACq51x5shzSDoUyno++4PmThyxiMRFj3dqUM= github.com/emicklei/dot v1.6.2 h1:08GN+DD79cy/tzN6uLCT84+2Wk9u+wvqP+Hkx/dIR8A= github.com/emicklei/dot v1.6.2/go.mod h1:DeV7GvQtIw4h2u73RKBkkFdvVAz0D9fzeJrgPW6gy/s= github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs= diff --git a/utils/update-genesis.go b/utils/update-genesis.go index 46a856c..1d2924f 100644 --- a/utils/update-genesis.go +++ b/utils/update-genesis.go @@ -95,8 +95,8 @@ func UpdateGenesis(validatorBalance, homePath, genesisFilePath string) { // temporary fix for distribution params genesis.AppState.Distribution.FeePool.CommunityPool = sdk.NewDecCoins( - sdk.NewDecCoin("ueden", math.NewInt(595021147500)), - sdk.NewDecCoin("uedenb", math.NewInt(1983399876344)), + sdk.NewDecCoin("ueden", math.NewInt(620994445742)), + sdk.NewDecCoin("uedenb", math.NewInt(2069977623071)), ) log.Printf("community pool: %v", genesis.AppState.Distribution.FeePool.CommunityPool)