@@ -15,7 +15,6 @@ import Core
1515// MARK: Works only with network connection
1616class ST20AndSecurityTokenTests : XCTestCase {
1717
18- < <<<<<< HEAD
1918 func testERC20TokenCreation( ) async throws {
2019 let web3 = await Web3 . InfuraGoerliWeb3 ( accessToken: Constants . infuraToken)
2120 let w3sTokenAddress = EthereumAddress ( " 0x33d191db2486e0d245b44fde3fae5ed667d5694b " ) !
@@ -25,19 +24,6 @@ class ST20AndSecurityTokenTests: XCTestCase {
2524 XCTAssertEqual ( st20token. name ( ) , " Mimi " )
2625 XCTAssertEqual ( st20token. decimals ( ) , 18 )
2726 }
28- =======
29- // FIXME: Enable me back again
30- // Test fails because there's no such wallet on goerli chain as well as token.
31- // func testERC20TokenCreation() async throws {
32- // let web3 = await Web3.InfuraGoerliWeb3(accessToken: Constants.infuraToken)
33- // let w3sTokenAddress = EthereumAddress("0x2dD33957C90880bE4Ee9fd5F703110BDA2E579EC")!
34- // let st20token = ST20.init(web3: web3, provider: web3.provider, address: w3sTokenAddress)
35- // try await st20token.readProperties()
36- // XCTAssertEqual(st20token.symbol(), "MIMI")
37- // XCTAssertEqual(st20token.name(), "Mimi")
38- // XCTAssertEqual(st20token.decimals(), 18)
39- // }
40- >>>>>>> develop- upstream
4127
4228 func testST20tokenBalanceAndAllowance( ) async throws {
4329 let web3 = await Web3 . InfuraGoerliWeb3 ( accessToken: Constants . infuraToken)
0 commit comments