-
Notifications
You must be signed in to change notification settings - Fork 625
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
imp(apps): added 'WithICS4Wrapper' function to keepers (backport #4187)…
… (#4210) * imp(apps): added 'WithICS4Wrapper' function to keepers (#4187) * imp(ica, transfer): added WithICS4Wrapper api function * docs(ica, transfer): updated 'WithICS4Wrapper's godocs * docs(adr8): updated godocs for withics4wrapper * imp(ica/host): removed withics4wrapper from icahost * style(ica, tranfer): ran golanci-lint * imp(ica/controller_test): added WithICS4Wrapper test * imp(transfer_test): added WithICS4Wrapper test * style(transfer_test, ica/controller_test): added spacing to TestWithICS4Wrapper * feat(ica/host): implemented 'WithICS4Wrapper' * feat(fee): implemented 'WithICS4Wrapper' (cherry picked from commit 561eb36) # Conflicts: # modules/apps/27-interchain-accounts/controller/keeper/keeper_test.go # modules/apps/27-interchain-accounts/host/keeper/keeper_test.go # modules/apps/transfer/keeper/keeper.go # modules/apps/transfer/keeper/keeper_test.go * fix: fixed backport conflicts --------- Co-authored-by: srdtrk <[email protected]> Co-authored-by: srdtrk <[email protected]>
- Loading branch information
1 parent
fd6e6a7
commit 001236b
Showing
12 changed files
with
163 additions
and
1 deletion.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
modules/apps/27-interchain-accounts/controller/keeper/export_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package keeper | ||
|
||
/* | ||
This file is to allow for unexported functions and fields to be accessible to the testing package. | ||
*/ | ||
|
||
import porttypes "github.com/cosmos/ibc-go/v7/modules/core/05-port/types" | ||
|
||
// GetICS4Wrapper is a getter for the keeper's ICS4Wrapper. | ||
func (k *Keeper) GetICS4Wrapper() porttypes.ICS4Wrapper { | ||
return k.ics4Wrapper | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 7 additions & 1 deletion
8
modules/apps/27-interchain-accounts/host/keeper/export_test.go
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package keeper | ||
|
||
/* | ||
This file is to allow for unexported functions and fields to be accessible to the testing package. | ||
*/ | ||
|
||
import porttypes "github.com/cosmos/ibc-go/v7/modules/core/05-port/types" | ||
|
||
// GetICS4Wrapper is a getter for the keeper's ICS4Wrapper. | ||
func (k *Keeper) GetICS4Wrapper() porttypes.ICS4Wrapper { | ||
return k.ics4Wrapper | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package keeper | ||
|
||
/* | ||
This file is to allow for unexported functions and fields to be accessible to the testing package. | ||
*/ | ||
|
||
import porttypes "github.com/cosmos/ibc-go/v7/modules/core/05-port/types" | ||
|
||
// GetICS4Wrapper is a getter for the keeper's ICS4Wrapper. | ||
func (k *Keeper) GetICS4Wrapper() porttypes.ICS4Wrapper { | ||
return k.ics4Wrapper | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters