Skip to content

Commit

Permalink
Merge branch 'colin/313-ica-middleware' of github.com:cosmos/ibc-go i…
Browse files Browse the repository at this point in the history
…nto colin/313-ica-middleware
  • Loading branch information
colin-axner committed Nov 5, 2021
2 parents 46f30de + b2db520 commit e22684b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion modules/apps/27-interchain-accounts/ibc_module.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ func NewIBCModule(k keeper.Keeper, app porttypes.IBCModule) IBCModule {

// OnChanOpenInit implements the IBCModule interface. Interchain Accounts is
// implemented to act as middleware for connected authentication modules on
// the controller side. The connected modules may not change the portID or
// the controller side. The connected modules may not change the controller side portID or
// version. They will be allowed to perform custom logic without changing
// the parameters stored within a channel struct.
//
Expand Down
2 changes: 1 addition & 1 deletion modules/apps/27-interchain-accounts/keeper/relay.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
channeltypes "github.com/cosmos/ibc-go/v2/modules/core/04-channel/types"
)

// TrySendTx takes in a transaction from a authentication module and attempts to send the packet
// TrySendTx takes in a transaction from an authentication module and attempts to send the packet
// if the base application has the capability to send on the provided portID
func (k Keeper) TrySendTx(ctx sdk.Context, chanCap *capabilitytypes.Capability, portID string, icaPacketData types.InterchainAccountPacketData) (uint64, error) {
// Check for the active channel
Expand Down
4 changes: 2 additions & 2 deletions testing/simapp/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ func NewSimApp(
scopedICAKeeper := app.CapabilityKeeper.ScopeToModule(icatypes.ModuleName)

// NOTE: the IBC mock keeper and application module is used only for testing core IBC. Do
// note replicate if you do not need to test core IBC or light clients.
// not replicate if you do not need to test core IBC or light clients.
scopedIBCMockKeeper := app.CapabilityKeeper.ScopeToModule(ibcmock.ModuleName)
scopedICAMockKeeper := app.CapabilityKeeper.ScopeToModule(ibcmock.ModuleName + icatypes.ModuleName)

Expand Down Expand Up @@ -340,7 +340,7 @@ func NewSimApp(
transferIBCModule := transfer.NewIBCModule(app.TransferKeeper)

// NOTE: the IBC mock keeper and application module is used only for testing core IBC. Do
// note replicate if you do not need to test core IBC or light clients.
// not replicate if you do not need to test core IBC or light clients.
mockModule := ibcmock.NewAppModule(scopedIBCMockKeeper, &app.IBCKeeper.PortKeeper)
mockIBCModule := ibcmock.NewIBCModule(&ibcmock.MockIBCApp{}, scopedIBCMockKeeper)

Expand Down

0 comments on commit e22684b

Please sign in to comment.