Skip to content

Commit

Permalink
adjust precompile required gas
Browse files Browse the repository at this point in the history
  • Loading branch information
thomas-nguy committed Sep 21, 2023
1 parent 9364b65 commit 6818d9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion x/cronos/keeper/precompiles/bank.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import (

const (
EVMDenomPrefix = "evm/"
BankContractRequiredGas = 10000
BankContractRequiredGas = 21000
)

var (
Expand Down
3 changes: 1 addition & 2 deletions x/cronos/keeper/precompiles/relayer.go
Original file line number Diff line number Diff line change
Expand Up @@ -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})

Expand Down

0 comments on commit 6818d9a

Please sign in to comment.