Skip to content

Commit

Permalink
fix baseFee
Browse files Browse the repository at this point in the history
  • Loading branch information
winsvega committed Jun 12, 2021
1 parent 74b1100 commit 5d65138
Show file tree
Hide file tree
Showing 9 changed files with 3,548 additions and 3,548 deletions.
6,960 changes: 3,480 additions & 3,480 deletions BlockchainTests/GeneralStateTests/stEIP1559/intrinsic.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions BlockchainTests/GeneralStateTests/stEIP1559/lowFeeCap.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -90,7 +90,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
],
Expand Down
16 changes: 8 additions & 8 deletions BlockchainTests/GeneralStateTests/stEIP1559/lowGasLimit.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -92,7 +92,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
],
Expand Down Expand Up @@ -134,7 +134,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -201,7 +201,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x79f4ef4f2e00e562c82c4d08dd6231a69cd4b6c6402a181b70159b2911ffab92",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
{
Expand Down Expand Up @@ -252,7 +252,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -319,7 +319,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x02ed930dddaf00d2a91917f7f27881333a029628e236183b4fc91d66e72d8aa2",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
{
Expand Down Expand Up @@ -370,7 +370,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -437,7 +437,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -90,7 +90,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
],
Expand Down Expand Up @@ -132,7 +132,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -197,7 +197,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
],
Expand Down
16 changes: 8 additions & 8 deletions BlockchainTests/GeneralStateTests/stEIP1559/outOfFunds.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -90,7 +90,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
],
Expand Down Expand Up @@ -132,7 +132,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -197,7 +197,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
],
Expand Down Expand Up @@ -239,7 +239,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -304,7 +304,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x3e033d854459d65526a8a5c11901e10c668d382e69b99a1e119c4415bc9fad41",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
{
Expand Down Expand Up @@ -355,7 +355,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -420,7 +420,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
],
Expand Down
32 changes: 16 additions & 16 deletions BlockchainTests/GeneralStateTests/stEIP1559/outOfFundsOldTypes.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -90,7 +90,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
],
Expand Down Expand Up @@ -132,7 +132,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -197,7 +197,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
],
Expand Down Expand Up @@ -239,7 +239,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -304,7 +304,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
],
Expand Down Expand Up @@ -346,7 +346,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -411,7 +411,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
],
Expand Down Expand Up @@ -453,7 +453,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -518,7 +518,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x346675bf0d91ef276df0e9d70600e3c21f038888975d470586774cf911b3f3c2",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
{
Expand Down Expand Up @@ -564,7 +564,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -629,7 +629,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x4d2d579abe145c4af5933dc0ed3968e27342b578cca7547377757c8d9ffe8868",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
{
Expand Down Expand Up @@ -679,7 +679,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -744,7 +744,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
],
Expand Down Expand Up @@ -786,7 +786,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -851,7 +851,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
],
Expand Down
4 changes: 2 additions & 2 deletions BlockchainTests/GeneralStateTests/stEIP1559/tipTooHigh.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -90,7 +90,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
],
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@
"timestamp" : "0x00",
"transactionsTrie" : "0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x0476"
"baseFeePerGas" : "0x0476"
},
"pre" : {
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
Expand Down Expand Up @@ -196,7 +196,7 @@
"timestamp" : "0x03e8",
"transactionsTrie" : "0x35fb3cd0f13d62cc44ad0fc6d54416cff4a398863654c0df3bd844e1266c23a9",
"uncleHash" : "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"baseFee" : "0x03e8"
"baseFeePerGas" : "0x03e8"
},
"transactions" : [
{
Expand Down
Loading

0 comments on commit 5d65138

Please sign in to comment.