Skip to content

Commit

Permalink
Fix add genesis accounts
Browse files Browse the repository at this point in the history
Signed-off-by: Dongri Jin <[email protected]>
  • Loading branch information
dongrie committed Mar 22, 2024
1 parent 560229e commit fc6d174
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 189 deletions.
4 changes: 2 additions & 2 deletions tests/chains/tendermint/scripts/tm-chain
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ $BINARY --home $CHAINDIR/$CHAINID keys add validator --keyring-backend="test" --
sleep 1
$BINARY --home $CHAINDIR/$CHAINID keys add user --keyring-backend="test" --output json > $CHAINDIR/$CHAINID/key_seed.json 2> /dev/null
sleep 1
$BINARY --home $CHAINDIR/$CHAINID add-genesis-account $($BINARY --home $CHAINDIR/$CHAINID keys --keyring-backend="test" show user -a) $coins &> /dev/null
$BINARY --home $CHAINDIR/$CHAINID genesis add-genesis-account $($BINARY --home $CHAINDIR/$CHAINID keys --keyring-backend="test" show user -a) $coins &> /dev/null
sleep 1
$BINARY --home $CHAINDIR/$CHAINID add-genesis-account $($BINARY --home $CHAINDIR/$CHAINID keys --keyring-backend="test" show validator -a) $coins &> /dev/null
$BINARY --home $CHAINDIR/$CHAINID genesis add-genesis-account $($BINARY --home $CHAINDIR/$CHAINID keys --keyring-backend="test" show validator -a) $coins &> /dev/null
sleep 1
$BINARY --home $CHAINDIR/$CHAINID genesis gentx validator $delegate --keyring-backend="test" --chain-id $CHAINID &> /dev/null
sleep 1
Expand Down
186 changes: 0 additions & 186 deletions tests/chains/tendermint/simapp/simd/cmd/genaccounts.go

This file was deleted.

1 change: 0 additions & 1 deletion tests/chains/tendermint/simapp/simd/cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,6 @@ func initRootCmd(rootCmd *cobra.Command, encodingConfig params.EncodingConfig, b

rootCmd.AddCommand(
genutilcli.InitCmd(basicManager, simapp.DefaultNodeHome),
AddGenesisAccountCmd(simapp.DefaultNodeHome),
debug.Cmd(),
confixcmd.ConfigCommand(),
pruning.Cmd(newApp, simapp.DefaultNodeHome),
Expand Down

0 comments on commit fc6d174

Please sign in to comment.