Skip to content

Commit

Permalink
Updated basefee jsonrpc tag (#1681)
Browse files Browse the repository at this point in the history
  • Loading branch information
begmaroman committed Jun 29, 2023
1 parent a60fd5a commit ccf7140
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion jsonrpc/testsuite/block-empty.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
"hash": "0x0800000000000000000000000000000000000000000000000000000000000000",
"transactions": null,
"uncles": null,
"baseFee": "0xf"
"baseFeePerGas": "0xf"
}
2 changes: 1 addition & 1 deletion jsonrpc/testsuite/block-with-txn-bodies.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,5 +37,5 @@
}
],
"uncles": null,
"baseFee": "0xf"
"baseFeePerGas": "0xf"
}
2 changes: 1 addition & 1 deletion jsonrpc/testsuite/block-with-txn-hashes.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@
"0x0800000000000000000000000000000000000000000000000000000000000000"
],
"uncles": null,
"baseFee": "0xf"
"baseFeePerGas": "0xf"
}
2 changes: 1 addition & 1 deletion jsonrpc/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ type block struct {
Hash types.Hash `json:"hash"`
Transactions []transactionOrHash `json:"transactions"`
Uncles []types.Hash `json:"uncles"`
BaseFee argUint64 `json:"baseFee,omitempty"`
BaseFee argUint64 `json:"baseFeePerGas,omitempty"`
}

func (b *block) Copy() *block {
Expand Down

0 comments on commit ccf7140

Please sign in to comment.