Skip to content

Commit

Permalink
fix ibc
Browse files Browse the repository at this point in the history
  • Loading branch information
Faulty Tolly committed Nov 27, 2024
1 parent c9783ef commit 8ed1efc
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
24 changes: 13 additions & 11 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -454,6 +454,17 @@ func NewRollapp(
),
)

app.SequencersKeeper = *seqkeeper.NewKeeper(
appCodec,
keys[seqtypes.StoreKey],
app.GetSubspace(seqtypes.ModuleName),
authtypes.NewModuleAddress(seqtypes.ModuleName).String(),
app.AccountKeeper,
app.RollappParamsKeeper,
app.UpgradeKeeper,
[]seqkeeper.AccountBumpFilterFunc{},
)

app.DistrKeeper = distrkeeper.NewKeeper(
appCodec,
keys[distrtypes.StoreKey],
Expand Down Expand Up @@ -484,17 +495,6 @@ func NewRollapp(
app.GetSubspace(rollappparamstypes.ModuleName),
)

app.SequencersKeeper = *seqkeeper.NewKeeper(
appCodec,
keys[seqtypes.StoreKey],
app.GetSubspace(seqtypes.ModuleName),
authtypes.NewModuleAddress(seqtypes.ModuleName).String(),
app.AccountKeeper,
app.RollappParamsKeeper,
app.UpgradeKeeper,
[]seqkeeper.AccountBumpFilterFunc{},
)

app.IBCKeeper = ibckeeper.NewKeeper(
appCodec, keys[ibchost.StoreKey], app.GetSubspace(ibchost.ModuleName), &app.SequencersKeeper, app.UpgradeKeeper, scopedIBCKeeper,
)
Expand Down Expand Up @@ -905,6 +905,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
2 changes: 1 addition & 1 deletion scripts/ibc/rollapp.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"account-prefix": "rol",
"keyring-backend": "test",
"gas-adjustment": 1.2,
"gas-prices": "0.0awsm",
"gas-prices": "1000000000awsm",
"debug": true,
"timeout": "10s",
"output-format": "json",
Expand Down

0 comments on commit 8ed1efc

Please sign in to comment.