From b720b7a081e9bc4010f1456c17cb4239e51ecd35 Mon Sep 17 00:00:00 2001 From: Dev Ojha Date: Tue, 31 May 2022 13:57:37 +0200 Subject: [PATCH 1/2] Fix bug in airdrop script from claims module removal --- cmd/osmosisd/cmd/balances_from_state_export.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/osmosisd/cmd/balances_from_state_export.go b/cmd/osmosisd/cmd/balances_from_state_export.go index e9fbf225728..db5dd69f668 100644 --- a/cmd/osmosisd/cmd/balances_from_state_export.go +++ b/cmd/osmosisd/cmd/balances_from_state_export.go @@ -270,7 +270,7 @@ Example: } // convert balances to underlying coins and sum up balances to total balance - for _, account := range snapshotAccs { + for addr, account := range snapshotAccs { // All pool shares are in liquid balances OR bonded balances (locked), // therefore underlyingCoinsForSelectPools on liquidBalances + bondedBalances // will include everything that is in one of those two pools. @@ -283,6 +283,7 @@ Example: Add(sdk.NewCoin(appparams.BaseCoinUnit, account.Staked)). Add(sdk.NewCoin(appparams.BaseCoinUnit, account.UnbondingStake)). Add(account.Bonded...) + snapshotAccs[addr] = account } snapshot := DeriveSnapshot{ From 84acf1a1e40ea369526ef2b82c69dabad0eb8921 Mon Sep 17 00:00:00 2001 From: Dev Ojha Date: Tue, 31 May 2022 14:01:49 +0200 Subject: [PATCH 2/2] Fix bug in the airdrop claim script, introduced from #1301 --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a8be6354d6c..6869aa29d71 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -83,6 +83,7 @@ Cosmwasm bindings have been added, to make swapping and creating these new token ### Other Features +* [#1629](https://github.com/osmosis-labs/osmosis/pull/1629) Fix bug in the airdrop claim script * [#1570](https://github.com/osmosis-labs/osmosis/pull/1570) upgrade sdk with app version fix for state-sync * [#1554](https://github.com/osmosis-labs/osmosis/pull/1554) local dev environment * [#1541](https://github.com/osmosis-labs/osmosis/pull/1541) Add arm64 support to Docker