From 873110f76e6b89013d3cf302e99a61ced92cbca4 Mon Sep 17 00:00:00 2001 From: yutianwu Date: Thu, 9 Mar 2023 13:18:58 +0800 Subject: [PATCH] fix: fix the crosschain keeper in params module --- x/params/keeper/sync_params.go | 1 + x/params/types/expected_keepers.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/x/params/keeper/sync_params.go b/x/params/keeper/sync_params.go index bf42727dda..fca67f23cf 100644 --- a/x/params/keeper/sync_params.go +++ b/x/params/keeper/sync_params.go @@ -62,6 +62,7 @@ func (k Keeper) SyncParams(ctx sdk.Context, p *types.ParameterChangeProposal) er encodedPackage, big.NewInt(0), big.NewInt(0), + big.NewInt(0), ) return err } diff --git a/x/params/types/expected_keepers.go b/x/params/types/expected_keepers.go index 56b71d4f0c..a87f29707e 100644 --- a/x/params/types/expected_keepers.go +++ b/x/params/types/expected_keepers.go @@ -8,7 +8,7 @@ import ( type CrossChainKeeper interface { CreateRawIBCPackageWithFee(ctx sdk.Context, channelID sdk.ChannelID, packageType sdk.CrossChainPackageType, - packageLoad []byte, relayerFee *big.Int, ackRelayerFee *big.Int, + packageLoad []byte, relayerFee *big.Int, ackRelayerFee *big.Int, callbackGasPrice *big.Int, ) (uint64, error) RegisterChannel(name string, id sdk.ChannelID, app sdk.CrossChainApplication) error