@@ -10,20 +10,27 @@ BIN := bin
10
10
11
11
BLAKE2f_MODEXP_DATA := blake2fmodexpdata
12
12
13
- # with gaslimit for ethereum file
14
- BLOCKDATA_FOR_REFERENCE_TESTS := $(wildcard blockdata/* .lisp) \
15
- $(wildcard blockdata/processing/* .lisp) \
16
- $(wildcard blockdata/processing/gaslimit/common.lisp) \
17
- $(wildcard blockdata/processing/gaslimit/ethereum.lisp) \
18
- $(wildcard blockdata/lookups/* .lisp)
19
-
20
- # with gaslimit for linea file
13
+ # constraints used in prod for LINEA, with linea block gas limit
21
14
BLOCKDATA_FOR_LINEA := $(wildcard blockdata/* .lisp) \
22
15
$(wildcard blockdata/processing/* .lisp) \
23
16
$(wildcard blockdata/processing/gaslimit/common.lisp) \
24
17
$(wildcard blockdata/processing/gaslimit/linea.lisp) \
25
18
$(wildcard blockdata/lookups/* .lisp)
26
19
20
+ # with gaslimit for old replay tests (ie without the constraint BLOCK_GAS_LIMIT = LINEA_BLOCK_GAS_LIMIT = 2 000 000 000)
21
+ BLOCKDATA_FOR_OLD_REPLAY_TESTS := $(wildcard blockdata/* .lisp) \
22
+ $(wildcard blockdata/processing/* .lisp) \
23
+ $(wildcard blockdata/processing/gaslimit/common.lisp) \
24
+ $(wildcard blockdata/processing/gaslimit/old_replay_test.lisp) \
25
+ $(wildcard blockdata/lookups/* .lisp)
26
+
27
+ # with gaslimit for ethereum file (used for reference tests)
28
+ BLOCKDATA_FOR_REFERENCE_TESTS := $(wildcard blockdata/* .lisp) \
29
+ $(wildcard blockdata/processing/* .lisp) \
30
+ $(wildcard blockdata/processing/gaslimit/common.lisp) \
31
+ $(wildcard blockdata/processing/gaslimit/ethereum.lisp) \
32
+ $(wildcard blockdata/lookups/* .lisp)
33
+
27
34
BLOCKHASH := blockhash
28
35
29
36
CONSTANTS := constants/constants.lisp
@@ -111,6 +118,42 @@ ZKEVM_MODULES := ${CONSTANTS} \
111
118
zkevm.bin : ${ZKEVM_MODULES}
112
119
${GO_CORSET_COMPILE} -o $@ ${ZKEVM_MODULES}
113
120
121
+ # Corset is order sensitive - to compile, we load the constants first
122
+ ZKEVM_MODULES_FOR_OLD_REPLAY_TESTS := ${CONSTANTS} \
123
+ ${ALU} \
124
+ ${BIN} \
125
+ ${BLAKE2f_MODEXP_DATA} \
126
+ ${BLOCKDATA_FOR_OLD_REPLAY_TESTS} \
127
+ ${BLOCKHASH} \
128
+ ${EC_DATA} \
129
+ ${EUC} \
130
+ ${EXP} \
131
+ ${GAS} \
132
+ ${HUB} \
133
+ ${LIBRARY} \
134
+ ${LOG_DATA} \
135
+ ${LOG_INFO} \
136
+ ${MMIO} \
137
+ ${MMU} \
138
+ ${MXP} \
139
+ ${OOB} \
140
+ ${RLP_ADDR} \
141
+ ${RLP_TXN} \
142
+ ${RLP_TXRCPT} \
143
+ ${ROM} \
144
+ ${ROM_LEX} \
145
+ ${SHAKIRA_DATA} \
146
+ ${SHIFT} \
147
+ ${STP} \
148
+ ${TABLES} \
149
+ ${TRM} \
150
+ ${TXN_DATA} \
151
+ ${WCP}
152
+
153
+
154
+ zkevm_for_reference_tests.bin : ${ZKEVM_MODULES_FOR_OLD_REPLAY_TESTS}
155
+ ${GO_CORSET_COMPILE} -o $@ ${ZKEVM_MODULES_FOR_OLD_REPLAY_TESTS}
156
+
114
157
# Corset is order sensitive - to compile, we load the constants first
115
158
ZKEVM_MODULES_FOR_REFERENCE_TESTS := ${CONSTANTS} \
116
159
${ALU} \
@@ -144,5 +187,5 @@ ZKEVM_MODULES_FOR_REFERENCE_TESTS := ${CONSTANTS} \
144
187
${WCP}
145
188
146
189
147
- zkevm_for_reference_tests .bin : ${ZKEVM_MODULES_FOR_REFERENCE_TESTS}
190
+ zkevm_for_old_replay_tests .bin : ${ZKEVM_MODULES_FOR_REFERENCE_TESTS}
148
191
${GO_CORSET_COMPILE} -o $@ ${ZKEVM_MODULES_FOR_REFERENCE_TESTS}
0 commit comments