Closed mbaxter closed 4 days ago
Description
Extract common MIPS step logic into a couple of helper functions to prep for code-sharing between multi-threaded Cannon (MTCannon) and Cannon.
Also:
fun
func
opcode
insn
unchecked{}
Tests
This is a refactor, existing test coverage should be sufficient.
Additional context
Builds on https://github.com/ethereum-optimism/optimism/pull/10978
Metadata
Part of https://github.com/ethereum-optimism/client-pod/issues/908
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 61.29%. Comparing base (7f403ea) to head (bfd9937). Report is 5 commits behind head on develop.
7f403ea
bfd9937
Description
Extract common MIPS step logic into a couple of helper functions to prep for code-sharing between multi-threaded Cannon (MTCannon) and Cannon.
Also:
fun
(previouslyfun
orfunc
)fun
andopcode
values frominsn
(instruction)unchecked{}
Tests
This is a refactor, existing test coverage should be sufficient.
Additional context
Builds on https://github.com/ethereum-optimism/optimism/pull/10978
Metadata
Part of https://github.com/ethereum-optimism/client-pod/issues/908