Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Special treatment of value in DELEGATECALL (as per Yellow Paper Section 8) #122

Closed
wants to merge 1 commit into from

Conversation

conroydamien
Copy link

@conroydamien conroydamien commented Apr 11, 2017

This change avoids incorrectly deducting value from the caller's account when a DELEGATECALL is invoked from a payable function (issue).

From Section 8 of yellow paper:

Note that we need to differentiate between the value that is to be transferred, v, from the value apparent in the execution context, ˜v, for the DELEGATECALL instruction.

…account when a DELEGATECALL is invoked from a payable function.

Section 8 of yellow paper

Note that we need to differentiate between the value that
is to be transferred, v, from the value apparent in the execution
context, ˜v, for the DELEGATECALL instruction.
@axic
Copy link
Member

axic commented Apr 11, 2017

Duplicate of #84.

@conroydamien
Copy link
Author

Cool thanks - I can close this. Will the current fix be in a release soon?
Thanks,
Damien

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants