File tree Expand file tree Collapse file tree 2 files changed +1
-22
lines changed Expand file tree Collapse file tree 2 files changed +1
-22
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ final class ProviderTests: XCTestCase {
1212 override func setUp( ) async throws {
1313 try await super. setUp ( )
1414
15+ // TODO: Change this to internal node
1516 provider = StarknetProvider ( url: " https://rpc.pathfinder.equilibrium.co/testnet-sepolia/rpc/v0_9 " )
1617 }
1718
Original file line number Diff line number Diff line change @@ -399,26 +399,4 @@ final class ProviderTests: XCTestCase {
399399 XCTFail ( " Expected .preConfirmed " )
400400 }
401401 }
402-
403- func testGetBlockWithTxsWithBlockHash( ) async throws {
404- let blockHash = Felt ( fromHex: " 0x05d95c778dad488e15f6a279c77c59322ad61eabf085cd8624ff5b39ca5ae8d8 " ) !
405- let result = try await provider. send ( request: RequestBuilder . getBlockWithTxs ( blockHash) )
406-
407- if case let . processed( processedBlock) = result {
408- XCTAssertEqual ( processedBlock. transactions. count, 7 )
409- } else {
410- XCTFail ( " Expected .processed " )
411- }
412- }
413-
414- func testGetBlockWithTxsWithBlockNumber( ) async throws {
415- let blockNumber = 1_210_000
416- let result = try await provider. send ( request: RequestBuilder . getBlockWithTxs ( blockNumber) )
417-
418- if case let . processed( processedBlock) = result {
419- XCTAssertEqual ( processedBlock. transactions. count, 8 )
420- } else {
421- XCTFail ( " Expected .processed " )
422- }
423- }
424402}
You can’t perform that action at this time.
0 commit comments