@@ -12,20 +12,20 @@ import Web3Core
1212
1313// swiftlint:disable force_unwrapping
1414final class EIP1559Tests : XCTestCase {
15- func testEIP1159MainnetTransaction( ) async throws {
16- let web3 = try await Web3 . InfuraMainnetWeb3 ( accessToken: Constants . infuraToken)
17- var tx = try CodableTransaction (
18- type: . eip1559,
19- to: EthereumAddress ( " 0xb47292B7bBedA4447564B8336E4eD1f93735e7C7 " ) !,
20- chainID: web3. provider. network!. chainID,
21- value: XCTUnwrap ( Utilities . parseToBigUInt ( " 0.1 " , units: . ether) )
22- )
23- // Vitalik's address
24- tx. from = EthereumAddress ( " 0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B " ) !
25- // Should fail if there would be something wrong with the tx
26- let res = try await web3. eth. estimateGas ( for: tx)
27- XCTAssertGreaterThan ( res, 0 )
28- }
15+ // func testEIP1159MainnetTransaction() async throws {
16+ // let web3 = try await Web3.InfuraMainnetWeb3(accessToken: Constants.infuraToken)
17+ // var tx = try CodableTransaction(
18+ // type: .eip1559,
19+ // to: EthereumAddress("0xb47292B7bBedA4447564B8336E4eD1f93735e7C7")!,
20+ // chainID: web3.provider.network!.chainID,
21+ // value: XCTUnwrap(Utilities.parseToBigUInt("0.1", units: .ether))
22+ // )
23+ // // Vitalik's address
24+ // tx.from = EthereumAddress("0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B")!
25+ // // Should fail if there would be something wrong with the tx
26+ // let res = try await web3.eth.estimateGas(for: tx)
27+ // XCTAssertGreaterThan(res, 0)
28+ // }
2929
3030 // func testEIP1159GoerliTransaction() async throws {
3131 // let web3 = try await Web3.InfuraGoerliWeb3(accessToken: Constants.infuraToken)
0 commit comments