File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed
Tests/web3swiftTests/localTests Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -117,11 +117,17 @@ class UncategorizedTests: XCTestCase {
117117 let contract = web3. contract ( jsonString, at: addr, abiVersion: 2 )
118118 XCTAssert ( contract != nil )
119119 let allMethods = contract!. contract. allMethods
120- let userDeviceCount = try await contract!. read ( " userDeviceCount " , parameters: [ addr as AnyObject ] ) ? . decodedData ( )
120+ let userDeviceCount = try await contract!
121+ . read ( " userDeviceCount " , parameters: [ addr as AnyObject ] ) ?
122+ . decodedData ( )
121123 print ( userDeviceCount!)
122- let totalUsers = try await contract!. read ( " totalUsers " , parameters: [ ] ) ? . decodedData ( )
124+ let totalUsers = try await contract!
125+ . read ( " totalUsers " , parameters: [ ] ) ?
126+ . decodedData ( )
123127 print ( totalUsers!)
124- let user = try await contract!. read ( " users " , parameters: [ 0 as AnyObject ] ) ? . decodedData ( )
128+ let user = try await contract!
129+ . read ( " users " , parameters: [ 0 as AnyObject ] ) ?
130+ . decodedData ( )
125131 print ( user!)
126132 print ( allMethods)
127133 }
You can’t perform that action at this time.
0 commit comments