-
Notifications
You must be signed in to change notification settings - Fork 8
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
#2 + EIP1707 Contract-prefixed EVM versioning #6
#2 + EIP1707 Contract-prefixed EVM versioning #6
Conversation
Advocating the contract-prefix scheme for account versioning, as in EIP1707.
A thought with EVM versioning,
@sorpaas As far as I understand the currently proposed VM versioning scheme(s), it seems to me they rely on assumptions of VM versions being defined by linear hardfork(s); Homestead VM, Byzantium VM, etc. Is this a correct? If so, what implications might this have for cross-chain contracts and multi-chain clients, as the "Ethereum ecosystem" grows with variations and mutations on the EVM across independent hardfork series? Is there a way we might be able to systematize a VM "version" that would be more able to describe it's features? |
@meowsbits Yes. That's why I would suggest to use ethereum/EIPs#1707 instead |
😕 This is proposing 1707.. or? |
What I'm seeing for versioning schemes boils down to
The limitation with this is that it makes contacts single-network use, right? Let's say a new opcode So now a contract making use of |
Maybe we could start counting downward. I see the problem though. compiled code that would often run fine on ETC would explicitly not run on ETC if it was compiled to run on ETH. Seems like a loss for ETC ETH compatibility |
Alternative would be to copy their numbers, but then you have the confusion of the contract acting like it will run, but it wont if/when it hits a (for instance) constantinople opcode |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, I Don't think I would advocate to do it in the byzantium release. I think it makes more sense to support it once ETH does it. Especially since the next 2 upgrades for ETC: byzantium and constantinople (minus gas-metering) would be unaffected by it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should not be part of the Byzantium ECLIP. Change my mind 😆
Just write a separate ECLIP and we can add this whenever we like. I would prefer a vanilla Byzantium spec.
ECIP-1047: Reduce Gas Limit to 1 Million
Closing via #10 and seeming general opinion to leave for another time. |
Proposed modification to ECLIP-?: Byzantium EVM upgrades (and Tx Receipt status), advocating the contract-prefix scheme for account versioning, as in EIP1707.
Reviews, comments,
suggestion
ed edits welcome.