Skip to content

Commit

Permalink
fix(antehandler): fixed missing keeper in ante handler initialization (
Browse files Browse the repository at this point in the history
  • Loading branch information
srene authored Nov 27, 2024
1 parent 8ca1a19 commit b9ad42b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 2 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,8 @@ func (app *App) setAnteHandler(txConfig client.TxConfig, wasmConfig wasmtypes.Wa
SignModeHandler: txConfig.SignModeHandler(),
SigGasConsumer: evmosante.SigVerificationGasConsumer,
},
DistrKeeper: app.DistrKeeper,
SequencersKeeper: app.SequencersKeeper,
IBCKeeper: app.IBCKeeper,
WasmConfig: &wasmConfig,
TxCounterStoreKey: app.keys[wasmtypes.StoreKey],
Expand Down
4 changes: 2 additions & 2 deletions scripts/ibc/rollapp.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
"account-prefix": "rol",
"keyring-backend": "test",
"gas-adjustment": 1.2,
"gas-prices": "0.0awsm",
"gas-prices": "1000000000awsm",
"debug": true,
"timeout": "10s",
"output-format": "json",
"sign-mode": "direct",
"client-type": "01-dymint"
"client-type": "07-tendermint"
}
}
12 changes: 5 additions & 7 deletions scripts/settlement/register_rollapp_to_hub.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ if [ "$NATIVE_DENOM_PATH" = "" ]; then
if [ "$answer" != "${answer#[Yy]}" ]; then
cat <<EOF > "$NATIVE_DENOM_PATH"
{
"display": "DEN",
"base": "aden",
"display": "$DENOM",
"base": "$BASE_DENOM",
"exponent": 18
}
EOF
Expand All @@ -107,18 +107,16 @@ EOF
fi

GENESIS_HASH=$($EXECUTABLE q genesis-checksum)
SEQUENCER_ADDR=$(dymd keys show "$SEQUENCER_KEY_NAME" --address --keyring-backend test --keyring-dir "$SEQUENCER_KEY_PATH")

echo "deployer" $DEPLOYER;
INITIAL_SUPPLY=$(jq -r '.app_state.bank.supply[0].amount' "${ROLLAPP_HOME_DIR}/config/genesis.json")

set -x
"$SETTLEMENT_EXECUTABLE" tx rollapp create-rollapp "$ROLLAPP_CHAIN_ID" "$ROLLAPP_ALIAS" WASM \
--bech32-prefix "$BECH32_PREFIX" \
--init-sequencer "$SEQUENCER_ADDR" \
--init-sequencer "*" \
--genesis-checksum "$GENESIS_HASH" \
--metadata "$METADATA_PATH" \
--native-denom "$NATIVE_DENOM_PATH" \
--initial-supply 1 \
--initial-supply $INITIAL_SUPPLY \
--from "$DEPLOYER" \
--keyring-backend test \
--gas auto --gas-adjustment 1.2 \
Expand Down

0 comments on commit b9ad42b

Please sign in to comment.