From 9762a2e4c81bed9fc87602d522b48b25547a582e Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Tue, 15 Aug 2023 10:10:31 -0500 Subject: [PATCH 1/2] Increase gas bypass limit to 2m --- app/ante.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/ante.go b/app/ante.go index a5a60dd71..b3d3e0289 100644 --- a/app/ante.go +++ b/app/ante.go @@ -26,7 +26,8 @@ import ( globalfeekeeper "github.com/CosmosContracts/juno/v17/x/globalfee/keeper" ) -const maxBypassMinFeeMsgGasUsage = 1_000_000 +// Lower back to 1 mil after https://github.com/cosmos/relayer/issues/1255 +const maxBypassMinFeeMsgGasUsage = 2_000_000 // HandlerOptions extends the SDK's AnteHandler options by requiring the IBC // channel keeper and a BankKeeper with an added method for fee sharing. From bff881218d72c0d16b7e04aa822d6445ebf12ec2 Mon Sep 17 00:00:00 2001 From: Reece Williams Date: Tue, 15 Aug 2023 10:10:49 -0500 Subject: [PATCH 2/2] Add msgChannelOpen(Try|Confirm|Ack) --- app/app.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/app.go b/app/app.go index ee245ed8c..fc664bdcf 100644 --- a/app/app.go +++ b/app/app.go @@ -481,6 +481,9 @@ func GetDefaultBypassFeeMessages() []string { sdk.MsgTypeURL(&ibctransfertypes.MsgTransfer{}), sdk.MsgTypeURL(&ibcchanneltypes.MsgTimeout{}), sdk.MsgTypeURL(&ibcchanneltypes.MsgTimeoutOnClose{}), + sdk.MsgTypeURL(&ibcchanneltypes.MsgChannelOpenTry{}), + sdk.MsgTypeURL(&ibcchanneltypes.MsgChannelOpenConfirm{}), + sdk.MsgTypeURL(&ibcchanneltypes.MsgChannelOpenAck{}), } }