mirror of https://github.com/status-im/op-geth.git
3caf16b15f
The 'from' and 'to' methods on StateTransitions are reader methods and shouldn't have inadvertent side effects on state. It is safe to remove the check in 'from' because account existence is implicitly checked by the nonce and balance checks. If the account has non-zero balance or nonce, it must exist. Even if the sender account has nonce zero at the start of the state transition or no balance, the nonce is incremented before execution and the account will be created at that time. It is safe to remove the check in 'to' because the EVM creates the account if necessary. Fixes #15119 |
||
---|---|---|
.. | ||
testdata@2bb0c3da3b | ||
block_test.go | ||
block_test_util.go | ||
difficulty_test.go | ||
difficulty_test_util.go | ||
gen_btheader.go | ||
gen_difficultytest.go | ||
gen_stenv.go | ||
gen_sttransaction.go | ||
gen_tttransaction.go | ||
gen_vmexec.go | ||
init.go | ||
init_test.go | ||
rlp_test.go | ||
rlp_test_util.go | ||
state_test.go | ||
state_test_util.go | ||
transaction_test.go | ||
transaction_test_util.go | ||
vm_test.go | ||
vm_test_util.go |