Skip to content

Commit 9edf8d6

Browse files
committed
Partial output update
1 parent a27baba commit 9edf8d6

13 files changed

+6074
-3008
lines changed

src/tests/integration/test-data/show/AddConst.applyOp(uint256).cse.expected

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ module SUMMARY-SRC%CSE%ADDCONST.APPLYOP(UINT256):0
126126
<callGas>
127127
0
128128
</callGas>
129+
<callDepth>
130+
CALLDEPTH_CELL:Int
131+
</callDepth>
129132
...
130133
</callState>
131134
<substate>
@@ -179,6 +182,18 @@ module SUMMARY-SRC%CSE%ADDCONST.APPLYOP(UINT256):0
179182
true
180183
</stackChecks>
181184
<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>
182197
<expectedOpcode>
183198
<isOpcodeExpected>
184199
false
@@ -238,6 +253,8 @@ module SUMMARY-SRC%CSE%ADDCONST.APPLYOP(UINT256):0
238253
andBool ( NUMBER_CELL:Int <Int pow32
239254
andBool ( 1073741824 <Int TIMESTAMP_CELL:Int
240255
andBool ( TIMESTAMP_CELL:Int <Int 34359738368
256+
andBool ( DEPTH_CELL:Int <Int CALLDEPTH_CELL:Int
257+
andBool ( EXPECTEDDEPTH_CELL:Int <Int CALLDEPTH_CELL:Int
241258
andBool ( C_ADDCONST_NONCE:Int <Int maxUInt64
242259
andBool ( CALLER_ID:Int =/=Int 645326474426547203313410069153905908525362434349
243260
andBool ( ORIGIN_ID:Int =/=Int 645326474426547203313410069153905908525362434349
@@ -254,7 +271,7 @@ module SUMMARY-SRC%CSE%ADDCONST.APPLYOP(UINT256):0
254271
andBool ( ( notBool #range ( 0 < ORIGIN_ID:Int <= 10 ) )
255272
andBool ( ( notBool #range ( 0 < C_ADDCONST_ID:Int <= 10 ) )
256273
andBool ( KV0_x:Int <=Int ( maxUInt256 -Int #lookup ( C_ADDCONST_STORAGE:Map , 0 ) )
257-
))))))))))))))))))))))))
274+
))))))))))))))))))))))))))
258275
[priority(20), label(BASIC-BLOCK-8-TO-6)]
259276

260277
rule [BASIC-BLOCK-9-TO-7]: <foundry>
@@ -305,6 +322,9 @@ module SUMMARY-SRC%CSE%ADDCONST.APPLYOP(UINT256):0
305322
<callGas>
306323
0
307324
</callGas>
325+
<callDepth>
326+
CALLDEPTH_CELL:Int
327+
</callDepth>
308328
...
309329
</callState>
310330
<substate>
@@ -358,6 +378,18 @@ module SUMMARY-SRC%CSE%ADDCONST.APPLYOP(UINT256):0
358378
true
359379
</stackChecks>
360380
<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>
361393
<expectedOpcode>
362394
<isOpcodeExpected>
363395
false
@@ -417,6 +449,8 @@ module SUMMARY-SRC%CSE%ADDCONST.APPLYOP(UINT256):0
417449
andBool ( NUMBER_CELL:Int <Int pow32
418450
andBool ( 1073741824 <Int TIMESTAMP_CELL:Int
419451
andBool ( TIMESTAMP_CELL:Int <Int 34359738368
452+
andBool ( DEPTH_CELL:Int <Int CALLDEPTH_CELL:Int
453+
andBool ( EXPECTEDDEPTH_CELL:Int <Int CALLDEPTH_CELL:Int
420454
andBool ( C_ADDCONST_NONCE:Int <Int maxUInt64
421455
andBool ( CALLER_ID:Int =/=Int 645326474426547203313410069153905908525362434349
422456
andBool ( ORIGIN_ID:Int =/=Int 645326474426547203313410069153905908525362434349
@@ -433,7 +467,7 @@ module SUMMARY-SRC%CSE%ADDCONST.APPLYOP(UINT256):0
433467
andBool ( ( notBool #range ( 0 < ORIGIN_ID:Int <= 10 ) )
434468
andBool ( ( notBool #range ( 0 < C_ADDCONST_ID:Int <= 10 ) )
435469
andBool ( ( maxUInt256 -Int #lookup ( C_ADDCONST_STORAGE:Map , 0 ) ) <Int KV0_x:Int
436-
))))))))))))))))))))))))
470+
))))))))))))))))))))))))))
437471
[priority(20), label(BASIC-BLOCK-9-TO-7)]
438472

439473
endmodule

0 commit comments

Comments
 (0)