diff --git a/EIPS/eip-7.md b/EIPS/eip-7.md index f9f5059f..78d73a36 100644 --- a/EIPS/eip-7.md +++ b/EIPS/eip-7.md @@ -8,7 +8,7 @@ ### 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 @@ -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_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. - Like `CALLCODE`, account creation never happens, so the upfront gas cost is always `schedule.callGas` + `gas`. - 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. -#### Other Notes +#### Other notes - The depth limit of 1024 is still preserved as normal. ### Rationale