Support versioning of EVM code parsing
edfelten opened this issue · 2 comments
edfelten commented
Our EVM code parsing algorithm will probably change over time, as the EVM code format standard evolves. To support this, we should version the parsing algorithm and label each contract (and cached compilation result) with the parsing version that was active at the time it was deployed. That will allow us to avoid (1) reparsing later under a different algorithm, and (2) getting a wrong result from the compilation result cache due to changes in the caching algorithm.
This will start to matter when EIPs that change code parsing (more significantly than it has already changed) start to get deployed.
Lldenaurois commented
This looks like it might be up my alley. May I be assigned to this issue?