From a40ef3f6e0b56c31dc3aa6d778228cd8b9ce2090 Mon Sep 17 00:00:00 2001 From: HAOYUatHZ <37070449+HAOYUatHZ@users.noreply.github.com> Date: Fri, 5 Jul 2024 18:38:21 +0800 Subject: [PATCH] fix(signer): update `LatestSigner` logic (#880) --- core/types/transaction_signing.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/types/transaction_signing.go b/core/types/transaction_signing.go index 3a9fff64190d..98df72f1184f 100644 --- a/core/types/transaction_signing.go +++ b/core/types/transaction_signing.go @@ -65,6 +65,9 @@ func MakeSigner(config *params.ChainConfig, blockNumber *big.Int) Signer { // have the current block number available, use MakeSigner instead. func LatestSigner(config *params.ChainConfig) Signer { if config.ChainID != nil { + if config.CurieBlock != nil { + return NewLondonSignerWithEIP4844(config.ChainID) + } if config.LondonBlock != nil { return NewLondonSignerWithEIP4844(config.ChainID) }