Skip to content

Commit

Permalink
fix: passing in wasmkeeper to ibc wasm hooks (#599)
Browse files Browse the repository at this point in the history
  • Loading branch information
spoo-bar authored Feb 4, 2025
1 parent fe30fb6 commit 27d2400
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ Contains bug fixes.
Contains all the PRs that improved the code without changing the behaviors.
-->
## [Unreleased]

### Fixed
- [#599](https://github.com/archway-network/archway/pull/599) - Passing in wasmkeeper to ibc wasm hooks

## [v9.0.0](https://github.com/archway-network/archway/releases/tag/v9.0.0)

Expand Down
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -673,7 +673,7 @@ func NewArchwayApp(
)

app.Keepers.IBCHooksKeeper = ibchookskeeper.NewKeeper(keys[ibchookstypes.StoreKey])
ics20WasmHooks := ibchooks.NewWasmHooks(&app.Keepers.IBCHooksKeeper, nil, Bech32Prefix)
ics20WasmHooks := ibchooks.NewWasmHooks(&app.Keepers.IBCHooksKeeper, &app.Keepers.WASMKeeper, Bech32Prefix)
hooksIcs4Wrapper := ibchooks.NewICS4Middleware(app.Keepers.IBCKeeper.ChannelKeeper, ics20WasmHooks)

var transferStack porttypes.IBCModule
Expand Down
11 changes: 6 additions & 5 deletions app/upgrades/10_0_0/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package upgrade8_0_0

import (
"context"

upgradetypes "cosmossdk.io/x/upgrade/types"
"github.com/archway-network/archway/app/keepers"

Check failure on line 7 in app/upgrades/10_0_0/upgrades.go

View workflow job for this annotation

GitHub Actions / lint

File is not properly formatted (goimports)
"github.com/archway-network/archway/app/upgrades"
Expand All @@ -11,11 +12,11 @@ import (

const Name = "v10.0.0"
const NameAsciiArt = `
# ### ###
# # ## # # # #
# # # # # # #
# # # # # #
### # ### # ###
# ### ### ###
# # ## # # # # # #
# # # # # # # # #
# # # # # # # #
### ### # ### # ###
`

Expand Down

0 comments on commit 27d2400

Please sign in to comment.