Skip to content

deployment: support real Pragma oracle in local monitoring stack#14223

Merged
sirandreww-starkware merged 1 commit into
main-v0.14.3from
05-27-deployment_support_real_pragma_oracle_in_local_monitoring_stack
Jun 1, 2026
Merged

deployment: support real Pragma oracle in local monitoring stack#14223
sirandreww-starkware merged 1 commit into
main-v0.14.3from
05-27-deployment_support_real_pragma_oracle_in_local_monitoring_stack

Conversation

@sirandreww-starkware

Copy link
Copy Markdown
Contributor

No description provided.

@sirandreww-starkware sirandreww-starkware self-assigned this May 27, 2026
@reviewable-StarkWare

Copy link
Copy Markdown

This change is Reviewable

@cursor

cursor Bot commented May 27, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
Changes are limited to local monitoring deploy scripts and compose config injection; default behavior without PRAGMA_API_KEY remains the dummy oracle.

Overview
The local monitoring stack can now drive live Pragma exchange rates for L1 gas pricing (eth_to_strk) and SNIP-35 fee targets (strk_to_usd) when PRAGMA_API_KEY is set at deploy time.

deploy_local_stack.sh exports default Pragma production URLs and, when the API key is present, builds ETH_STRK_ORACLE_URL_HEADERS / STRK_USD_ORACLE_URL_HEADERS (URL plus x-api-key); otherwise it logs that the stack stays on the dummy oracle. local/docker-compose.yml config_injector was updated to inject those env-driven url_header_list values (with dummy fallbacks) and configurable lag_interval_seconds (default 60) for both oracle configs, instead of hard-coding only the dummy eth_to_strk endpoint.

Reviewed by Cursor Bugbot for commit 9422407. Bugbot is set up for automated code reviews on this repo. Configure here.

@sirandreww-starkware sirandreww-starkware changed the base branch from main to graphite-base/14223 May 28, 2026 09:02
@sirandreww-starkware sirandreww-starkware force-pushed the 05-27-deployment_support_real_pragma_oracle_in_local_monitoring_stack branch from 08e1346 to a1eb4e4 Compare May 28, 2026 09:02
@sirandreww-starkware sirandreww-starkware changed the base branch from graphite-base/14223 to 05-28-apollo_consensus_orchestrator_pin_snip-35_fee_target_to_override_l2_gas_price_fri_when_set May 28, 2026 09:02
@github-actions

Copy link
Copy Markdown

Artifacts upload workflows:

@sirandreww-starkware sirandreww-starkware force-pushed the 05-27-deployment_support_real_pragma_oracle_in_local_monitoring_stack branch from a1eb4e4 to bde4843 Compare May 28, 2026 09:14
@sirandreww-starkware sirandreww-starkware force-pushed the 05-28-apollo_consensus_orchestrator_pin_snip-35_fee_target_to_override_l2_gas_price_fri_when_set branch from 1aa46d7 to bc820f1 Compare May 28, 2026 09:14
@sirandreww-starkware sirandreww-starkware changed the base branch from 05-28-apollo_consensus_orchestrator_pin_snip-35_fee_target_to_override_l2_gas_price_fri_when_set to graphite-base/14223 May 28, 2026 11:46
@sirandreww-starkware sirandreww-starkware force-pushed the 05-27-deployment_support_real_pragma_oracle_in_local_monitoring_stack branch from bde4843 to a64b7ca Compare May 28, 2026 11:47
@sirandreww-starkware sirandreww-starkware changed the base branch from graphite-base/14223 to main-v0.14.3 May 28, 2026 11:47

@ShahakShama ShahakShama left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

:lgtm:

@ShahakShama reviewed 2 files and all commit messages, and made 1 comment.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on sirandreww-starkware).

@sirandreww-starkware sirandreww-starkware force-pushed the 05-27-deployment_support_real_pragma_oracle_in_local_monitoring_stack branch from a64b7ca to 9422407 Compare June 1, 2026 13:33
@sirandreww-starkware sirandreww-starkware added this pull request to the merge queue Jun 1, 2026
Merged via the queue into main-v0.14.3 with commit 62174ab Jun 1, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants