Skip to content

Commit

Permalink
allow custom rpc url for katana and madara (#1031)
Browse files Browse the repository at this point in the history
BUGFIX:
Cannot choose the RPC URL for Katana as STARKNET_NETWORK

Breaks Kakarot-Rpc

<!-- Reviewable:start -->
- - -
This change is [<img src="https://reviewable.io/review_button.svg"
height="34" align="absmiddle"
alt="Reviewable"/>](https://reviewable.io/reviews/kkrt-labs/kakarot/1031)
<!-- Reviewable:end -->
  • Loading branch information
Eikix authored Mar 13, 2024
1 parent 7be9cbf commit 8c1b198
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/constants.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,15 @@
"katana": {
"name": "katana",
"explorer_url": "",
"rpc_url": "http://127.0.0.1:5050",
"rpc_url": os.getenv("KATANA_RPC_URL", "http://127.0.0.1:5050"),
"devnet": True,
"check_interval": 0.01,
"max_wait": 1,
},
"madara": {
"name": "madara",
"explorer_url": "",
"rpc_url": "http://127.0.0.1:9944",
"rpc_url": os.getenv("MADARA_RPC_URL", "http://127.0.0.1:9944"),
"devnet": False,
"check_interval": 6,
"max_wait": 30,
Expand Down

0 comments on commit 8c1b198

Please sign in to comment.