Non-specifed dependency on op-program using go runtime <= 1.22 #13447
Labels
MT cannon - audit findings
grouping for audit findings
MT cannon - Mainnet relevant
issues needed to complete the work for our Mainnet release
Description
Cannon has an unspecified requirement for running go binaries compiled with the go-1.22 runtime. This constraint stems from an incompatibility introduced in go-1.23.
The go-1.23 runtime replaces the sys_pipe usage for wait/notify mechanisms in the epoll event loop with a sys_eventfd based implementation. Since sys_eventfd is not implemented or supported in the current cannon implementation running the op-program, or any binary, with go runtimes newer than go-1.22 would trigger an unhandled syscall runtime panic.
Recommendation
Clearly document the go-runtime requirement and ensure sys_eventfd syscall is implemented prior to upgrading the go-runtime of the op-program
The text was updated successfully, but these errors were encountered: