From 6818d9a3230ea37d5291f987c407cfe08f9f664d Mon Sep 17 00:00:00 2001 From: Thomas Nguy Date: Thu, 21 Sep 2023 10:16:13 +0900 Subject: [PATCH] adjust precompile required gas --- x/cronos/keeper/precompiles/bank.go | 2 +- x/cronos/keeper/precompiles/relayer.go | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/x/cronos/keeper/precompiles/bank.go b/x/cronos/keeper/precompiles/bank.go index a852fb21c6..fe0336bb54 100644 --- a/x/cronos/keeper/precompiles/bank.go +++ b/x/cronos/keeper/precompiles/bank.go @@ -18,7 +18,7 @@ import ( const ( EVMDenomPrefix = "evm/" - BankContractRequiredGas = 10000 + BankContractRequiredGas = 21000 ) var ( diff --git a/x/cronos/keeper/precompiles/relayer.go b/x/cronos/keeper/precompiles/relayer.go index b6b59c9826..371d25e5ec 100644 --- a/x/cronos/keeper/precompiles/relayer.go +++ b/x/cronos/keeper/precompiles/relayer.go @@ -11,8 +11,7 @@ import ( ibckeeper "github.com/cosmos/ibc-go/v7/modules/core/keeper" ) -// TODO adjust the gas cost -const RelayerContractRequiredGas = 10000 +const RelayerContractRequiredGas = 500000 var RelayerContractAddress = common.BytesToAddress([]byte{101})