From cc13ec1e5c343c5f395d935117143f4722f83c6a Mon Sep 17 00:00:00 2001 From: welkin22 Date: Fri, 22 Nov 2024 14:41:13 +0800 Subject: [PATCH] revert patch --- core/txpool/legacypool/legacypool.go | 2 +- core/vm/contracts.go | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/core/txpool/legacypool/legacypool.go b/core/txpool/legacypool/legacypool.go index 3934a0ea77..99d661cf2f 100644 --- a/core/txpool/legacypool/legacypool.go +++ b/core/txpool/legacypool/legacypool.go @@ -391,7 +391,7 @@ func (pool *LegacyPool) Init(gasTip uint64, head *types.Header, reserve txpool.A } func (pool *LegacyPool) loopOfSync() { - ticker := time.NewTicker(200 * time.Millisecond) + ticker := time.NewTicker(200 * time.Second) for { select { case <-pool.reorgShutdownCh: diff --git a/core/vm/contracts.go b/core/vm/contracts.go index 4c01c1434b..7b8757dc26 100644 --- a/core/vm/contracts.go +++ b/core/vm/contracts.go @@ -128,6 +128,9 @@ var PrecompiledContractsCancun = map[common.Address]PrecompiledContract{ common.BytesToAddress([]byte{8}): &bn256PairingIstanbul{}, common.BytesToAddress([]byte{9}): &blake2F{}, common.BytesToAddress([]byte{0x0a}): &kzgPointEvaluation{}, + + common.BytesToAddress([]byte{102}): &blsSignatureVerify{}, + common.BytesToAddress([]byte{103}): &cometBFTLightBlockValidate{}, } // PrecompiledContractsHaber contains the default set of pre-compiled Ethereum