Skip to content

Commit

Permalink
ready
Browse files Browse the repository at this point in the history
  • Loading branch information
danwt committed Jun 11, 2024
1 parent 093fd16 commit 69ecdda
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -526,9 +526,11 @@ func NewRollapp(
erc20keeper.NewERC20ContractRegistrationHook(app.Erc20Keeper),
)

genesisTransfersMemoBlocker := hubgenkeeper.NewICS4Wrapper(app.ClaimsKeeper) // ICS4 Wrapper: claims IBC middleware

app.TransferKeeper = transferkeeper.NewKeeper(
appCodec, keys[ibctransfertypes.StoreKey], app.GetSubspace(ibctransfertypes.ModuleName),
app.ClaimsKeeper, // ICS4 Wrapper: claims IBC middleware
genesisTransfersMemoBlocker,
app.IBCKeeper.ChannelKeeper, &app.IBCKeeper.PortKeeper,
app.AccountKeeper, app.BankKeeper, scopedTransferKeeper,
app.Erc20Keeper, // Add ERC20 Keeper for ERC20 transfers
Expand Down

0 comments on commit 69ecdda

Please sign in to comment.