Skip to content

Commit

Permalink
Expand working memory alloc
Browse files Browse the repository at this point in the history
  • Loading branch information
Agusx1211 committed Jan 23, 2024
1 parent 88b776c commit 905bfe6
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion foundry_test/modules/utils/L2CompressorHuffReadExecute.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { HuffDeployer } from "foundry-huff/HuffDeployer.sol";

import "contracts/modules/commons/interfaces/IModuleCalls.sol";

uint256 constant FMS = 0xa0;
uint256 constant FMS = 0xc0;

import "./L2CompressorEncoder.sol";

Expand Down
2 changes: 1 addition & 1 deletion foundry_test/modules/utils/L2CompressorHuffReadFlag.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { HuffDeployer } from "foundry-huff/HuffDeployer.sol";

import "./L2CompressorEncoder.sol";

uint256 constant FMS = 0xa0;
uint256 constant FMS = 0xc0;

contract L2CompressorHuffReadFlagTests is AdvTest {
address public imp;
Expand Down
2 changes: 1 addition & 1 deletion foundry_test/modules/utils/L2CompressorHuffReadNonce.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { HuffDeployer } from "foundry-huff/HuffDeployer.sol";

import "contracts/modules/commons/interfaces/IModuleCalls.sol";

uint256 constant FMS = 0xa0;
uint256 constant FMS = 0xc0;

import "./L2CompressorEncoder.sol";

Expand Down
2 changes: 1 addition & 1 deletion foundry_test/modules/utils/L2CompressorHuffReadTx.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import "contracts/modules/commons/interfaces/IModuleCalls.sol";

import "./L2CompressorEncoder.sol";

uint256 constant FMS = 0xa0;
uint256 constant FMS = 0xc0;

contract L2CompressorHuffReadTxTests is AdvTest {
address public imp;
Expand Down
2 changes: 1 addition & 1 deletion foundry_test/modules/utils/L2CompressorHuffReadTxs.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { HuffDeployer } from "foundry-huff/HuffDeployer.sol";

import "contracts/modules/commons/interfaces/IModuleCalls.sol";

uint256 constant FMS = 0xa0;
uint256 constant FMS = 0xc0;

import "./L2CompressorEncoder.sol";

Expand Down
4 changes: 2 additions & 2 deletions src/L2Compressor.huff
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#include "./Errors.huff"

#define constant ADDR_BYTES_STORAGE = 0x00
#define constant FMS = 0xa0
#define constant NESTED_READ_FLAG_RETURN_MSLOT = 0x80
#define constant FMS = 0xc0
#define constant NESTED_READ_FLAG_RETURN_MSLOT = 0xa0

#define constant FLAG_READ_BYTES32_2_BYTES = 0x27
#define constant FLAG_READ_ADDRESS_2_BYTES = 0x23
Expand Down
2 changes: 1 addition & 1 deletion src/imps/L2CompressorReadExecute.huff
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "../L2Compressor.huff"

#define constant FMS = 0xa0
#define constant FMS = 0xc0

// Function Dispatching
#define macro MAIN() = takes (1) returns (1) {
Expand Down
2 changes: 1 addition & 1 deletion src/imps/L2CompressorReadFlag.huff
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "../L2Compressor.huff"

#define constant FMS = 0xa0
#define constant FMS = 0xc0

// Function Dispatching
#define macro MAIN() = takes (1) returns (1) {
Expand Down
2 changes: 1 addition & 1 deletion src/imps/L2CompressorReadNonce.huff
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "../L2Compressor.huff"

#define constant FMS = 0xa0
#define constant FMS = 0xc0

// Function Dispatching
#define macro MAIN() = takes (1) returns (1) {
Expand Down
2 changes: 1 addition & 1 deletion src/imps/L2CompressorReadTx.huff
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "../L2Compressor.huff"

#define constant FMS = 0xa0
#define constant FMS = 0xc0

// Function Dispatching
#define macro MAIN() = takes (1) returns (1) {
Expand Down
2 changes: 1 addition & 1 deletion src/imps/L2CompressorReadTxs.huff
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#include "../L2Compressor.huff"

#define constant FMS = 0xa0
#define constant FMS = 0xc0

// Function Dispatching
#define macro MAIN() = takes (1) returns (1) {
Expand Down

0 comments on commit 905bfe6

Please sign in to comment.