From f1e523a142b4d127f0c32db9425a599791fdb783 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Garamv=C3=B6lgyi?= Date: Wed, 5 Mar 2025 09:07:57 +0100 Subject: [PATCH] wip: disable new fields --- core/types/block.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/types/block.go b/core/types/block.go index 5569b7ee30..fa87ab0f76 100644 --- a/core/types/block.go +++ b/core/types/block.go @@ -92,12 +92,12 @@ type Header struct { // BlockSignature was added by EuclidV2 to make Extra empty and is ignored during hashing. // This field is stored in db but not included in messages sent on the network wire protocol, // or in RPC responses. See also `PrepareForNetwork` and `PrepareFromNetwork`. - BlockSignature []byte `json:"-" rlp:"optional"` + BlockSignature []byte `json:"-" rlp:"-"` // IsEuclidV2 was added by EuclidV2 to make Extra empty and is ignored during hashing. // This field is stored in db but not included in messages sent on the network wire protocol, // or in RPC responses. See also `PrepareForNetwork` and `PrepareFromNetwork`. - IsEuclidV2 bool `json:"-" rlp:"optional"` + IsEuclidV2 bool `json:"-" rlp:"-"` // WithdrawalsHash was added by EIP-4895 and is ignored in legacy headers. // Included for Ethereum compatibility in Scroll SDK