Skip to content

Commit

Permalink
updates
Browse files Browse the repository at this point in the history
  • Loading branch information
julienrbrt committed Jun 25, 2024
1 parent f98798f commit e8d3ca1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions scripts/simapp-v2-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ jq '.app_state.mint.minter.inflation = "0.300000000000000000"' genesis.json > te
# change the initial height to 2 to work around store/v2 and iavl limitations with a genesis block
jq '.initial_height = 2' genesis.json > temp.json && mv temp.json genesis.json

$SIMD config set client chain-id simapp-v2-chain
$SIMD keys add test_validator --indiscreet
VALIDATOR_ADDRESS=$($SIMD keys show test_validator -a --keyring-backend test)

Expand Down
2 changes: 0 additions & 2 deletions simapp/v2/simdv2/cmd/root_di.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package cmd

import (
"context"
"os"

"github.com/spf13/cobra"
Expand Down Expand Up @@ -83,7 +82,6 @@ func NewRootCmd() *cobra.Command {
return nil
},
}
rootCmd.SetContext(context.WithValue(context.Background(), client.ClientContextKey, &clientCtx))

initRootCmd(rootCmd, clientCtx.TxConfig, moduleManager)
if err := autoCliOpts.EnhanceRootCommand(rootCmd); err != nil {
Expand Down

0 comments on commit e8d3ca1

Please sign in to comment.