@@ -104,22 +104,23 @@ type ExecutableData struct {
104104 BlobGasUsed * uint64 `json:"blobGasUsed"`
105105 ExcessBlobGas * uint64 `json:"excessBlobGas"`
106106 SlotNumber * uint64 `json:"slotNumber,omitempty"`
107- BlockAccessList hexutil. Bytes `json:"blockAccessList,omitempty"`
107+ BlockAccessList [] byte `json:"blockAccessList,omitempty"`
108108}
109109
110110// JSON type overrides for executableData.
111111type executableDataMarshaling struct {
112- Number hexutil.Uint64
113- GasLimit hexutil.Uint64
114- GasUsed hexutil.Uint64
115- Timestamp hexutil.Uint64
116- BaseFeePerGas * hexutil.Big
117- ExtraData hexutil.Bytes
118- LogsBloom hexutil.Bytes
119- Transactions []hexutil.Bytes
120- BlobGasUsed * hexutil.Uint64
121- ExcessBlobGas * hexutil.Uint64
122- SlotNumber * hexutil.Uint64
112+ Number hexutil.Uint64
113+ GasLimit hexutil.Uint64
114+ GasUsed hexutil.Uint64
115+ Timestamp hexutil.Uint64
116+ BaseFeePerGas * hexutil.Big
117+ ExtraData hexutil.Bytes
118+ LogsBloom hexutil.Bytes
119+ Transactions []hexutil.Bytes
120+ BlobGasUsed * hexutil.Uint64
121+ ExcessBlobGas * hexutil.Uint64
122+ SlotNumber * hexutil.Uint64
123+ BlockAccessList hexutil.Bytes
123124}
124125
125126// StatelessPayloadStatusV1 is the result of a stateless payload execution.
@@ -356,7 +357,7 @@ func ExecutableDataToBlockNoHash(data ExecutableData, versionedHashes []common.H
356357 if err := rlp .DecodeBytes (data .BlockAccessList , & accessList ); err != nil {
357358 return nil , fmt .Errorf ("failed to decode BAL: %w" , err )
358359 }
359- return types .NewBlockWithHeader (header ).WithBody (body ).WithAccessList (& accessList ), nil
360+ return types .NewBlockWithHeader (header ).WithBody (body ).WithAccessListUnsafe (& accessList ), nil
360361 }
361362 return types .NewBlockWithHeader (header ).WithBody (body ), nil
362363}
0 commit comments