Skip to content

Commit

Permalink
fix: feepool balances (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
cosmic-vagabond authored Nov 5, 2024
1 parent aadbb97 commit 6f19988
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ require (
github.com/aws/aws-sdk-go-v2/service/s3 v1.53.1
github.com/cosmos/cosmos-sdk v0.47.11
github.com/cosmos/ibc-go/v7 v7.4.0
github.com/elys-network/elys v0.49.2
github.com/elys-network/elys v0.49.3
github.com/spf13/cobra v1.8.0
github.com/vbauerster/mpb/v8 v8.7.3
)
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1432,8 +1432,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.49.2 h1:WAaDg4OFlBf3kiLFQGbtEL8Lq3fTmlNUNDSpIwQE88Y=
github.com/elys-network/elys v0.49.2/go.mod h1:tRqOX2Tv3ex0XmQcrrR1Sqq8JWBsJ7sXZwYFrQAId40=
github.com/elys-network/elys v0.49.3 h1:if9mEdby8K2R5mGJFUdH6XH/l9K2UeLOt0Ghc45IToE=
github.com/elys-network/elys v0.49.3/go.mod h1:tRqOX2Tv3ex0XmQcrrR1Sqq8JWBsJ7sXZwYFrQAId40=
github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs=
github.com/emicklei/go-restful v2.9.5+incompatible/go.mod h1:otzb+WCGbkyDHkqmQmT5YD2WR4BBwUdeQoFo8l/7tVs=
github.com/emirpasic/gods v1.18.1/go.mod h1:8tpGGwCnJ5H4r6BWwaV6OrWmMoPhUl5jm/FMNAnJvWQ=
Expand Down
2 changes: 1 addition & 1 deletion utils/update-genesis.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ func UpdateGenesis(validatorBalance, homePath, genesisFilePath string) {
genesis.AppState.Distribution = genesisInit.AppState.Distribution

// temporary fix for distribution params
genesis.AppState.Distribution.FeePool.CommunityPool = sdk.NewDecCoins(sdk.NewDecCoin("ueden", sdk.NewInt(462213395436)), sdk.NewDecCoin("uedenb", sdk.NewInt(1540707087317)))
genesis.AppState.Distribution.FeePool.CommunityPool = sdk.NewDecCoins(sdk.NewDecCoin("ueden", sdk.NewInt(497204055696)), sdk.NewDecCoin("uedenb", sdk.NewInt(1657342689515)))

log.Printf("community pool: %v", genesis.AppState.Distribution.FeePool.CommunityPool)

Expand Down

0 comments on commit 6f19988

Please sign in to comment.