@@ -15,7 +15,6 @@ import Core
15
15
// MARK: Works only with network connection
16
16
class ST20AndSecurityTokenTests : XCTestCase {
17
17
18
- < <<<<<< HEAD
19
18
func testERC20TokenCreation( ) async throws {
20
19
let web3 = await Web3 . InfuraGoerliWeb3 ( accessToken: Constants . infuraToken)
21
20
let w3sTokenAddress = EthereumAddress ( " 0x33d191db2486e0d245b44fde3fae5ed667d5694b " ) !
@@ -25,19 +24,6 @@ class ST20AndSecurityTokenTests: XCTestCase {
25
24
XCTAssertEqual ( st20token. name ( ) , " Mimi " )
26
25
XCTAssertEqual ( st20token. decimals ( ) , 18 )
27
26
}
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
41
27
42
28
func testST20tokenBalanceAndAllowance( ) async throws {
43
29
let web3 = await Web3 . InfuraGoerliWeb3 ( accessToken: Constants . infuraToken)
0 commit comments