-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: PRT - Support StarkNet pathfinder (#1666)
* Exported the check of ws:// to a funciton * Add support for StarkNet Pathfinder in the rpcclient * Small script fix * Improve the router key usage * Fix to RouterKey to init with empty extension * Fix internal paths issues * Warn provider when the configured internal paths are different than onchain * Small fix to the router key * Update the starknet spec with new internal paths changes * Fix lint * Add test for new difference function * Add more info to NodeUrl String func * Prefer non internal path when choosing websocket as http node url * Add TestChainRouterWithInternalPaths * Add TestGetVerifications * Small fix to the router key * Add tests for the router key * Add TestCraftChainMessage * Post merge fix * CR Fix: Reuse router key string * Remove unused code * Small test fix * Add an example for starknet with internal paths * CR Fix: Reduce conn map to one conn * CR Fix: Move into if..else * CR Fix: Remove unnecessary field * CR Fix: Small bug fix * CR Fix: Break if true * dynamic internal path population * Add ContainsPredicate to lavaslices * Fixes to the router key * Remove the warning of non configured internal paths * Fix the chain router and its tests --------- Co-authored-by: Omer <[email protected]> Co-authored-by: Ran Mishael <[email protected]>
- Loading branch information
1 parent
ba6f093
commit f7061ab
Showing
28 changed files
with
2,025 additions
and
214 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
endpoints: | ||
- api-interface: jsonrpc | ||
chain-id: STRK | ||
network-address: | ||
address: "127.0.0.1:2220" | ||
node-urls: | ||
- url: <wss url here>/ws | ||
internal-path: "" | ||
- url: <wss url here>/ws/rpc/v0_6 | ||
internal-path: "/rpc/v0_6" | ||
|
||
- url: <https url here> | ||
internal-path: "" | ||
- url: <https url here>/rpc/v0_5 | ||
internal-path: "/rpc/v0_5" | ||
- url: <https url here>/rpc/v0_6 | ||
internal-path: "/rpc/v0_6" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.