Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add a default project ID for infura calls
  • Loading branch information
anandrgitnirman authored and anandrgitnirman committed Mar 11, 2020
1 parent 4879456 commit 33414fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/sdk/snet/sdk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def __init__(
self._metadata_provider = metadata_provider

# Instantiate Ethereum client
eth_rpc_endpoint = self._config.get("eth_rpc_endpoint", "https://mainnet.infura.io")
eth_rpc_endpoint = self._config.get("eth_rpc_endpoint", "https://mainnet.infura.io/v3/e7732e1f679e461b9bb4da5653ac3fc2")
provider = web3.HTTPProvider(eth_rpc_endpoint)
self.web3 = web3.Web3(provider)
self.web3.eth.setGasPriceStrategy(medium_gas_price_strategy)
Expand Down

0 comments on commit 33414fa

Please sign in to comment.