Skip to content

Commit 107334e

Browse files
committed
chore: update config
1 parent 1179739 commit 107334e

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

config/config.sample.pythnet.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,12 @@ key_store.publish_keypair_path = "/path/to/keypair.json"
1717
# Oracle program pubkey
1818
key_store.program_key = "FsJ3A3u2vn5cTVofAjvy6y5kwABJAqYWpe4975bi2epH"
1919

20+
# The price store program key
21+
key_store.pyth_price_store_program_key = "3m6sv6HGqEbuyLV84mD7rJn4MAC9LhUa1y1AUNVqcPfr"
22+
23+
# Set the max price updates per transaction to 47
24+
exporter.max_batch_size = 47
25+
2026
# Compute unit per price update.
2127
exporter.compute_unit_limit = 5000
2228

config/config.sample.pythtest.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,12 @@ key_store.program_key = "8tfDNiaEyrV6Q1U4DEXrEigs9DoDtkugzFbybENEbCDz" # conform
2121
# Pythtest accumulator key (only for the cross-chain oracle)
2222
# key_store.accumulator_key = "7Vbmv1jt4vyuqBZcpYPpnVhrqVe5e6ZPb6JxDcffRHUM"
2323

24+
# The price store program key (only for the cross-chain oracle)
25+
# key_store.pyth_price_store_program_key = "3m6sv6HGqEbuyLV84mD7rJn4MAC9LhUa1y1AUNVqcPfr"
26+
27+
# Set the max price updates per transaction to 47 (only for the cross-chain oracle)
28+
# exporter.max_batch_size = 47
29+
2430
# Duration of the interval at which to publish updates
2531
exporter.publish_interval_duration = "400ms"
2632

config/config.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ key_store.publish_keypair_path = "/path/to/keypair.json"
4747
# Public key of the oracle program
4848
key_store.program_key = "RelevantOracleProgramAddress"
4949

50+
# The price store program key
51+
key_store.pyth_price_store_program_key = "3m6sv6HGqEbuyLV84mD7rJn4MAC9LhUa1y1AUNVqcPfr"
52+
5053
### Optional fields of primary/secondary network config ###
5154

5255
# Pubkey of accumulator message buffer program ID. Setting this

0 commit comments

Comments
 (0)