-
Notifications
You must be signed in to change notification settings - Fork 240
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Problem: sim tests fails Solution: - add icahost wiring, but disable in parameters fix build Update CHANGELOG.md Signed-off-by: yihuang <[email protected]> Update app/app.go Co-authored-by: mmsqe <[email protected]> Signed-off-by: yihuang <[email protected]> Update app/app.go Co-authored-by: mmsqe <[email protected]> Signed-off-by: yihuang <[email protected]> fix chain-id fix upgrade add missing file Update app/icahost.go Signed-off-by: yihuang <[email protected]> * fix comment * fix lint --------- Signed-off-by: yihuang <[email protected]>
- Loading branch information
Showing
5 changed files
with
70 additions
and
5 deletions.
There are no files selected for viewing
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,18 @@ | ||
package app | ||
|
||
import ( | ||
sdk "github.com/cosmos/cosmos-sdk/types" | ||
paramtypes "github.com/cosmos/cosmos-sdk/x/params/types" | ||
icahosttypes "github.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/host/types" | ||
icatypes "github.com/cosmos/ibc-go/v8/modules/apps/27-interchain-accounts/types" | ||
) | ||
|
||
// ICAHostMockSubspace is a mock implementation to workaround the migration process, because we have nothing to migrate from, | ||
// otherwise it'll panic, see: https://github.com/cosmos/ibc-go/pull/6167 | ||
type ICAHostMockSubspace struct{} | ||
|
||
var _ icatypes.ParamSubspace = ICAHostMockSubspace{} | ||
|
||
func (ICAHostMockSubspace) GetParamSet(ctx sdk.Context, ps paramtypes.ParamSet) { | ||
*(ps.(*icahosttypes.Params)) = icahosttypes.DefaultParams() | ||
} |
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