Skip to content

Commit 23597ca

Browse files
authored
Merge branch 'master' into gas-dimension-tracing
2 parents f116416 + a565b8c commit 23597ca

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/go.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ on:
99

1010
jobs:
1111
lint:
12+
if: false # not supported on OffchainLabs fork, ci.yml is used instead
1213
name: Lint
1314
runs-on: self-hosted
1415
steps:

core/types/arb_types.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ func (info HeaderInfo) UpdateHeaderWithInfo(header *Header) {
552552
}
553553

554554
func DeserializeHeaderExtraInformation(header *Header) HeaderInfo {
555-
if header == nil || header.BaseFee == nil || header.BaseFee.Sign() == 0 || len(header.Extra) != 32 || header.Difficulty.Cmp(common.Big1) != 0 {
555+
if header == nil || header.BaseFee == nil || len(header.Extra) != 32 || header.Difficulty.Cmp(common.Big1) != 0 {
556556
// imported blocks have no base fee
557557
// The genesis block doesn't have an ArbOS encoded extra field
558558
return HeaderInfo{}

internal/ethapi/simulate.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,8 @@ func (sim *simulator) makeHeaders(blocks []simBlock) ([]*types.Header, error) {
411411
Coinbase: header.Coinbase,
412412
Difficulty: header.Difficulty,
413413
GasLimit: header.GasLimit,
414+
MixDigest: header.MixDigest,
415+
Extra: header.Extra,
414416
WithdrawalsHash: withdrawalsHash,
415417
ParentBeaconRoot: parentBeaconRoot,
416418
})

0 commit comments

Comments
 (0)