From 065677417278d23001aefeae5d0fc7eeaafd6a52 Mon Sep 17 00:00:00 2001 From: Liam Lai Date: Wed, 8 Nov 2023 18:09:30 +1100 Subject: [PATCH] define gas switch block number for testnet --- common/constants.go | 2 +- common/constants/constants.go.testnet | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/common/constants.go b/common/constants.go index 9cf18eb9f7..812e260d1d 100644 --- a/common/constants.go +++ b/common/constants.go @@ -77,7 +77,7 @@ var BaseTopUp = big.NewInt(100) var BaseRecall = big.NewInt(100) var TIPTRC21Fee = big.NewInt(38383838) var TIPTRC21FeeTestnet = big.NewInt(38383838) -var BlockNumberGas50x = big.NewInt(TIPTRC21Fee.Int64() + 40000000) +var BlockNumberGas50x = big.NewInt(99999999900) var LimitTimeFinality = uint64(30) // limit in 30 block var IgnoreSignerCheckBlockArray = map[uint64]bool{ diff --git a/common/constants/constants.go.testnet b/common/constants/constants.go.testnet index 114913111d..66541fa03c 100644 --- a/common/constants/constants.go.testnet +++ b/common/constants/constants.go.testnet @@ -77,7 +77,7 @@ var BaseTopUp = big.NewInt(100) var BaseRecall = big.NewInt(100) var TIPTRC21Fee = big.NewInt(23779191) var TIPTRC21FeeTestnet = big.NewInt(23779191) -var BlockNumberGas50x = big.NewInt(TIPTRC21Fee.Int64() + 40000000) +var BlockNumberGas50x = big.NewInt(56828700) var LimitTimeFinality = uint64(30) // limit in 30 block var IgnoreSignerCheckBlockArray = map[uint64]bool{