Skip to content

Commit d19010a

Browse files
LocalTestCase update to new API.
1 parent 2c4b7ae commit d19010a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Tests/web3swiftTests/localTests/LocalTestCase.swift

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ class LocalTestCase: XCTestCase {
2626

2727
let from = allAddresses[0]
2828
let writeTX = contract!.write("fallback")!
29-
writeTX.transactionOptions.from = from
30-
writeTX.transactionOptions.value = value
31-
writeTX.transactionOptions.gasLimitPolicy = .manual(78423)
32-
writeTX.transactionOptions.gasPricePolicy = .manual(20000000000)
29+
writeTX.transaction.from = from
30+
writeTX.transaction.value = value
31+
writeTX.transaction.gasLimitPolicy = .manual(78423)
32+
writeTX.transaction.gasPricePolicy = .manual(20000000000)
3333

3434
for _ in block..<25 {
3535
let _ = try! await writeTX.send(password: "")

0 commit comments

Comments
 (0)