You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* cannon: Support F_GETFD cmd to fcntl.
* cannon: Update fuzz test expectations.
* cannon: Update MIPS.t.sol
* cannon: Introduce a new state version for supporting get_fd.
Switches singlethreaded prestate to use .bin.gz instead of json since it now needs to detect the new state version.
* cannon: Don't override the cannon version.
* Update semver-lock.
* cannon: Update tests to detect old versions but only check writing and parsing for the currently supported versions.
* cannon: Load old version from cannon docker image
* cannon: Improve logging.
* cannon: Restore cannon version arg.
* Fix contrac semvers.
* cannon: Rename singlethreaded-getfd to just singlethreaded-2.
We could just go to using the state version number directly, but particularly the difference between singlethreaded and multithreaded feels useful to keep.
* cannon: Fix comment.
* Update semver again.
Copy file name to clipboardexpand all lines: cannon/mipsevm/versions/state.go
+9-3
Original file line number
Diff line number
Diff line change
@@ -19,14 +19,16 @@ const (
19
19
// VersionSingleThreaded is the version of the Cannon STF found in op-contracts/v1.6.0 - https://github.com/ethereum-optimism/optimism/blob/op-contracts/v1.6.0/packages/contracts-bedrock/src/cannon/MIPS.sol
20
20
VersionSingleThreadedStateVersion=iota
21
21
VersionMultiThreaded
22
+
// VersionSingleThreaded2 is based on VersionSingleThreaded with the addition of support for fcntl(F_GETFD) syscall
23
+
VersionSingleThreaded2
22
24
)
23
25
24
26
var (
25
27
ErrUnknownVersion=errors.New("unknown version")
26
28
ErrJsonNotSupported=errors.New("json not supported")
0 commit comments