optimism icon indicating copy to clipboard operation
optimism copied to clipboard

cannon: 64 bit support for multithreaded, keeping single threaded 32bit

Open ajsutton opened this issue 1 year ago • 1 comments

Description

A version of https://github.com/ethereum-optimism/optimism/pull/11388 but done so that the single threaded vm remains unchanged as a 32bit VM and only the multithreaded vm is converted to 64bit. This lets us merge the 64bit upgrade without breaking backwards compatibility.

The solidity hasn't been changed - we'll need to pull in the 64bit upgrade for that which can be done by just completely duplicating the cannon contracts.

The multithreaded VM isn't running all tests yet (https://github.com/ethereum-optimism/optimism/pull/11333) fixes that so those tests have been commented out here - we'll need to pull in the changes from that PR to make it work.

To automatically switch VM types based on the prestate we'll likely need a better prestate format which can be done separately - currently its still based on the --type flag to cannon.

ajsutton avatar Aug 14 '24 02:08 ajsutton

This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 5 days.

github-actions[bot] avatar Aug 29 '24 01:08 github-actions[bot]

This is clearly never going to merge as-is. Closing but we can still find it in the history for reference when we come to merging in 64bit support.

ajsutton avatar Sep 15 '24 22:09 ajsutton