Commit 9e772dbf authored by OptimismBot's avatar OptimismBot Committed by GitHub

Merge pull request #6251 from ethereum-optimism/clabby/ctb/mips-step-rename

chore(ctb): Rename MIPS step function
parents d8d41bcb b6174dfb
...@@ -24,7 +24,7 @@ import ( ...@@ -24,7 +24,7 @@ import (
) )
var ( var (
StepBytes4 = crypto.Keccak256([]byte("Step(bytes,bytes)"))[:4] StepBytes4 = crypto.Keccak256([]byte("step(bytes,bytes)"))[:4]
CheatBytes4 = crypto.Keccak256([]byte("cheat(uint256,bytes32,bytes32,uint256)"))[:4] CheatBytes4 = crypto.Keccak256([]byte("cheat(uint256,bytes32,bytes32,uint256)"))[:4]
LoadKeccak256PreimagePartBytes4 = crypto.Keccak256([]byte("loadKeccak256PreimagePart(uint256,bytes)"))[:4] LoadKeccak256PreimagePartBytes4 = crypto.Keccak256([]byte("loadKeccak256PreimagePart(uint256,bytes)"))[:4]
) )
......
This diff is collapsed.
This diff is collapsed.
...@@ -379,7 +379,7 @@ contract MIPS { ...@@ -379,7 +379,7 @@ contract MIPS {
} }
// will revert if any required input state is missing // will revert if any required input state is missing
function Step(bytes calldata stateData, bytes calldata proof) public returns (bytes32) { function step(bytes calldata stateData, bytes calldata proof) public returns (bytes32) {
State memory state; State memory state;
// packed data is ~6 times smaller // packed data is ~6 times smaller
assembly { assembly {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment