Logo
Explore Help
Sign In
gaspersic/go-ethereum
1
0
Fork 0
You've already forked go-ethereum
Code Issues Pull Requests Projects Releases Wiki Activity
Files
9c67d521acedca4f3870bd47fcc19eb102f42501
go-ethereum/cmd/evm/testdata/12/alloc.json

12 lines
205 B
JSON
Raw Normal View History

core: fix pre-check for account balance under EIP-1559 (#23244) 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>
2021-07-22 15:39:40 +02:00
{
"0xa94f5374fce5edbc8e2a8697c15331677e6ebf0b" : {
"balance" : "84000000",
"code" : "0x",
"nonce" : "0x00",
"storage" : {
"0x00" : "0x00"
}
}
}
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 38ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API