From d00e2e50d2002b90fa19076f689eef5a80d0ff81 Mon Sep 17 00:00:00 2001 From: VolodymyrBg Date: Wed, 18 Dec 2024 19:54:19 +0200 Subject: [PATCH 1/5] Update doc.go --- app/params/doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/params/doc.go b/app/params/doc.go index 49b5f6d1e7..c0b8c76f6c 100644 --- a/app/params/doc.go +++ b/app/params/doc.go @@ -13,7 +13,7 @@ file with the weights defined for each of the transaction operations: "op_weight_msg_delegate": 100, } -In the example above, the `MsgSend` has 60% chance to be simulated, while the +In the example above, the `MsgSend` has 60% chance of being simulated, while the `MsgDelegate` will always be simulated. */ package params From c23ee1e57de9f38097a20819cd31b17dac73b263 Mon Sep 17 00:00:00 2001 From: VolodymyrBg Date: Wed, 18 Dec 2024 19:59:07 +0200 Subject: [PATCH 2/5] Update export.go --- app/export.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/export.go b/app/export.go index 8209597c8c..2f5f042300 100644 --- a/app/export.go +++ b/app/export.go @@ -50,13 +50,13 @@ func (app *WasmApp) ExportAppStateAndValidators(forZeroHeight bool, jailAllowedA } // prepare for fresh start at zero height -// NOTE zero height genesis is a temporary feature which will be deprecated +// NOTE zero height genesis is a temporary feature that will be deprecated // // in favor of export at a block height func (app *WasmApp) prepForZeroHeightGenesis(ctx sdk.Context, jailAllowedAddrs []string) { applyAllowedAddrs := false - // check if there is a allowed address list + // check if there is an allowed address list if len(jailAllowedAddrs) > 0 { applyAllowedAddrs = true } From 5264fc9cb983f333d0a2f2158cabc563114d3d78 Mon Sep 17 00:00:00 2001 From: VolodymyrBg Date: Wed, 18 Dec 2024 19:59:54 +0200 Subject: [PATCH 3/5] Update genesis.go --- app/genesis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/genesis.go b/app/genesis.go index e4e849fc27..984ac2aea3 100644 --- a/app/genesis.go +++ b/app/genesis.go @@ -5,7 +5,7 @@ import ( ) // GenesisState of the blockchain is represented here as a map of raw json -// messages key'd by a identifier string. +// messages key'd by an identifier string. // The identifier is used to determine which module genesis information belongs // to so it may be appropriately routed during init chain. // Within this application default genesis information is retrieved from From cb38f919f523985ad00cedb24bed62fd49cf8d1a Mon Sep 17 00:00:00 2001 From: VolodymyrBg Date: Wed, 18 Dec 2024 20:05:04 +0200 Subject: [PATCH 4/5] Update setup_wasmd.sh --- docker/setup_wasmd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/setup_wasmd.sh b/docker/setup_wasmd.sh index 485e534c48..9bc2e0e5f6 100755 --- a/docker/setup_wasmd.sh +++ b/docker/setup_wasmd.sh @@ -26,7 +26,7 @@ for addr in "$@"; do done # submit a genesis validator tx -## Workraround for https://github.com/cosmos/cosmos-sdk/issues/8251 +## Workaround for https://github.com/cosmos/cosmos-sdk/issues/8251 (echo "$PASSWORD"; echo "$PASSWORD"; echo "$PASSWORD") | wasmd genesis gentx validator "250000000$STAKE" --chain-id="$CHAIN_ID" --amount="250000000$STAKE" ## should be: # (echo "$PASSWORD"; echo "$PASSWORD"; echo "$PASSWORD") | wasmd gentx validator "250000000$STAKE" --chain-id="$CHAIN_ID" From bf83e102dd624ed4672090920841eaafb88d1ff7 Mon Sep 17 00:00:00 2001 From: VolodymyrBg Date: Wed, 18 Dec 2024 20:12:35 +0200 Subject: [PATCH 5/5] Update setup_wasmd.sh --- scripts/contrib/local/setup_wasmd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/contrib/local/setup_wasmd.sh b/scripts/contrib/local/setup_wasmd.sh index 828533a7a1..f39b8efa38 100755 --- a/scripts/contrib/local/setup_wasmd.sh +++ b/scripts/contrib/local/setup_wasmd.sh @@ -25,7 +25,7 @@ for addr in "$@"; do wasmd genesis add-genesis-account "$addr" "1000000000$STAKE,1000000000$FEE" --keyring-backend=test done # submit a genesis validator tx -## Workraround for https://github.com/cosmos/cosmos-sdk/issues/8251 +## Workaround for https://github.com/cosmos/cosmos-sdk/issues/8251 ( echo "$PASSWORD" echo "$PASSWORD"