Skip to content

Commit

Permalink
Split memory between calee and caller.
Browse files Browse the repository at this point in the history
  • Loading branch information
virgil-serbanuta committed Nov 27, 2017
1 parent 25c9f79 commit cfb0d89
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gas.md
Original file line number Diff line number Diff line change
Expand Up @@ -533,8 +533,8 @@ efficient, so we're using a size-based fee.
memoryDelta(existent-account-late-failure) =
registerSize 0 - registerSize REG

memoryDelta(existent-account-success) = codeSize + callDataSize +
constantMemorySize
memoryDeltaCaller(existent-account-success) = codeSize + constantMemorySize
memorySizeCallee(existent-account-success) = callDataSize
```

`constantMemorySize` is the size of whatever is part of the saved state
Expand Down

0 comments on commit cfb0d89

Please sign in to comment.