Skip to content

Commit 41d277d

Browse files
committed
updates after discussion with etan
1 parent bd80059 commit 41d277d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

packages/block/src/header/header.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,6 @@ export class BlockHeader {
640640
sszRaw(): SSZHeaderType {
641641
const header = {
642642
parentHash: this.parentHash,
643-
uncleHash: this.uncleHash,
644643
coinbase: this.coinbase.bytes,
645644
stateRoot: this.stateRoot,
646645
transactionsTrie: this.transactionsTrie,
@@ -659,7 +658,7 @@ export class BlockHeader {
659658
blob: this.common.isActivatedEIP(4844) ? this.getBlobGasPrice() : null,
660659
},
661660
withdrawalsRoot: this.withdrawalsRoot ?? null,
662-
excessBlobGas: this.excessBlobGas ?? null,
661+
excessGas: {regular: null, blob: this.excessBlobGas ?? null},
663662
parentBeaconBlockRoot: this.parentBeaconBlockRoot ?? null,
664663
requestsRoot: this.requestsRoot ?? null,
665664
}

packages/util/src/ssz.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -366,7 +366,6 @@ const MAX_EXTRA_DATA_BYTES = 32
366366
export const BlockHeader = new StableContainerType(
367367
{
368368
parentHash: new OptionalType(Bytes32),
369-
uncleHash: new OptionalType(Bytes32),
370369
coinbase: new OptionalType(Bytes20),
371370
stateRoot: new OptionalType(Bytes32),
372371
transactionsTrie: new OptionalType(Bytes32),
@@ -379,7 +378,7 @@ export const BlockHeader = new StableContainerType(
379378
mixHash: new OptionalType(Bytes32),
380379
baseFeePerGas: new OptionalType(FeesPerGas),
381380
withdrawalsRoot: new OptionalType(Bytes32),
382-
excessBlobGas: new OptionalType(FeePerGas),
381+
excessGas: new OptionalType(FeesPerGas),
383382
parentBeaconBlockRoot: new OptionalType(Bytes32),
384383
requestsRoot: new OptionalType(Bytes32),
385384
},

0 commit comments

Comments
 (0)