From 7f7b1c571de12440d085392ff4663704298b9e61 Mon Sep 17 00:00:00 2001 From: laizy Date: Wed, 14 Dec 2022 16:46:38 +0800 Subject: [PATCH] update new version height (#1420) --- smartcontract/service/evm/state_transition.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/smartcontract/service/evm/state_transition.go b/smartcontract/service/evm/state_transition.go index d329ef446..e195a92c4 100644 --- a/smartcontract/service/evm/state_transition.go +++ b/smartcontract/service/evm/state_transition.go @@ -187,7 +187,7 @@ func (st *StateTransition) buyGas() (adjustedGas bool) { if have, want := st.state.GetBalance(st.msg.From()), mgval; have.Cmp(want) < 0 { mgval = have gas = big.NewInt(0).Div(have, st.gasPrice).Uint64() - if st.evm.ChainConfig().ChainID.Uint64() != constants.EIP155_CHAINID_MAINNET || st.evm.Context.BlockNumber.Uint64() >= 15350000 { + if st.evm.ChainConfig().ChainID.Uint64() != constants.EIP155_CHAINID_MAINNET || st.evm.Context.BlockNumber.Uint64() >= 15380000 { mgval = big.NewInt(0).Mul(big.NewInt(0).SetUint64(gas), st.gasPrice) } adjustedGas = true