From f7d0c589f0111c6495e160148c8ace5750682e0b Mon Sep 17 00:00:00 2001 From: Axiom Bot <0xAxiom@users.noreply.github.com> Date: Sun, 10 May 2026 05:58:48 -0700 Subject: [PATCH] docs: fix duplicate words and 'subwrod' typos in cannon NatSpec - src/cannon/MIPS64.sol: 'the the subword' -> 'the subword'; 'subwrod' -> 'subword' in loadSubWord NatSpec - src/cannon/libraries/MIPS64Instructions.sol: 'the the subword' -> 'the subword'; 'subwrod' -> 'subword' in selectSubWord NatSpec - scripts/deploy/DeployOPChain.s.sol: 'because to to update' -> 'because to update' in inline comment Comment-only changes; no behavior change. --- scripts/deploy/DeployOPChain.s.sol | 2 +- src/cannon/MIPS64.sol | 4 ++-- src/cannon/libraries/MIPS64Instructions.sol | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/scripts/deploy/DeployOPChain.s.sol b/scripts/deploy/DeployOPChain.s.sol index 56c92fbbd..bd7f8b01c 100644 --- a/scripts/deploy/DeployOPChain.s.sol +++ b/scripts/deploy/DeployOPChain.s.sol @@ -290,7 +290,7 @@ contract DeployOPChain is SystemDeploy { // support deploying straight to permissioned games, and the starting root does not // matter for that, as long as it is non-zero, since no games will be played. We do not // deploy the permissionless game (and therefore do not set a starting root for it here) - // because to to update to the permissionless game, we will need to update its starting + // because to update to the permissionless game, we will need to update its starting // anchor root and deploy a new permissioned dispute game contract anyway. // // You can `console.logBytes(abi.encode(ScriptConstants.DEFAULT_OUTPUT_ROOT()))` to get the bytes that diff --git a/src/cannon/MIPS64.sol b/src/cannon/MIPS64.sol index 0bf50c8ad..f9c925087 100644 --- a/src/cannon/MIPS64.sol +++ b/src/cannon/MIPS64.sol @@ -359,9 +359,9 @@ contract MIPS64 is ISemver { } /// @notice Loads a subword of byteLength size contained from memory based on the low-order bits of vaddr - /// @param _vaddr The virtual address of the the subword. + /// @param _vaddr The virtual address of the subword. /// @param _byteLength The size of the subword. - /// @param _signExtend Whether to sign extend the selected subwrod. + /// @param _signExtend Whether to sign extend the selected subword. function loadSubWord( State memory _state, uint64 _vaddr, diff --git a/src/cannon/libraries/MIPS64Instructions.sol b/src/cannon/libraries/MIPS64Instructions.sol index b5484440c..8447305cc 100644 --- a/src/cannon/libraries/MIPS64Instructions.sol +++ b/src/cannon/libraries/MIPS64Instructions.sol @@ -880,10 +880,10 @@ library MIPS64Instructions { } /// @notice Selects a subword of byteLength size contained in memWord based on the low-order bits of vaddr - /// @param _vaddr The virtual address of the the subword. + /// @param _vaddr The virtual address of the subword. /// @param _memWord The full word to select a subword from. /// @param _byteLength The size of the subword. - /// @param _signExtend Whether to sign extend the selected subwrod. + /// @param _signExtend Whether to sign extend the selected subword. function selectSubWord( uint64 _vaddr, uint64 _memWord,