Skip to content

Commit 47a2975

Browse files
author
Everett Hildenbrandt
committed
evm: single rule for #exception ~> #finishCodeDeposit
1 parent c43768f commit 47a2975

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

evm.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1593,16 +1593,16 @@ For each `CALL*` operation, we make a corresponding call to `#call` and a state-
15931593
</account>
15941594
15951595
rule <k> #exception ~> #finishCodeDeposit ACCT _
1596-
=> #popCallStack ~> #dropWorldState
1597-
~> #refund GAVAIL ~> ACCT ~> #push
1596+
=> #popCallStack
1597+
~> #if SCHED ==K FRONTIER
1598+
#then #dropWorldState ~> #refund GAVAIL ~> ACCT
1599+
#else #popWorldState ~> 0
1600+
#fi
1601+
~> #push
15981602
...
15991603
</k>
16001604
<gas> GAVAIL </gas>
1601-
<schedule> FRONTIER </schedule>
1602-
1603-
rule <k> #exception ~> #finishCodeDeposit _ _ => #popCallStack ~> #popWorldState ~> 0 ~> #push ... </k>
16041605
<schedule> SCHED </schedule>
1605-
requires SCHED =/=K FRONTIER
16061606
```
16071607

16081608
`CREATE` will attempt to `#create` the account using the initialization code and cleans up the result with `#codeDeposit`.

0 commit comments

Comments
 (0)