Open zhouqiang2023 opened 10 months ago
Probable cause is that the specified All That Node provider for testnet has been shut down: [Important] dYdX Testnet Public Node endpoints will no longer be supported as of November 29th, 2023 at 15:00 UTC.
Setting up a node on testnet, and modifying the network configuration could be a possible work around. Note: running a node without TLS may require to let the library know, see this line in python.
Probable cause is that the specified All That Node provider for testnet has been shut down:
[Important] dYdX Testnet Public Node endpoints will no longer be supported as of November 29th, 2023 at 15:00 UTC.
Setting up a node on testnet, and modifying the network configuration could be a possible work around. Note: running a node without TLS may require to let the library know, see this line in python.
thank you for your response, I use the mainnet config, it also shows
debug_error_string = "UNKNOWN:Error received from peer {created_time:"2023-12-05T19:36:19.611061+08:00", grpc_status:2, grpc_message:"Stream removed"}"
there is a bug in v4-client-py/v4_client_py/clients/modules/post.py line 46 to get testnet network config. Below change can fix the problem
change source code as following (post.py)
network= NetworkConfig( #Mainnet setup chain_id=self.config.chain_id, url=self.config.grpc_endpoint, fee_minimum_gas_price=0, fee_denomination="adydx", staking_denomination="adydx", faucet_url=None, )
python3 examples/composite_example.py
return