aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorFelix Lange <fjl@users.noreply.github.com>2018-04-10 21:33:25 +0800
committerGitHub <noreply@github.com>2018-04-10 21:33:25 +0800
commit3caf16b15f0b6a30717acb245fa8d347b2f06c3f (patch)
tree27488ad46d7238aa7be09b8644d93cc704e84da8 /README.md
parent30deb6067fa5882ff6b2d0ead723eae833127490 (diff)
downloadgo-tangerine-3caf16b15f0b6a30717acb245fa8d347b2f06c3f.tar
go-tangerine-3caf16b15f0b6a30717acb245fa8d347b2f06c3f.tar.gz
go-tangerine-3caf16b15f0b6a30717acb245fa8d347b2f06c3f.tar.bz2
go-tangerine-3caf16b15f0b6a30717acb245fa8d347b2f06c3f.tar.lz
go-tangerine-3caf16b15f0b6a30717acb245fa8d347b2f06c3f.tar.xz
go-tangerine-3caf16b15f0b6a30717acb245fa8d347b2f06c3f.tar.zst
go-tangerine-3caf16b15f0b6a30717acb245fa8d347b2f06c3f.zip
core: remove stray account creations in state transition (#16470)
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
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions