Skip to content

Commit

Permalink
⬆️ 1.8.8
Browse files Browse the repository at this point in the history
  • Loading branch information
EvolveArt committed Dec 13, 2023
1 parent 9914389 commit f6c4a21
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions empiric-package/empiric/core/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
from starknet_py.net.gateway_client import GatewayClient

def get_client_from_network(network: str) -> FullNodeClient:
return GatewayClient(net=network)
# return FullNodeClient(node_url=RPC_URLS[network])
# return GatewayClient(net=network)
return FullNodeClient(node_url=RPC_URLS[network])

# contract address configuration
@dataclass
Expand Down
2 changes: 1 addition & 1 deletion empiric-package/empiric/core/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
raise ValueError(f"RPC_KEY env variable is required when targeting {NETWORK}")
RPC_URLS = {
"mainnet": f"https://starknet-mainnet.infura.io/v3/{os.getenv('RPC_KEY')}",
"testnet": f"https://starknet-goerli.infura.io/v3/{os.getenv('RPC_KEY')}",
"testnet": f"https://starknet-testnet.public.blastapi.io/rpc/v0.4",
"testnet2": f"https://starknet-goerli2.infura.io/v3/{os.getenv('RPC_KEY')}",
"devnet": "http://127.0.0.1:5050/rpc",
"sharingan": "https://sharingan.madara.zone",
Expand Down
4 changes: 2 additions & 2 deletions empiric-package/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ profile = "black"

[tool.poetry]
name = "empiric-network"
version = "1.8.7"
version = "1.8.8"
authors = ["Pragma <[email protected]>"]
description = "Core package for rollup-native Pragma Oracle"
readme = "README.md"
Expand All @@ -28,7 +28,7 @@ packages = [

[tool.poetry.dependencies]
python = ">=3.9,<3.10"
"starknet.py" = "0.18.1"
"starknet.py" = "0.18.3"
cairo-lang = "^0.12"
typer = "0.6.1"

Expand Down
2 changes: 1 addition & 1 deletion stagecoach/jobs/publishers/starknet-publisher/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ RUN yum install -y gcc python-devel gmp-devel git

RUN python -m pip install --upgrade pip

RUN pip install empiric-network==1.8.7 typeguard==2.13.3
RUN pip install empiric-network==1.8.8 typeguard==2.13.3

COPY app.py ${LAMBDA_TASK_ROOT}

Expand Down

0 comments on commit f6c4a21

Please sign in to comment.