diff --git a/app/app.go b/app/app.go index d83e75f..da0bcb3 100644 --- a/app/app.go +++ b/app/app.go @@ -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], diff --git a/scripts/ibc/rollapp.json b/scripts/ibc/rollapp.json index 357b0f5..9544e45 100644 --- a/scripts/ibc/rollapp.json +++ b/scripts/ibc/rollapp.json @@ -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" } } diff --git a/scripts/settlement/register_rollapp_to_hub.sh b/scripts/settlement/register_rollapp_to_hub.sh index 411a607..5d0ac7f 100644 --- a/scripts/settlement/register_rollapp_to_hub.sh +++ b/scripts/settlement/register_rollapp_to_hub.sh @@ -93,8 +93,8 @@ if [ "$NATIVE_DENOM_PATH" = "" ]; then if [ "$answer" != "${answer#[Yy]}" ]; then cat < "$NATIVE_DENOM_PATH" { - "display": "DEN", - "base": "aden", + "display": "$DENOM", + "base": "$BASE_DENOM", "exponent": 18 } EOF @@ -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 \