@@ -44,8 +44,7 @@ class AdvancedABIv2Tests: LocalTestCase {
44
44
// MARK: Read data from ABI flow
45
45
// MARK: - Encoding ABI Data flow
46
46
let tx = contract. createReadOperation ( " testSingle " )
47
- let testSingle = try await tx!. callContractMethod ( )
48
-
47
+ let _ = try await tx!. callContractMethod ( )
49
48
}
50
49
51
50
func testAdvancedABIv2staticArray( ) async throws {
@@ -80,8 +79,7 @@ class AdvancedABIv2Tests: LocalTestCase {
80
79
// MARK: Read data from ABI flow
81
80
// MARK: - Encoding ABI Data flow
82
81
let tx = contract. createReadOperation ( " testStaticArray " )
83
- let testStaticArray = try await tx!. callContractMethod ( )
84
-
82
+ let _ = try await tx!. callContractMethod ( )
85
83
}
86
84
87
85
func testAdvancedABIv2dynamicArray( ) async throws {
@@ -115,8 +113,7 @@ class AdvancedABIv2Tests: LocalTestCase {
115
113
contract = web3. contract ( abiString, at: receipt. contractAddress, abiVersion: 2 ) !
116
114
117
115
let tx = contract. createReadOperation ( " testDynArray " )
118
- let testDynArray = try await tx!. callContractMethod ( )
119
-
116
+ let _ = try await tx!. callContractMethod ( )
120
117
}
121
118
122
119
func testAdvancedABIv2dynamicArrayOfStrings( ) async throws {
@@ -151,8 +148,7 @@ class AdvancedABIv2Tests: LocalTestCase {
151
148
// MARK: Read data from ABI flow
152
149
// MARK: - Encoding ABI Data flow
153
150
let tx = contract. createReadOperation ( " testDynOfDyn " )
154
- let testDynOfDyn = try await tx!. callContractMethod ( )
155
-
151
+ let _ = try await tx!. callContractMethod ( )
156
152
}
157
153
158
154
func testAdvancedABIv2staticArrayOfStrings( ) async throws {
@@ -187,8 +183,7 @@ class AdvancedABIv2Tests: LocalTestCase {
187
183
// MARK: Read data from ABI flow
188
184
// MARK: - Encoding ABI Data flow
189
185
let tx = contract. createReadOperation ( " testStOfDyn " )
190
- let testStOfDyn = try await tx!. callContractMethod ( )
191
-
186
+ let _ = try await tx!. callContractMethod ( )
192
187
}
193
188
194
189
func testEmptyArrayDecoding( ) async throws {
0 commit comments