Skip to content

Commit a13d53e

Browse files
fixup! update semantic tests
1 parent 3b95708 commit a13d53e

File tree

5 files changed

+5
-11
lines changed

5 files changed

+5
-11
lines changed

test/libsolidity/semanticTests/storageLayoutSpecifier/delete.sol

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ contract C layout at 42 {
2424
// gas legacyOptimized: 110307
2525
// arrayLength() -> 3
2626
// array(uint256): 2 -> 3
27-
// gas legacy: 110686
2827
// deleteLast() ->
2928
// array(uint256): 2 -> 0
3029
// deleteArray() ->

test/libsolidity/semanticTests/storageLayoutSpecifier/mapping_storage_end.sol

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ contract C layout at 2**256 - 2 {
1414
// ----
1515
// init() ->
1616
// gas irOptimized: 22266229
17-
// gas legacy: 22447223
17+
// gas legacy: 22447245
1818
// gas legacyOptimized: 22310238
1919
// validate() ->
2020
// gas irOptimized: 2279210
21-
// gas legacy: 2456245
21+
// gas legacy: 2456223
2222
// gas legacyOptimized: 2327216

test/libsolidity/semanticTests/storageLayoutSpecifier/multiple_inheritance.sol

-3
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,3 @@ contract D is A, B, C layout at 42 {
3838
// y() -> 2
3939
// w() -> 3
4040
// z() -> 5
41-
// gas irOptimized: 110016
42-
// gas legacy: 111859
43-
// gas legacyOptimized: 110911

test/libsolidity/semanticTests/storageLayoutSpecifier/state_variable_dynamic_array.sol

+2-4
Original file line numberDiff line numberDiff line change
@@ -35,18 +35,16 @@ contract C is A layout at 42 {
3535
// ----
3636
// initA() -> 1, 2, 3
3737
// gas irOptimized: 111986
38-
// gas legacy: 111591
38+
// gas legacy: 111679
3939
// gas legacyOptimized: 111150
4040
// arrayA(uint256): 0 -> 1
4141
// arrayALength() -> 3
4242
// arrayCLength() -> 0
4343
// initCFromAInReverse() -> 3, 2, 1
4444
// gas irOptimized: 121276
45+
// gas legacy: 121213
4546
// gas legacyOptimized: 120843
4647
// clearA() ->
47-
// gas irOptimized: 115467
48-
// gas legacy: 114472
49-
// gas legacyOptimized: 114101
5048
// arrayC(uint256): 0 -> 3
5149
// arrayALength() -> 0
5250
// arrayCLength() -> 3

test/libsolidity/semanticTests/storageLayoutSpecifier/storage_reference_array.sol

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ contract C layout at 42 {
1515
// ----
1616
// initUsingReference() ->
1717
// gas irOptimized: 273556
18-
// gas legacy: 274751
18+
// gas legacy: 274795
1919
// gas legacyOptimized: 271954
2020
// array(uint256): 0 -> 1
2121
// array(uint256): 9 -> 10

0 commit comments

Comments
 (0)