From 1a07ac38bb1c1aa62ae43ecd2557f14b39ce8bf2 Mon Sep 17 00:00:00 2001 From: Ali Behjati Date: Mon, 5 Aug 2024 17:30:27 +0200 Subject: [PATCH] chore: remove secondary network from sample config (#137) --- config/config.sample.pythnet.toml | 32 ------------------------------ config/config.sample.pythtest.toml | 25 ----------------------- 2 files changed, 57 deletions(-) diff --git a/config/config.sample.pythnet.toml b/config/config.sample.pythnet.toml index 7704609..aacf064 100644 --- a/config/config.sample.pythnet.toml +++ b/config/config.sample.pythnet.toml @@ -32,38 +32,6 @@ exporter.max_batch_size = 7 # Duration of the interval at which to publish updates exporter.publish_interval_duration = "1s" -# Configuration for the optional secondary network this agent will publish data to. -# In most cases this should be a Solana endpoint. -[secondary_network] - -# Please use other endpoints as these are rate limited -rpc_url = "https://api.mainnet-beta.solana.com" -wss_url = "wss://api.mainnet-beta.solana.com" - -# Path to your publishing keypair. -key_store.publish_keypair_path = "/path/to/keypair.json" - -# Oracle program pubkey -key_store.program_key = "FsJ3A3u2vn5cTVofAjvy6y5kwABJAqYWpe4975bi2epH" - -# Oracle mapping pubkey -key_store.mapping_key = "AHtgzX45WTKfkPG53L6WYhGEXwQkN1BVknET3sVsLL8J" - -# Compute unit limit requested per instruction for transactions that update the price. -# This should be an upper bound of the compute units a single upd_price instruction might consume. -# For solana mainnet, this should be set to 20000 instead of the default 40000 since there is no accumulator. -exporter.compute_unit_limit = 20000 - -# Whether the dynamic compute unit pricing is enabled. -# This is needed for solana to be able to land transactions on the network -# during periods of high network congestion. -exporter.dynamic_compute_unit_pricing_enabled = true - -# Price per compute unit offered for update_price transactions -exporter.compute_unit_price_micro_lamports = 1000 - -exporter.maximum_compute_unit_price_micro_lamports = 100000 - # Configuration for the JRPC API [pythd_adapter] diff --git a/config/config.sample.pythtest.toml b/config/config.sample.pythtest.toml index 46a7d1f..e19d72a 100644 --- a/config/config.sample.pythtest.toml +++ b/config/config.sample.pythtest.toml @@ -28,31 +28,6 @@ key_store.mapping_key = "AFmdnt9ng1uVxqCmqwQJDAYC5cKTkw8gJKSM5PnzuF6z" # conform # Duration of the interval at which to publish updates exporter.publish_interval_duration = "400ms" -# Configuration for the optional secondary network this agent will publish data to. -# In most cases this should be a Solana endpoint. -[secondary_network] - -# Please use other endpoints as these are rate limited -rpc_url = "https://api.testnet.solana.com" -wss_url = "wss://api.testnet.solana.com" - -# Path to your publishing keypair. -key_store.publish_keypair_path = "/path/to/keypair.json" - -# Oracle program pubkey -key_store.program_key = "8tfDNiaEyrV6Q1U4DEXrEigs9DoDtkugzFbybENEbCDz" - -# Oracle mapping pubkey -key_store.mapping_key = "AFmdnt9ng1uVxqCmqwQJDAYC5cKTkw8gJKSM5PnzuF6z" - -# Duration of the interval at which to publish updates. Default interval is 1 seconds. -# exporter.publish_interval_duration = "1s" - -# Price per compute unit offered for update_price transactions. -# This is needed for solana to be able to land transactions on the network -# during periods of high network congestion. -exporter.compute_unit_price_micro_lamports = 1000 - # Configuration for the JRPC API [pythd_adapter]