-
-
Notifications
You must be signed in to change notification settings - Fork 783
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
Evm versions #1783
Evm versions #1783
Conversation
Things still needed:
|
I was picturing something more like |
22c1058
to
38a0d72
Compare
@fubuloubu @iamdefinitelyahuman Can we merge #1739 before this one? |
@jacqueswww fine by me... will rebase this after #1739 merges |
g2g once those changes are addressed. I like how the version check works, very clean. |
Co-Authored-By: Bryant Eisenbach <3859395+fubuloubu@users.noreply.github.com>
f177e21
to
07eda69
Compare
What I did
SELFBALANCE
opcode when targeting istanbul - closes Use SELFBALANCE opcode for balance queries #1654How I did it
vyper/opcodes.py
:None
means the opcode is not available, and where the length is < 3 it means the price does not change for future versions.vyper.compiler.compile_codes
now acceptsevm_version
as a kwarg. If not given, the default value is used (vyper.opcodes.DEFAULT_EVM_VERSION
, currently byzantium)vyper.cli
modulesHow to verify it
Run the tests. I've added new test cases and parametrized a few existing ones.
Cute Animal Picture