Grammar fixes

This commit is contained in:
James Ray 2018-01-26 15:11:40 +11:00 committed by GitHub
parent 71d6f0bc9c
commit fefbbea5f4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -8,7 +8,7 @@
### Overview ### Overview
Add a new opcode, `DELEGATECALL` at `0xf4`, which is similar in idea to `CALLCODE`, except that it propagates the sender and value from the parent scope to the child scope, ie. the call created has the same sender and value as the original call. Add a new opcode, `DELEGATECALL` at `0xf4`, which is similar in idea to `CALLCODE`, except that it propagates the sender and value from the parent scope to the child scope, i.e. the call created has the same sender and value as the original call.
### Specification ### Specification
@ -20,15 +20,15 @@ Add a new opcode, `DELEGATECALL` at `0xf4`, which is similar in idea to `CALLCOD
- `out_offset`: the offset into memory of the output; - `out_offset`: the offset into memory of the output;
- `out_size`: the size of the scratch pad for the output. - `out_size`: the size of the scratch pad for the output.
#### Notes on Gas #### Notes on gas
- The basic stipend is not given; `gas` is the total amount the callee receives. - The basic stipend is not given; `gas` is the total amount the callee receives.
- Like `CALLCODE`, account creation never happens, so the upfront gas cost is always `schedule.callGas` + `gas`. - Like `CALLCODE`, account creation never happens, so the upfront gas cost is always `schedule.callGas` + `gas`.
- Unused gas is refunded as normal. - Unused gas is refunded as normal.
#### Notes on Sender #### Notes on sender
- `CALLER` and `VALUE` behave exactly in the callee's environment as they do in the caller's environment. - `CALLER` and `VALUE` behave exactly in the callee's environment as they do in the caller's environment.
#### Other Notes #### Other notes
- The depth limit of 1024 is still preserved as normal. - The depth limit of 1024 is still preserved as normal.
### Rationale ### Rationale