Skip to content

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

Open
sirandreww-starkware wants to merge 1 commit into
main-v0.14.3from
05-27-deployment_support_real_pragma_oracle_in_local_monitoring_stack
Open

deployment: support real Pragma oracle in local monitoring stack#14223
sirandreww-starkware wants to merge 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
Copy link
Copy Markdown

cursor Bot commented May 27, 2026

PR Summary

Low Risk
Changes are limited to local monitoring deployment scripts and compose config injection; default behavior without PRAGMA_API_KEY is unchanged, and secrets are supplied only via environment variables.

Overview
The local monitoring stack can now drive live Pragma exchange rates for L1 gas pricing when PRAGMA_API_KEY is set, instead of always using the in-compose dummy oracle.

deploy_local_stack.sh exports default Pragma eth/strk and strk/usd URLs and, when an API key is present, builds url_header_list values (URL + x-api-key) for the sequencer config injector; without a key it logs that the dummy oracle is used. docker-compose.yml config_injector now injects both eth_to_strk and strk_to_usd oracle URLs from ${ETH_STRK_ORACLE_URL_HEADERS} / ${STRK_USD_ORACLE_URL_HEADERS} with the same dummy fallback as before, and sets lag_interval_seconds (default 60) for each oracle via optional env overrides.

Integration/CI paths that do not set these variables keep the existing dummy oracle behavior.

Reviewed by Cursor Bugbot for commit a64b7ca. 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 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
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.

2 participants