@@ -126,6 +126,9 @@ module SUMMARY-SRC%CSE%ADDCONST.APPLYOP(UINT256):0
126
126
<callGas>
127
127
0
128
128
</callGas>
129
+ <callDepth>
130
+ CALLDEPTH_CELL:Int
131
+ </callDepth>
129
132
...
130
133
</callState>
131
134
<substate>
@@ -179,6 +182,18 @@ module SUMMARY-SRC%CSE%ADDCONST.APPLYOP(UINT256):0
179
182
true
180
183
</stackChecks>
181
184
<cheatcodes>
185
+ <prank>
186
+ <depth>
187
+ DEPTH_CELL:Int
188
+ </depth>
189
+ ...
190
+ </prank>
191
+ <expectedRevert>
192
+ <expectedDepth>
193
+ EXPECTEDDEPTH_CELL:Int
194
+ </expectedDepth>
195
+ ...
196
+ </expectedRevert>
182
197
<expectedOpcode>
183
198
<isOpcodeExpected>
184
199
false
@@ -238,6 +253,8 @@ module SUMMARY-SRC%CSE%ADDCONST.APPLYOP(UINT256):0
238
253
andBool ( NUMBER_CELL:Int <Int pow32
239
254
andBool ( 1073741824 <Int TIMESTAMP_CELL:Int
240
255
andBool ( TIMESTAMP_CELL:Int <Int 34359738368
256
+ andBool ( DEPTH_CELL:Int <Int CALLDEPTH_CELL:Int
257
+ andBool ( EXPECTEDDEPTH_CELL:Int <Int CALLDEPTH_CELL:Int
241
258
andBool ( C_ADDCONST_NONCE:Int <Int maxUInt64
242
259
andBool ( CALLER_ID:Int =/=Int 645326474426547203313410069153905908525362434349
243
260
andBool ( ORIGIN_ID:Int =/=Int 645326474426547203313410069153905908525362434349
@@ -254,7 +271,7 @@ module SUMMARY-SRC%CSE%ADDCONST.APPLYOP(UINT256):0
254
271
andBool ( ( notBool #range ( 0 < ORIGIN_ID:Int <= 10 ) )
255
272
andBool ( ( notBool #range ( 0 < C_ADDCONST_ID:Int <= 10 ) )
256
273
andBool ( KV0_x:Int <=Int ( maxUInt256 -Int #lookup ( C_ADDCONST_STORAGE:Map , 0 ) )
257
- ))))))))))))))))))))))))
274
+ ))))))))))))))))))))))))))
258
275
[priority(20), label(BASIC-BLOCK-8-TO-6)]
259
276
260
277
rule [BASIC-BLOCK-9-TO-7]: <foundry>
@@ -305,6 +322,9 @@ module SUMMARY-SRC%CSE%ADDCONST.APPLYOP(UINT256):0
305
322
<callGas>
306
323
0
307
324
</callGas>
325
+ <callDepth>
326
+ CALLDEPTH_CELL:Int
327
+ </callDepth>
308
328
...
309
329
</callState>
310
330
<substate>
@@ -358,6 +378,18 @@ module SUMMARY-SRC%CSE%ADDCONST.APPLYOP(UINT256):0
358
378
true
359
379
</stackChecks>
360
380
<cheatcodes>
381
+ <prank>
382
+ <depth>
383
+ DEPTH_CELL:Int
384
+ </depth>
385
+ ...
386
+ </prank>
387
+ <expectedRevert>
388
+ <expectedDepth>
389
+ EXPECTEDDEPTH_CELL:Int
390
+ </expectedDepth>
391
+ ...
392
+ </expectedRevert>
361
393
<expectedOpcode>
362
394
<isOpcodeExpected>
363
395
false
@@ -417,6 +449,8 @@ module SUMMARY-SRC%CSE%ADDCONST.APPLYOP(UINT256):0
417
449
andBool ( NUMBER_CELL:Int <Int pow32
418
450
andBool ( 1073741824 <Int TIMESTAMP_CELL:Int
419
451
andBool ( TIMESTAMP_CELL:Int <Int 34359738368
452
+ andBool ( DEPTH_CELL:Int <Int CALLDEPTH_CELL:Int
453
+ andBool ( EXPECTEDDEPTH_CELL:Int <Int CALLDEPTH_CELL:Int
420
454
andBool ( C_ADDCONST_NONCE:Int <Int maxUInt64
421
455
andBool ( CALLER_ID:Int =/=Int 645326474426547203313410069153905908525362434349
422
456
andBool ( ORIGIN_ID:Int =/=Int 645326474426547203313410069153905908525362434349
@@ -433,7 +467,7 @@ module SUMMARY-SRC%CSE%ADDCONST.APPLYOP(UINT256):0
433
467
andBool ( ( notBool #range ( 0 < ORIGIN_ID:Int <= 10 ) )
434
468
andBool ( ( notBool #range ( 0 < C_ADDCONST_ID:Int <= 10 ) )
435
469
andBool ( ( maxUInt256 -Int #lookup ( C_ADDCONST_STORAGE:Map , 0 ) ) <Int KV0_x:Int
436
- ))))))))))))))))))))))))
470
+ ))))))))))))))))))))))))))
437
471
[priority(20), label(BASIC-BLOCK-9-TO-7)]
438
472
439
473
endmodule
0 commit comments