97aacd9b35
When processing a transaction with London fork rules, EIP-1559 mandates checking that the sender must have sufficient balance to cover gas * gasFeeCap. In the EIP's pseudocode, this check happens after the value transferred by the transaction has already been deducted. However, in go-ethereum, the balance has not yet been updated when the check happens, and therefore needs to be added explicitly. Co-authored-by: Martin Holst Swende <martin@swende.se>
21 lines
495 B
JSON
21 lines
495 B
JSON
[
|
|
{
|
|
"input" : "0x",
|
|
"gas" : "0x5208",
|
|
"nonce" : "0x0",
|
|
"to" : "0x1111111111111111111111111111111111111111",
|
|
"value" : "0x20",
|
|
"v" : "0x0",
|
|
"r" : "0x0",
|
|
"s" : "0x0",
|
|
"secretKey" : "0x45a915e4d060149eb4365960e6a7a45f334393093061116b197e3240065ff2d8",
|
|
"chainId" : "0x1",
|
|
"type" : "0x2",
|
|
"maxFeePerGas" : "0xfa0",
|
|
"maxPriorityFeePerGas" : "0x20",
|
|
"accessList" : [
|
|
]
|
|
}
|
|
]
|
|
|