Skip to content

Commit

Permalink
Update config.sample.pythnet.toml (#138)
Browse files Browse the repository at this point in the history
* Update config.sample.pythnet.toml

* Update config.sample.pythnet.toml
  • Loading branch information
ali-bahjati authored Aug 14, 2024
1 parent 1a07ac3 commit e4683c7
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions config/config.sample.pythnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,17 +20,8 @@ key_store.program_key = "FsJ3A3u2vn5cTVofAjvy6y5kwABJAqYWpe4975bi2epH"
# Oracle mapping pubkey
key_store.mapping_key = "AHtgzX45WTKfkPG53L6WYhGEXwQkN1BVknET3sVsLL8J"

# Pythnet accumulator key
# The pythnet accumulator key settings are only valid for pythnet. Do not apply
# these settings for any other environment i.e. mainnet, pythtest-conformance
key_store.accumulator_key = "7Vbmv1jt4vyuqBZcpYPpnVhrqVe5e6ZPb6JxDcffRHUM"

# IMPORTANT: Exporter batch size must be decreased to 7 to support
# larger accumulator transactions, when accumulator_key is set.
exporter.max_batch_size = 7

# Duration of the interval at which to publish updates
exporter.publish_interval_duration = "1s"
# Compute unit per price update.
exporter.compute_unit_limit = 5000

# Configuration for the JRPC API
[pythd_adapter]
Expand Down

0 comments on commit e4683c7

Please sign in to comment.