Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pages/stack/fault-proofs/cannon.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@ certain syscalls. The full list of instructions supported can be found [here](mi

#### `mips.go` vs. `MIPS.sol`

The offchain `mips.go` and the onchain Cannon `MIPS.sol` behave similarly when it comes to executing 32-bit, MIPS III instructions.
The offchain `mips.go` and the onchain Cannon `MIPS.sol` behave similarly when it comes to executing MIPS32 R1 instructions.
In fact, they must produce **exactly the same results** given the same instruction, memory, and register state.
Consequently, the [witness data](#witness-data) is essential to reproduce the same instruction onchain and offchain.
However, there are differences between the two:
Expand Down
2 changes: 1 addition & 1 deletion pages/stack/fault-proofs/mips.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { Callout } from 'nextra/components'

# Fault proof VM: MIPS.sol

The `MIPS.sol` smart contract is an onchain implementation of a virtual machine (VM) that encompasses the 32-bit, Big-Endian, MIPS III Instruction Set Architecture (ISA).
The `MIPS.sol` smart contract is an onchain implementation of a virtual machine (VM) that encompasses the MIPS32 R1 Instruction Set Architecture (ISA).
This smart contract is the counterpart to the off-chain MIPSEVM golang implementation of the same ISA. Together, the onchain and off-chain VM implementations make up [Cannon](cannon),
Optimism's Fault Proof Virtual Machine (FPVM). Cannon is a singular instance of a FPVM that can be used as part of the Dispute Game for Optimism's (and Base's) optimistic rollup L2 blockchain.
The Dispute Game itself is modular, allowing for any FPVM to be used in a dispute; however, Cannon is currently the only FPVM implemented and thus will be used in all disputes.
Expand Down
2 changes: 1 addition & 1 deletion pages/stack/smart-contracts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ This mechanism ensures participants are financially committed and disputes are f

#### MIPS

The `MIPS` contract provides an on-chain implementation of a 32-bit, Big-Endian MIPS III virtual machine,
The `MIPS` contract provides an on-chain implementation of a MIPS32 R1 virtual machine,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we probably still want to call out "Big-Endian" here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good point, fixed in #1357 (for both places where it was removed).

designed to execute fault proofs for disputes by processing a standardized instruction set.
This enables instances of `FaultDisputeGame` and `PermissionedDisputeGame` to resolve disputes
over state transitions accurately and consistently.
Expand Down