From 4b806d7adfc5a64edab1ff0b35a34f2a34733798 Mon Sep 17 00:00:00 2001 From: HAOYUatHZ Date: Thu, 4 Jul 2024 11:23:16 +0800 Subject: [PATCH] fix(signer): update `LatestSigner` logic --- 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) }