Skip to content

Commit 1a07ac3

Browse files
authored
chore: remove secondary network from sample config (#137)
1 parent 564441f commit 1a07ac3

File tree

2 files changed

+0
-57
lines changed

2 files changed

+0
-57
lines changed

config/config.sample.pythnet.toml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -32,38 +32,6 @@ exporter.max_batch_size = 7
3232
# Duration of the interval at which to publish updates
3333
exporter.publish_interval_duration = "1s"
3434

35-
# Configuration for the optional secondary network this agent will publish data to.
36-
# In most cases this should be a Solana endpoint.
37-
[secondary_network]
38-
39-
# Please use other endpoints as these are rate limited
40-
rpc_url = "https://api.mainnet-beta.solana.com"
41-
wss_url = "wss://api.mainnet-beta.solana.com"
42-
43-
# Path to your publishing keypair.
44-
key_store.publish_keypair_path = "/path/to/keypair.json"
45-
46-
# Oracle program pubkey
47-
key_store.program_key = "FsJ3A3u2vn5cTVofAjvy6y5kwABJAqYWpe4975bi2epH"
48-
49-
# Oracle mapping pubkey
50-
key_store.mapping_key = "AHtgzX45WTKfkPG53L6WYhGEXwQkN1BVknET3sVsLL8J"
51-
52-
# Compute unit limit requested per instruction for transactions that update the price.
53-
# This should be an upper bound of the compute units a single upd_price instruction might consume.
54-
# For solana mainnet, this should be set to 20000 instead of the default 40000 since there is no accumulator.
55-
exporter.compute_unit_limit = 20000
56-
57-
# Whether the dynamic compute unit pricing is enabled.
58-
# This is needed for solana to be able to land transactions on the network
59-
# during periods of high network congestion.
60-
exporter.dynamic_compute_unit_pricing_enabled = true
61-
62-
# Price per compute unit offered for update_price transactions
63-
exporter.compute_unit_price_micro_lamports = 1000
64-
65-
exporter.maximum_compute_unit_price_micro_lamports = 100000
66-
6735
# Configuration for the JRPC API
6836
[pythd_adapter]
6937

config/config.sample.pythtest.toml

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -28,31 +28,6 @@ key_store.mapping_key = "AFmdnt9ng1uVxqCmqwQJDAYC5cKTkw8gJKSM5PnzuF6z" # conform
2828
# Duration of the interval at which to publish updates
2929
exporter.publish_interval_duration = "400ms"
3030

31-
# Configuration for the optional secondary network this agent will publish data to.
32-
# In most cases this should be a Solana endpoint.
33-
[secondary_network]
34-
35-
# Please use other endpoints as these are rate limited
36-
rpc_url = "https://api.testnet.solana.com"
37-
wss_url = "wss://api.testnet.solana.com"
38-
39-
# Path to your publishing keypair.
40-
key_store.publish_keypair_path = "/path/to/keypair.json"
41-
42-
# Oracle program pubkey
43-
key_store.program_key = "8tfDNiaEyrV6Q1U4DEXrEigs9DoDtkugzFbybENEbCDz"
44-
45-
# Oracle mapping pubkey
46-
key_store.mapping_key = "AFmdnt9ng1uVxqCmqwQJDAYC5cKTkw8gJKSM5PnzuF6z"
47-
48-
# Duration of the interval at which to publish updates. Default interval is 1 seconds.
49-
# exporter.publish_interval_duration = "1s"
50-
51-
# Price per compute unit offered for update_price transactions.
52-
# This is needed for solana to be able to land transactions on the network
53-
# during periods of high network congestion.
54-
exporter.compute_unit_price_micro_lamports = 1000
55-
5631
# Configuration for the JRPC API
5732
[pythd_adapter]
5833

0 commit comments

Comments
 (0)