Skip to content

Commit

Permalink
chore: remove secondary network from sample config (#137)
Browse files Browse the repository at this point in the history
  • Loading branch information
ali-bahjati authored Aug 5, 2024
1 parent 564441f commit 1a07ac3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 57 deletions.
32 changes: 0 additions & 32 deletions config/config.sample.pythnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down
25 changes: 0 additions & 25 deletions config/config.sample.pythtest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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]

Expand Down

0 comments on commit 1a07ac3

Please sign in to comment.