wip: disable new fields

This commit is contained in:
Péter Garamvölgyi 2025-03-05 09:07:57 +01:00
parent e247123644
commit f1e523a142
No known key found for this signature in database
GPG key ID: 7FC8D069F7199070

View file

@ -92,12 +92,12 @@ type Header struct {
// BlockSignature was added by EuclidV2 to make Extra empty and is ignored during hashing. // 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, // 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`. // 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. // 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, // 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`. // 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. // WithdrawalsHash was added by EIP-4895 and is ignored in legacy headers.
// Included for Ethereum compatibility in Scroll SDK // Included for Ethereum compatibility in Scroll SDK