Skip to content

Commit

Permalink
Merge branch 'develop' into fix/websocket-provider
Browse files Browse the repository at this point in the history
  • Loading branch information
Syn-McJ committed Mar 18, 2024
2 parents 3e43f75 + 6511c9a commit 3e9b222
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions web3sTests/Client/EthereumClientTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -226,9 +226,7 @@ class EthereumClientTests: XCTestCase {
_ = try await client?.eth_getTransaction(byHash: "0x01234")
XCTFail("Expected to throw while awaiting, but succeeded")
} catch {
XCTAssertEqual(error as? EthereumClientError, .executionError(
.init(code: -32602, message: "invalid argument 0: json: cannot unmarshal hex string of odd length into Go value of type common.Hash", data: nil)
))
XCTAssertNotNil(error as? EthereumClientError)
}
}

Expand Down

0 comments on commit 3e9b222

Please sign in to comment.