Skip to content

Commit

Permalink
Remove logs
Browse files Browse the repository at this point in the history
  • Loading branch information
AllFi committed Nov 9, 2023
1 parent 19ca1b9 commit 456edeb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
3 changes: 0 additions & 3 deletions src/zkbob/sequencer/MemoUtils.sol
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,13 @@ contract MemoUtils is CustomABIDecoder{
}

function parseMessagePrefix(bytes memory memo, uint16 txType) public pure returns (bytes4 prefix) {
console2.log("parseMessagePrefix:memo", bytesToHexString(memo));
uint256 offset = _memo_fixed_size(txType) + 32;
console2.log("_memo_fixed_size", offset);
bytes calldata prefix_bytes;
assembly {
prefix := mload(add(memo, offset))
prefix_bytes.offset := add(memo, offset)
prefix_bytes.length := 32
}
console2.log("prefix", bytesToHexString(prefix_bytes));
prefix = prefix & 0x0000ffff;
}

Expand Down
2 changes: 0 additions & 2 deletions test/zkbob/ZkBobSequencer.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -509,8 +509,6 @@ abstract contract AbstractZkBobPoolSequencerTest is AbstractForkTest {
memo // 76
);

console2.log("commitData1", bytesToHexString(commitData));

commitData = _encodePermits(
commitData,
proxyPermitDigest, //64
Expand Down

0 comments on commit 456edeb

Please sign in to comment.