From 5077deb285003271abdf9491e1fc794ac5b9f6c4 Mon Sep 17 00:00:00 2001 From: Djordje Mijovic Date: Wed, 25 Nov 2020 15:13:57 +0100 Subject: [PATCH] Fixing pragmas to abicoder v2. --- .../array/copying/array_nested_calldata_to_memory.sol | 2 +- .../array/copying/array_of_struct_calldata_to_memory.sol | 2 +- .../array_of_structs_containing_arrays_calldata_to_memory.sol | 2 +- .../semanticTests/structs/calldata/calldata_nested_structs.sol | 2 +- .../calldata/calldata_struct_as_argument_of_lib_function.sol | 2 +- .../structs/calldata/calldata_struct_as_memory_argument.sol | 2 +- .../calldata/calldata_struct_to_memory_tuple_assignment.sol | 2 +- .../structs/calldata/calldata_struct_with_array_to_memory.sol | 2 +- .../structs/calldata/calldata_struct_with_bytes_to_memory.sol | 2 +- .../calldata/calldata_struct_with_nested_array_to_memory.sol | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/test/libsolidity/semanticTests/array/copying/array_nested_calldata_to_memory.sol b/test/libsolidity/semanticTests/array/copying/array_nested_calldata_to_memory.sol index 6759b7e81..dbafccf9c 100644 --- a/test/libsolidity/semanticTests/array/copying/array_nested_calldata_to_memory.sol +++ b/test/libsolidity/semanticTests/array/copying/array_nested_calldata_to_memory.sol @@ -1,4 +1,4 @@ -pragma experimental ABIEncoderV2; +pragma abicoder v2; contract c { function test1(uint256[][] calldata c) external returns (uint256, uint256) { diff --git a/test/libsolidity/semanticTests/array/copying/array_of_struct_calldata_to_memory.sol b/test/libsolidity/semanticTests/array/copying/array_of_struct_calldata_to_memory.sol index e7c39f3f3..82cde13af 100644 --- a/test/libsolidity/semanticTests/array/copying/array_of_struct_calldata_to_memory.sol +++ b/test/libsolidity/semanticTests/array/copying/array_of_struct_calldata_to_memory.sol @@ -1,4 +1,4 @@ -pragma experimental ABIEncoderV2; +pragma abicoder v2; contract C { struct S { diff --git a/test/libsolidity/semanticTests/array/copying/array_of_structs_containing_arrays_calldata_to_memory.sol b/test/libsolidity/semanticTests/array/copying/array_of_structs_containing_arrays_calldata_to_memory.sol index e1f2c76e2..13e05c4ee 100644 --- a/test/libsolidity/semanticTests/array/copying/array_of_structs_containing_arrays_calldata_to_memory.sol +++ b/test/libsolidity/semanticTests/array/copying/array_of_structs_containing_arrays_calldata_to_memory.sol @@ -1,4 +1,4 @@ -pragma experimental ABIEncoderV2; +pragma abicoder v2; contract C { struct S { diff --git a/test/libsolidity/semanticTests/structs/calldata/calldata_nested_structs.sol b/test/libsolidity/semanticTests/structs/calldata/calldata_nested_structs.sol index 5a5728e06..72e65b9ef 100644 --- a/test/libsolidity/semanticTests/structs/calldata/calldata_nested_structs.sol +++ b/test/libsolidity/semanticTests/structs/calldata/calldata_nested_structs.sol @@ -1,4 +1,4 @@ -pragma experimental ABIEncoderV2; +pragma abicoder v2; contract C { struct S { diff --git a/test/libsolidity/semanticTests/structs/calldata/calldata_struct_as_argument_of_lib_function.sol b/test/libsolidity/semanticTests/structs/calldata/calldata_struct_as_argument_of_lib_function.sol index 3d82da599..ea405da90 100644 --- a/test/libsolidity/semanticTests/structs/calldata/calldata_struct_as_argument_of_lib_function.sol +++ b/test/libsolidity/semanticTests/structs/calldata/calldata_struct_as_argument_of_lib_function.sol @@ -1,4 +1,4 @@ -pragma experimental ABIEncoderV2; +pragma abicoder v2; struct S { uint128 p1; diff --git a/test/libsolidity/semanticTests/structs/calldata/calldata_struct_as_memory_argument.sol b/test/libsolidity/semanticTests/structs/calldata/calldata_struct_as_memory_argument.sol index 3361bada6..ae7bea152 100644 --- a/test/libsolidity/semanticTests/structs/calldata/calldata_struct_as_memory_argument.sol +++ b/test/libsolidity/semanticTests/structs/calldata/calldata_struct_as_memory_argument.sol @@ -1,4 +1,4 @@ -pragma experimental ABIEncoderV2; +pragma abicoder v2; contract C { struct S { diff --git a/test/libsolidity/semanticTests/structs/calldata/calldata_struct_to_memory_tuple_assignment.sol b/test/libsolidity/semanticTests/structs/calldata/calldata_struct_to_memory_tuple_assignment.sol index ed3d2e151..9d928fb6a 100644 --- a/test/libsolidity/semanticTests/structs/calldata/calldata_struct_to_memory_tuple_assignment.sol +++ b/test/libsolidity/semanticTests/structs/calldata/calldata_struct_to_memory_tuple_assignment.sol @@ -1,4 +1,4 @@ -pragma experimental ABIEncoderV2; +pragma abicoder v2; contract C { struct S { diff --git a/test/libsolidity/semanticTests/structs/calldata/calldata_struct_with_array_to_memory.sol b/test/libsolidity/semanticTests/structs/calldata/calldata_struct_with_array_to_memory.sol index 5f6aaa07d..25530a181 100644 --- a/test/libsolidity/semanticTests/structs/calldata/calldata_struct_with_array_to_memory.sol +++ b/test/libsolidity/semanticTests/structs/calldata/calldata_struct_with_array_to_memory.sol @@ -1,4 +1,4 @@ -pragma experimental ABIEncoderV2; +pragma abicoder v2; contract C { struct S { diff --git a/test/libsolidity/semanticTests/structs/calldata/calldata_struct_with_bytes_to_memory.sol b/test/libsolidity/semanticTests/structs/calldata/calldata_struct_with_bytes_to_memory.sol index 79c7677c3..fba9a8e72 100644 --- a/test/libsolidity/semanticTests/structs/calldata/calldata_struct_with_bytes_to_memory.sol +++ b/test/libsolidity/semanticTests/structs/calldata/calldata_struct_with_bytes_to_memory.sol @@ -1,4 +1,4 @@ -pragma experimental ABIEncoderV2; +pragma abicoder v2; contract C { struct S { diff --git a/test/libsolidity/semanticTests/structs/calldata/calldata_struct_with_nested_array_to_memory.sol b/test/libsolidity/semanticTests/structs/calldata/calldata_struct_with_nested_array_to_memory.sol index 40d14e66f..a84c88851 100644 --- a/test/libsolidity/semanticTests/structs/calldata/calldata_struct_with_nested_array_to_memory.sol +++ b/test/libsolidity/semanticTests/structs/calldata/calldata_struct_with_nested_array_to_memory.sol @@ -1,4 +1,4 @@ -pragma experimental ABIEncoderV2; +pragma abicoder v2; contract C { struct S {