File tree Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Expand file tree Collapse file tree 3 files changed +19
-2
lines changed Original file line number Diff line number Diff line change @@ -17,6 +17,12 @@ key_store.publish_keypair_path = "/path/to/keypair.json"
1717# Oracle program pubkey
1818key_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.
2127exporter.compute_unit_limit = 5000
2228
Original file line number Diff line number Diff 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
2531exporter.publish_interval_duration = " 400ms"
2632
Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ key_store.publish_keypair_path = "/path/to/keypair.json"
4747# Public key of the oracle program
4848key_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
@@ -86,8 +89,10 @@ key_store.program_key = "RelevantOracleProgramAddress"
8689# with other state identical to last published state.
8790# exporter.unchanged_publish_threshold = "3s"
8891
89- # Maximum size of a batch
90- # exporter.max_batch_size = 12
92+ # Maximum size of a batch.
93+ # IMPORTANT: the maximum size of 47 only works when the price store program key is passed;
94+ # otherwise, the maximum batch size is 12
95+ exporter.max_batch_size = 47
9196
9297# Number of compute units requested per update_price instruction within the transaction.
9398# exporter.compute_unit_limit = 60000
You can’t perform that action at this time.
0 commit comments