#2 + EIP1707 Contract-prefixed EVM versioning#6
#2 + EIP1707 Contract-prefixed EVM versioning#6meowsbits wants to merge 1 commit intoprop/etc-byzantium-upgradefrom
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 |
zmitton
left a comment
There was a problem hiding this comment.
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
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,
suggestioned edits welcome.