Skip to content

chore: update config #146

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions config/config.sample.pythnet.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,12 @@ key_store.publish_keypair_path = "/path/to/keypair.json"
# Oracle program pubkey
key_store.program_key = "FsJ3A3u2vn5cTVofAjvy6y5kwABJAqYWpe4975bi2epH"

# The price store program key
key_store.pyth_price_store_program_key = "3m6sv6HGqEbuyLV84mD7rJn4MAC9LhUa1y1AUNVqcPfr"

# Set the max price updates per transaction to 47
exporter.max_batch_size = 47

# Compute unit per price update.
exporter.compute_unit_limit = 5000

Expand Down
6 changes: 6 additions & 0 deletions config/config.sample.pythtest.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ key_store.program_key = "8tfDNiaEyrV6Q1U4DEXrEigs9DoDtkugzFbybENEbCDz" # conform
# Pythtest accumulator key (only for the cross-chain oracle)
# key_store.accumulator_key = "7Vbmv1jt4vyuqBZcpYPpnVhrqVe5e6ZPb6JxDcffRHUM"

# The price store program key (only for the cross-chain oracle)
# key_store.pyth_price_store_program_key = "3m6sv6HGqEbuyLV84mD7rJn4MAC9LhUa1y1AUNVqcPfr"

# Set the max price updates per transaction to 47 (only for the cross-chain oracle)
# exporter.max_batch_size = 47

# Duration of the interval at which to publish updates
exporter.publish_interval_duration = "400ms"

Expand Down
3 changes: 3 additions & 0 deletions config/config.toml
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ali-bahjati

No need to add this?:

# Set the max price updates per transaction to 47
exporter.max_batch_size = 47

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done.

Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ key_store.publish_keypair_path = "/path/to/keypair.json"
# Public key of the oracle program
key_store.program_key = "RelevantOracleProgramAddress"

# The price store program key
key_store.pyth_price_store_program_key = "3m6sv6HGqEbuyLV84mD7rJn4MAC9LhUa1y1AUNVqcPfr"

### Optional fields of primary/secondary network config ###

# Pubkey of accumulator message buffer program ID. Setting this
Expand Down
Loading