Skip to content

Commit

Permalink
Merge pull request #38 from MakisChristou/main
Browse files Browse the repository at this point in the history
Add default baseFeePerGas value
  • Loading branch information
zzGHzz authored Sep 12, 2023
2 parents 94585fb + 358cea6 commit 79e5b05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/formatter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,6 +350,7 @@ export class Formatter {
nonce: zeroBytes8,
logsBloom: zeroBytes256,
extraData: '0x',
baseFeePerGas: '0x0',
};
}

Expand Down
1 change: 1 addition & 0 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ export interface RetBlock extends RetHeader {
difficulty: '0x0';
totalDifficulty: '0x0';
uncles: [];
baseFeePerGas: '0x0';
}
export interface RetHeader {
number: string; // number in hex string
Expand Down

0 comments on commit 79e5b05

Please sign in to comment.