Skip to content
This repository was archived by the owner on Mar 5, 2025. It is now read-only.
Prev Previous commit
Next Next commit
Add missing fields for test runner
  • Loading branch information
spacesailor24 committed Jul 23, 2021
commit afea9b2e46ced250a315be6f604e274b5fc52a7a
17 changes: 17 additions & 0 deletions test/eth.feeHistory.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ var methodCall = 'eth_feeHistory';

var tests = [{
args: [4, "0xA30953", []],
formattedArgs: [4, "0xA30953", []],
result: {
"baseFeePerGas": [
"0xa",
Expand All @@ -21,6 +22,22 @@ var tests = [{
],
"oldestBlock": 10684752
},
formattedResult: {
"baseFeePerGas": [
"0xa",
"0x9",
"0x8",
"0x9",
"0x9"
],
"gasUsedRatio": [
0.003920375,
0.002625,
0.904999125,
0.348347625
],
"oldestBlock": 10684752
},
call: methodCall
}];

Expand Down