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"
17
17
# Oracle program pubkey
18
18
key_store.program_key = " FsJ3A3u2vn5cTVofAjvy6y5kwABJAqYWpe4975bi2epH"
19
19
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
+
20
26
# Compute unit per price update.
21
27
exporter.compute_unit_limit = 5000
22
28
Original file line number Diff line number Diff line change @@ -21,6 +21,12 @@ key_store.program_key = "8tfDNiaEyrV6Q1U4DEXrEigs9DoDtkugzFbybENEbCDz" # conform
21
21
# Pythtest accumulator key (only for the cross-chain oracle)
22
22
# key_store.accumulator_key = "7Vbmv1jt4vyuqBZcpYPpnVhrqVe5e6ZPb6JxDcffRHUM"
23
23
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
+
24
30
# Duration of the interval at which to publish updates
25
31
exporter.publish_interval_duration = " 400ms"
26
32
Original file line number Diff line number Diff line change @@ -47,6 +47,9 @@ key_store.publish_keypair_path = "/path/to/keypair.json"
47
47
# Public key of the oracle program
48
48
key_store.program_key = " RelevantOracleProgramAddress"
49
49
50
+ # The price store program key
51
+ key_store.pyth_price_store_program_key = " 3m6sv6HGqEbuyLV84mD7rJn4MAC9LhUa1y1AUNVqcPfr"
52
+
50
53
# ## Optional fields of primary/secondary network config ###
51
54
52
55
# Pubkey of accumulator message buffer program ID. Setting this
@@ -86,8 +89,10 @@ key_store.program_key = "RelevantOracleProgramAddress"
86
89
# with other state identical to last published state.
87
90
# exporter.unchanged_publish_threshold = "3s"
88
91
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
91
96
92
97
# Number of compute units requested per update_price instruction within the transaction.
93
98
# exporter.compute_unit_limit = 60000
You can’t perform that action at this time.
0 commit comments