From 37c076342497cb0ec134dceb4158f743d0aa5588 Mon Sep 17 00:00:00 2001 From: Ali Behjati Date: Fri, 2 Aug 2024 16:02:47 +0200 Subject: [PATCH] chore: update config --- config/config.sample.pythnet.toml | 7 ++++--- config/config.sample.pythtest.toml | 8 ++++---- config/config.toml | 6 +++--- 3 files changed, 11 insertions(+), 10 deletions(-) diff --git a/config/config.sample.pythnet.toml b/config/config.sample.pythnet.toml index 8ea9a709..77046091 100644 --- a/config/config.sample.pythnet.toml +++ b/config/config.sample.pythnet.toml @@ -3,8 +3,8 @@ listen_address = "127.0.0.1:8910" [primary_network] -# HTTP(S) endpoint of the RPC node. Public RPC endpoints are usually rate-limited, so a private -# endpoint should be used in most cases. +# HTTP(S) endpoint of the RPC node. Public Pythnet RPC endpoints are usually +# rate-limited, so a private endpoint should be used in most cases. rpc_url = "https://api2.pythnet.pyth.network" # WS(S) endpoint of the RRC node. This is used to subscribe to account changes on the network. @@ -21,7 +21,8 @@ key_store.program_key = "FsJ3A3u2vn5cTVofAjvy6y5kwABJAqYWpe4975bi2epH" key_store.mapping_key = "AHtgzX45WTKfkPG53L6WYhGEXwQkN1BVknET3sVsLL8J" # Pythnet accumulator key -# The pythnet accumulator key settings are only valid for pythnet. Do not apply these settings for any other environment i.e. mainnet, pythtest-conformance +# The pythnet accumulator key settings are only valid for pythnet. Do not apply +# these settings for any other environment i.e. mainnet, pythtest-conformance key_store.accumulator_key = "7Vbmv1jt4vyuqBZcpYPpnVhrqVe5e6ZPb6JxDcffRHUM" # IMPORTANT: Exporter batch size must be decreased to 7 to support diff --git a/config/config.sample.pythtest.toml b/config/config.sample.pythtest.toml index 2674801e..46a7d1f5 100644 --- a/config/config.sample.pythtest.toml +++ b/config/config.sample.pythtest.toml @@ -3,12 +3,12 @@ listen_address = "127.0.0.1:8910" [primary_network] -# HTTP(S) endpoint of the RPC node. Public RPC endpoints are usually rate-limited, so a private -# endpoint should be used in most cases. +# HTTP(S) endpoint of the RPC node. rpc_url = "https://api.pythtest.pyth.network" -# WS(S) endpoint of the RRC node. This is used to subscribe to account changes on the network. -# This can be omitted when oracle.subscriber_enabled is set to false. +# WS(S) endpoint of the RRC node. This is used to subscribe to account changes +# on the network. This can be omitted when oracle.subscriber_enabled is set to +# false. wss_url = "wss://api.pythtest.pyth.network" # Path to your publishing keypair. diff --git a/config/config.toml b/config/config.toml index ea62bcfe..d29904ef 100644 --- a/config/config.toml +++ b/config/config.toml @@ -22,13 +22,13 @@ listen_address = "127.0.0.1:8910" [primary_network] ### Required fields ### -# HTTP(S) endpoint of the RPC node. Public RPC endpoints are usually rate-limited, so a private endpoint should be used in most cases. -# Note that api.pythtest.pyth.network is a private endpoint: please contact us for access. +# HTTP(S) endpoint of the RPC node. Public RPC endpoints are usually +# rate-limited for Pythnet, and so a private endpoint should be used in most +# cases. For Pythtest, the public endpoint can be used. rpc_url = "https://api.pythtest.pyth.network" # WS(S) endpoint of the RRC node. This is used to subscribe to account changes on the network. # This can be omitted when oracle.subscriber_enabled is set to false. -# Note that api.pythtest.pyth.network is a private endpoint: please contact us for access. wss_url = "wss://api.pythtest.pyth.network" # Path to the keypair used to publish price updates. If set to a