Skip to content

Commit 940bbc3

Browse files
authored
Fix insta snapshots for fork tests (#3929)
<!-- A brief description of the changes --> - Fix snapshots for fork tests (not updated after changing address format in tables)
1 parent 616e790 commit 940bbc3

File tree

3 files changed

+60
-60
lines changed

3 files changed

+60
-60
lines changed

crates/forge/tests/e2e/snapshots/[email protected]

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@ source: crates/forge/tests/e2e/gas_report.rs
33
expression: stdout
44
---
55
[PASS] forking::tests::test_track_resources (l1_gas: ~0, l1_data_gas: ~320, l2_gas: ~513850)
6-
-------------------------+-------+-------+-------+---------+---------
7-
| forked contract | | | | | |
8-
| (class hash: 0x06…1550) | | | | | |
9-
+=====================================================================+
10-
| Function Name | Min | Max | Avg | Std Dev | # Calls |
11-
|-------------------------+-------+-------+-------+---------+---------|
12-
| get_balance | 40000 | 40000 | 40000 | 0 | 1 |
13-
|-------------------------+-------+-------+-------+---------+---------|
14-
| increase_balance | 40000 | 40000 | 40000 | 0 | 1 |
15-
╰-------------------------+-------+-------+-------+---------+---------╯
6+
---------------------------+-------+-------+-------+---------+---------
7+
| forked contract | | | | | |
8+
| (class hash: 0x06a7…1550) | | | | | |
9+
+=======================================================================+
10+
| Function Name | Min | Max | Avg | Std Dev | # Calls |
11+
|---------------------------+-------+-------+-------+---------+---------|
12+
| get_balance | 40000 | 40000 | 40000 | 0 | 1 |
13+
|---------------------------+-------+-------+-------+---------+---------|
14+
| increase_balance | 40000 | 40000 | 40000 | 0 | 1 |
15+
╰---------------------------+-------+-------+-------+---------+---------╯
1616

17-
╭-------------------------+-------+-------+-------+---------+---------╮
18-
| forked contract | | | | | |
19-
| (class hash: 0x07af4b) | | | | | |
20-
+=====================================================================+
21-
| Function Name | Min | Max | Avg | Std Dev | # Calls |
22-
|-------------------------+-------+-------+-------+---------+---------|
23-
| get_balance | 13840 | 13840 | 13840 | 0 | 1 |
24-
|-------------------------+-------+-------+-------+---------+---------|
25-
| increase_balance | 25840 | 25840 | 25840 | 0 | 1 |
26-
╰-------------------------+-------+-------+-------+---------+---------╯
17+
╭---------------------------+-------+-------+-------+---------+---------╮
18+
| forked contract | | | | | |
19+
| (class hash: 0x07aaaf4b) | | | | | |
20+
+=======================================================================+
21+
| Function Name | Min | Max | Avg | Std Dev | # Calls |
22+
|---------------------------+-------+-------+-------+---------+---------|
23+
| get_balance | 13840 | 13840 | 13840 | 0 | 1 |
24+
|---------------------------+-------+-------+-------+---------+---------|
25+
| increase_balance | 25840 | 25840 | 25840 | 0 | 1 |
26+
╰---------------------------+-------+-------+-------+---------+---------╯

crates/forge/tests/e2e/snapshots/[email protected]

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@ source: crates/forge/tests/e2e/gas_report.rs
33
expression: stdout
44
---
55
[PASS] forking::tests::test_track_resources (l1_gas: ~0, l1_data_gas: ~320, l2_gas: ~509780)
6-
-------------------------+-------+-------+-------+---------+---------
7-
| forked contract | | | | | |
8-
| (class hash: 0x06…1550) | | | | | |
9-
+=====================================================================+
10-
| Function Name | Min | Max | Avg | Std Dev | # Calls |
11-
|-------------------------+-------+-------+-------+---------+---------|
12-
| get_balance | 40000 | 40000 | 40000 | 0 | 1 |
13-
|-------------------------+-------+-------+-------+---------+---------|
14-
| increase_balance | 40000 | 40000 | 40000 | 0 | 1 |
15-
╰-------------------------+-------+-------+-------+---------+---------╯
6+
---------------------------+-------+-------+-------+---------+---------
7+
| forked contract | | | | | |
8+
| (class hash: 0x06a7…1550) | | | | | |
9+
+=======================================================================+
10+
| Function Name | Min | Max | Avg | Std Dev | # Calls |
11+
|---------------------------+-------+-------+-------+---------+---------|
12+
| get_balance | 40000 | 40000 | 40000 | 0 | 1 |
13+
|---------------------------+-------+-------+-------+---------+---------|
14+
| increase_balance | 40000 | 40000 | 40000 | 0 | 1 |
15+
╰---------------------------+-------+-------+-------+---------+---------╯
1616

17-
╭-------------------------+-------+-------+-------+---------+---------╮
18-
| forked contract | | | | | |
19-
| (class hash: 0x07af4b) | | | | | |
20-
+=====================================================================+
21-
| Function Name | Min | Max | Avg | Std Dev | # Calls |
22-
|-------------------------+-------+-------+-------+---------+---------|
23-
| get_balance | 13840 | 13840 | 13840 | 0 | 1 |
24-
|-------------------------+-------+-------+-------+---------+---------|
25-
| increase_balance | 25840 | 25840 | 25840 | 0 | 1 |
26-
╰-------------------------+-------+-------+-------+---------+---------╯
17+
╭---------------------------+-------+-------+-------+---------+---------╮
18+
| forked contract | | | | | |
19+
| (class hash: 0x07aaaf4b) | | | | | |
20+
+=======================================================================+
21+
| Function Name | Min | Max | Avg | Std Dev | # Calls |
22+
|---------------------------+-------+-------+-------+---------+---------|
23+
| get_balance | 13840 | 13840 | 13840 | 0 | 1 |
24+
|---------------------------+-------+-------+-------+---------+---------|
25+
| increase_balance | 25840 | 25840 | 25840 | 0 | 1 |
26+
╰---------------------------+-------+-------+-------+---------+---------╯

crates/forge/tests/e2e/snapshots/[email protected]

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,24 +3,24 @@ source: crates/forge/tests/e2e/gas_report.rs
33
expression: stdout
44
---
55
[PASS] forking::tests::test_track_resources (l1_gas: ~0, l1_data_gas: ~320, l2_gas: ~509780)
6-
-------------------------+-------+-------+-------+---------+---------
7-
| forked contract | | | | | |
8-
| (class hash: 0x06…1550) | | | | | |
9-
+=====================================================================+
10-
| Function Name | Min | Max | Avg | Std Dev | # Calls |
11-
|-------------------------+-------+-------+-------+---------+---------|
12-
| get_balance | 40000 | 40000 | 40000 | 0 | 1 |
13-
|-------------------------+-------+-------+-------+---------+---------|
14-
| increase_balance | 40000 | 40000 | 40000 | 0 | 1 |
15-
╰-------------------------+-------+-------+-------+---------+---------╯
6+
---------------------------+-------+-------+-------+---------+---------
7+
| forked contract | | | | | |
8+
| (class hash: 0x06a7…1550) | | | | | |
9+
+=======================================================================+
10+
| Function Name | Min | Max | Avg | Std Dev | # Calls |
11+
|---------------------------+-------+-------+-------+---------+---------|
12+
| get_balance | 40000 | 40000 | 40000 | 0 | 1 |
13+
|---------------------------+-------+-------+-------+---------+---------|
14+
| increase_balance | 40000 | 40000 | 40000 | 0 | 1 |
15+
╰---------------------------+-------+-------+-------+---------+---------╯
1616

17-
╭-------------------------+-------+-------+-------+---------+---------╮
18-
| forked contract | | | | | |
19-
| (class hash: 0x07af4b) | | | | | |
20-
+=====================================================================+
21-
| Function Name | Min | Max | Avg | Std Dev | # Calls |
22-
|-------------------------+-------+-------+-------+---------+---------|
23-
| get_balance | 13840 | 13840 | 13840 | 0 | 1 |
24-
|-------------------------+-------+-------+-------+---------+---------|
25-
| increase_balance | 25840 | 25840 | 25840 | 0 | 1 |
26-
╰-------------------------+-------+-------+-------+---------+---------╯
17+
╭---------------------------+-------+-------+-------+---------+---------╮
18+
| forked contract | | | | | |
19+
| (class hash: 0x07aaaf4b) | | | | | |
20+
+=======================================================================+
21+
| Function Name | Min | Max | Avg | Std Dev | # Calls |
22+
|---------------------------+-------+-------+-------+---------+---------|
23+
| get_balance | 13840 | 13840 | 13840 | 0 | 1 |
24+
|---------------------------+-------+-------+-------+---------+---------|
25+
| increase_balance | 25840 | 25840 | 25840 | 0 | 1 |
26+
╰---------------------------+-------+-------+-------+---------+---------╯

0 commit comments

Comments
 (0)