-
Notifications
You must be signed in to change notification settings - Fork 187
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
25 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
crates/tests/src/snapshots/fe_compiler_tests__features__case_001.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
source: crates/tests/src/features.rs | ||
expression: "format!(\"{}\", harness.gas_reporter)" | ||
|
||
--- | ||
bar([]) used 143 gas | ||
bar([]) used 2323 gas | ||
|
3 changes: 2 additions & 1 deletion
3
crates/tests/src/snapshots/fe_compiler_tests__features__case_002.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
source: crates/tests/src/features.rs | ||
expression: "format!(\"{}\", harness.gas_reporter)" | ||
|
||
--- | ||
bar([]) used 1020 gas | ||
bar([]) used 1074 gas | ||
|
3 changes: 2 additions & 1 deletion
3
crates/tests/src/snapshots/fe_compiler_tests__features__case_004.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
source: crates/tests/src/features.rs | ||
expression: "format!(\"{}\", harness.gas_reporter)" | ||
|
||
--- | ||
bar([]) used 759 gas | ||
bar([]) used 813 gas | ||
|
3 changes: 2 additions & 1 deletion
3
crates/tests/src/snapshots/fe_compiler_tests__features__case_005.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
source: crates/tests/src/features.rs | ||
expression: "format!(\"{}\", harness.gas_reporter)" | ||
|
||
--- | ||
bar([]) used 1658 gas | ||
bar([]) used 1745 gas | ||
|
3 changes: 2 additions & 1 deletion
3
crates/tests/src/snapshots/fe_compiler_tests__features__case_13.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
source: crates/tests/src/features.rs | ||
expression: "format!(\"{}\", harness.gas_reporter)" | ||
|
||
--- | ||
add_from_mem([Uint(2), Uint(5)]) used 643 gas | ||
add_from_mem([Uint(2), Uint(5)]) used 819 gas | ||
|
3 changes: 2 additions & 1 deletion
3
crates/tests/src/snapshots/fe_compiler_tests__features__events.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
--- | ||
source: crates/tests/src/features.rs | ||
expression: "format!(\"{}\", harness.gas_reporter)" | ||
|
||
--- | ||
emit_nums([]) used 1600 gas | ||
emit_bases([Address(0x1234000000000000000000000000000000005678)]) used 1676 gas | ||
emit_mix([Address(0x1234000000000000000000000000000000005678), Bytes([116, 101, 110, 32, 98, 121, 116, 101, 115, 46, 116, 101, 110, 32, 98, 121, 116, 101, 115, 46, 116, 101, 110, 32, 98, 121, 116, 101, 115, 46, 116, 101, 110, 32, 98, 121, 116, 101, 115, 46, 116, 101, 110, 32, 98, 121, 116, 101, 115, 46, 116, 101, 110, 32, 98, 121, 116, 101, 115, 46, 116, 101, 110, 32, 98, 121, 116, 101, 115, 46, 116, 101, 110, 32, 98, 121, 116, 101, 115, 46, 116, 101, 110, 32, 98, 121, 116, 101, 115, 46, 116, 101, 110, 32, 98, 121, 116, 101, 115, 46])]) used 4833 gas | ||
emit_addresses([Address(0x1234000000000000000000000000000000005678), Address(0x9123000000000000000000000000000000004567)]) used 2344 gas | ||
emit_addresses([Address(0x1234000000000000000000000000000000005678), Address(0x9123000000000000000000000000000000004567)]) used 2339 gas | ||
|
3 changes: 2 additions & 1 deletion
3
crates/tests/src/snapshots/fe_compiler_tests__features__external_contract.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,8 @@ | ||
--- | ||
source: crates/tests/src/features.rs | ||
expression: "format!(\"{}\", proxy_harness.gas_reporter)" | ||
|
||
--- | ||
call_emit_event([Address(0x5dddfce53ee040d9eb21afbc0ae1bb4dbb0ba643), Uint(26), FixedArray([Address(0x0000000000000000000000000000000000000000), Address(0x0000000000000000000000000000000000000001), Address(0x0000000000000000000000000000000000000042), Address(0x0000000000000000000000000000000000000003), Address(0x0000000000000000000000000000000000000004)]), String("hello world")]) used 8195 gas | ||
call_build_array([Address(0x5dddfce53ee040d9eb21afbc0ae1bb4dbb0ba643), Uint(26), Uint(42)]) used 1945 gas | ||
call_build_array([Address(0x5dddfce53ee040d9eb21afbc0ae1bb4dbb0ba643), Uint(26), Uint(42)]) used 1978 gas | ||
|
3 changes: 2 additions & 1 deletion
3
crates/tests/src/snapshots/fe_compiler_tests__features__multi_param.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
source: crates/tests/src/features.rs | ||
expression: "format!(\"{}\", harness.gas_reporter)" | ||
|
||
--- | ||
bar([Uint(4), Uint(42), Uint(420)]) used 579 gas | ||
bar([Uint(4), Uint(42), Uint(420)]) used 596 gas | ||
|
3 changes: 2 additions & 1 deletion
3
crates/tests/src/snapshots/fe_compiler_tests__features__return_array.snap
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
--- | ||
source: crates/tests/src/features.rs | ||
expression: "format!(\"{}\", harness.gas_reporter)" | ||
|
||
--- | ||
bar([Uint(42)]) used 727 gas | ||
bar([Uint(42)]) used 796 gas | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters