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

Add staticcall opcode for constant external function calls #402

Merged
merged 3 commits into from
Nov 14, 2017

Conversation

DavidKnott
Copy link
Contributor

Waiting to merge STATICALL or any byzantium features for the next ~30 days.

- What I did

Add the staticcall opcode for @constant calls.

- How I did it

Parser now checks if a function is constant made before making a call.

- How to verify it

Look at the test I added.

- Description for the changelog

Add staticcall opcode for constant function calls

- Cute Animal Picture

image

@DavidKnott DavidKnott force-pushed the re-entrancy-protection branch 2 times, most recently from 69c73a2 to 8768bd7 Compare November 12, 2017 01:27
@DavidKnott DavidKnott changed the title W.I.P Add staticcall opcode for constant function calls Add staticcall opcode for constant function calls Nov 13, 2017
@DavidKnott DavidKnott changed the title Add staticcall opcode for constant function calls Add staticcall opcode for constant external function calls Nov 13, 2017
@DavidKnott DavidKnott force-pushed the re-entrancy-protection branch from 8768bd7 to 5ffdef8 Compare November 14, 2017 15:16
@DavidKnott DavidKnott merged commit 974c62e into vyperlang:master Nov 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant