We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f586dda commit 1c759bfCopy full SHA for 1c759bf
Tests/web3swiftTests/localTests/web3swiftPromisesTests.swift
@@ -34,9 +34,7 @@ class web3swiftPromisesTests: XCTestCase {
34
let txHash = writeResult.hash
35
let result = try web3.eth.getTransactionDetailsPromise(txHash).wait()
36
print(result)
37
- let options = result.transaction.getOptions()
38
- let txnGasLimit = options.resolveGasLimit(0)
39
- XCTAssert(txnGasLimit == BigUInt(gasLimit))
+ XCTAssert(result.transaction.gasLimit == BigUInt(gasLimit))
40
}
41
42
func testEstimateGasPromise() throws {
0 commit comments