Skip to content

Commit 8dc6d07

Browse files
fixup! Update abi coder v1 tests
1 parent 64770dd commit 8dc6d07

File tree

30 files changed

+35
-35
lines changed

30 files changed

+35
-35
lines changed

test/libsolidity/syntaxTests/abiEncoder/conflicting_settings.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ pragma abicoder v2;
22
pragma abicoder v1;
33
// ----
44
// SyntaxError 3845: (34-53): ABI coder has already been selected for this source unit.
5-
// Warning 9511: (34-53): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9).
5+
// Warning 9511: (34-53): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9). Use ABI coder v2 instead.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pragma abicoder v1;
22
pragma abicoder v2;
33
// ----
4-
// Warning 9511: (0-19): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9).
4+
// Warning 9511: (0-19): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9). Use ABI coder v2 instead.
55
// SyntaxError 3845: (20-39): ABI coder has already been selected for this source unit.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
pragma abicoder v1;
22
pragma experimental ABIEncoderV2;
33
// ----
4-
// Warning 9511: (0-19): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9).
4+
// Warning 9511: (0-19): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9). Use ABI coder v2 instead.
55
// SyntaxError 8273: (20-53): ABI coder v1 has already been selected through "pragma abicoder v1".
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
pragma abicoder v1;
22
// ----
3-
// Warning 9511: (0-19): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9).
3+
// Warning 9511: (0-19): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9). Use ABI coder v2 instead.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
pragma abicoder "v1";
22
// ----
3-
// Warning 9511: (0-21): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9).
3+
// Warning 9511: (0-21): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9). Use ABI coder v2 instead.
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
pragma abicoder v1;
22
pragma abicoder v1;
33
// ----
4-
// Warning 9511: (0-19): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9).
4+
// Warning 9511: (0-19): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9). Use ABI coder v2 instead.
55
// SyntaxError 3845: (20-39): ABI coder has already been selected for this source unit.
6-
// Warning 9511: (20-39): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9).
6+
// Warning 9511: (20-39): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9). Use ABI coder v2 instead.

test/libsolidity/syntaxTests/abiEncoder/v1_accessing_public_state_variable_via_v1_type.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ contract D {
1616
// ====
1717
// bytecodeFormat: legacy
1818
// ----
19-
// Warning 9511: (0-19): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9).
19+
// Warning 9511: (0-19): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9). Use ABI coder v2 instead.

test/libsolidity/syntaxTests/abiEncoder/v1_accessing_public_state_variable_via_v2_type.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ contract D {
1414
}
1515
}
1616
// ----
17-
// Warning 9511: (0-19): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9).
17+
// Warning 9511: (0-19): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9). Use ABI coder v2 instead.
1818
// TypeError 7364: (222-260): Different number of components on the left hand side (1) than on the right hand side (2).
1919
// TypeError 9574: (222-260): Type uint256 is not implicitly convertible to expected type struct Item memory.

test/libsolidity/syntaxTests/abiEncoder/v1_call_to_v1_library_function_accepting_storage_struct.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ contract Test {
2222
// ====
2323
// bytecodeFormat: legacy
2424
// ----
25-
// Warning 9511: (B:0-19): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9).
25+
// Warning 9511: (B:0-19): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9). Use ABI coder v2 instead.

test/libsolidity/syntaxTests/abiEncoder/v1_call_to_v2_constructor_accepting_struct.sol

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@ contract Test {
1818
}
1919
}
2020
// ----
21-
// Warning 9511: (B:0-19): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9).
21+
// Warning 9511: (B:0-19): ABI coder v1 is deprecated and scheduled for removal in the next breaking version (0.9). Use ABI coder v2 instead.
2222
// TypeError 2443: (B:91-100): The type of this parameter, struct C.Item memory, is only supported in ABI coder v2. Use "pragma abicoder v2;" to enable the feature.

0 commit comments

Comments
 (0)