@@ -44,8 +44,7 @@ class AdvancedABIv2Tests: LocalTestCase {
4444 // MARK: Read data from ABI flow
4545 // MARK: - Encoding ABI Data flow
4646 let tx = contract. createReadOperation ( " testSingle " )
47- let testSingle = try await tx!. callContractMethod ( )
48-
47+ let _ = try await tx!. callContractMethod ( )
4948 }
5049
5150 func testAdvancedABIv2staticArray( ) async throws {
@@ -80,8 +79,7 @@ class AdvancedABIv2Tests: LocalTestCase {
8079 // MARK: Read data from ABI flow
8180 // MARK: - Encoding ABI Data flow
8281 let tx = contract. createReadOperation ( " testStaticArray " )
83- let testStaticArray = try await tx!. callContractMethod ( )
84-
82+ let _ = try await tx!. callContractMethod ( )
8583 }
8684
8785 func testAdvancedABIv2dynamicArray( ) async throws {
@@ -115,8 +113,7 @@ class AdvancedABIv2Tests: LocalTestCase {
115113 contract = web3. contract ( abiString, at: receipt. contractAddress, abiVersion: 2 ) !
116114
117115 let tx = contract. createReadOperation ( " testDynArray " )
118- let testDynArray = try await tx!. callContractMethod ( )
119-
116+ let _ = try await tx!. callContractMethod ( )
120117 }
121118
122119 func testAdvancedABIv2dynamicArrayOfStrings( ) async throws {
@@ -151,8 +148,7 @@ class AdvancedABIv2Tests: LocalTestCase {
151148 // MARK: Read data from ABI flow
152149 // MARK: - Encoding ABI Data flow
153150 let tx = contract. createReadOperation ( " testDynOfDyn " )
154- let testDynOfDyn = try await tx!. callContractMethod ( )
155-
151+ let _ = try await tx!. callContractMethod ( )
156152 }
157153
158154 func testAdvancedABIv2staticArrayOfStrings( ) async throws {
@@ -187,8 +183,7 @@ class AdvancedABIv2Tests: LocalTestCase {
187183 // MARK: Read data from ABI flow
188184 // MARK: - Encoding ABI Data flow
189185 let tx = contract. createReadOperation ( " testStOfDyn " )
190- let testStOfDyn = try await tx!. callContractMethod ( )
191-
186+ let _ = try await tx!. callContractMethod ( )
192187 }
193188
194189 func testEmptyArrayDecoding( ) async throws {
0 commit comments