Skip to content

Commit

Permalink
Remove unused macro
Browse files Browse the repository at this point in the history
  • Loading branch information
Agusx1211 committed Jan 25, 2024
1 parent a464b62 commit 39da76c
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions src/L2Compressor.huff
Original file line number Diff line number Diff line change
Expand Up @@ -2041,16 +2041,6 @@
// output stack: [windex, rindex]
}

#define macro READ_MAX_UINT256() = takes (2) returns (2) {
// input stack: [windex, rindex]

0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff dup2 mstore
0x20 add // [windex + 0x20, rindex]

// output stack: [windex + 0x20, rindex]
}


#define macro READ_N_BYTES(nrfs) = takes (2) returns (2) {
// input stack: [windex, rindex]

Expand Down Expand Up @@ -2280,18 +2270,6 @@
0x00 mload 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff eq ASSERT() // []
}

#define test TEST_READ_MAX_UINT256() = {
0x00 // [rindex]
0x10 // [windex, rindex]

READ_MAX_UINT256() // [windex, rindex]

0x30 eq ASSERT() // [rindex]
0x00 eq ASSERT() // []

0x10 mload 0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff eq ASSERT() // []
}

#[calldata("0xb2d10eb37ef5838bb835ea71bbd4053daf8de7bd8ecdf638451a2bc966a145a899")]
#define test TEST_LOAD_DYNAMIC_SIZE() = {
0x00 // [rindex]
Expand Down

0 comments on commit 39da76c

Please sign in to comment.