Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
355dc80
apollo_consensus_orchestrator: make SNIP-35 fee target a dynamic conf…
sirandreww-starkware May 28, 2026
9c562b3
release: set workspace crate versions to 0.19.0-rc.0 (#14235)
dorimedini-starkware May 28, 2026
55cb23a
apollo_consensus_orchestrator,apollo_dashboard: add USD fee target pa…
sirandreww-starkware May 28, 2026
dce5356
deployment: add monitoring endpoint port to hybrid environment overla…
nimrod-starkware May 28, 2026
c3e40de
apollo_deployments: fix startup_rewind config to 21600 (#14236)
ShahakShama May 28, 2026
0a4f139
starknet_transaction_prover: disable sccache rustc-wrapper to fix arm…
Yoni-Starkware May 28, 2026
4c09a92
apollo_l1_events: add L1_MESSAGE_SCRAPER_L1_HANDLER_TX_COUNT counter …
ShahakShama May 28, 2026
d2f5442
apollo_consensus_orchestrator: pin SNIP-35 fee_target to override_l2_…
sirandreww-starkware May 28, 2026
7262719
deployment: add startup probe to hybrid environment overlays (#14188)
nimrod-starkware May 28, 2026
f3f3f3c
deployment: add readiness probe to hybrid environment overlays (#14190)
nimrod-starkware May 28, 2026
fc738b3
deployment: add liveness probe to hybrid environment overlays (#14191)
nimrod-starkware May 28, 2026
7ad7bd2
central_systest_blobs: dedicated feature contract for cende blob regr…
Yoni-Starkware May 28, 2026
8ce9e66
deployment: add gcp pod monitoring to hybrid environment overlays (#1…
nimrod-starkware May 28, 2026
8e1aed5
workspace: bump privacy-circuit-verify-v1 and privacy-prove to v0.14.…
Yoni-Starkware May 28, 2026
8596488
workspace: bump privacy-circuit-verify-v1 and privacy-prove to v0.14.…
Yoni-Starkware May 28, 2026
9155cef
scripts: drop the llvm.sh SHA pin in install_llvm19.sh (#14263)
avi-starkware May 31, 2026
8e5f53e
deployment: support include directive in common yaml loader (#14242)
nimrod-starkware May 31, 2026
2af1509
apollo_consensus_orchestrator: bind parent block fee_proposal_fri in …
sirandreww-starkware May 31, 2026
17a6ecd
deployment: extract sierra-compiler common config (#14243)
nimrod-starkware May 31, 2026
7864edb
apollo_dashboard: add L1 handler scrape rate panel (#14233)
ShahakShama Jun 1, 2026
5e85929
deployment: extract committer common config (#14244)
nimrod-starkware Jun 1, 2026
73de2bf
deployment: extract l1 common config (#14245)
nimrod-starkware Jun 1, 2026
9cf526d
blockifier: introduce AnnotatedEntryPointExecutionError wrapper (#14259)
ron-starkware Jun 1, 2026
92451c2
deployment: extract gateway common config (#14246)
nimrod-starkware Jun 1, 2026
133f7cf
blockifier: omit cairo-vm-specific VM frames from SierraGas revert tr…
ron-starkware Jun 1, 2026
0e58f99
deployment: extract mempool common config (#14247)
nimrod-starkware Jun 1, 2026
359b45b
deployment: extract core common config (#14248)
nimrod-starkware Jun 1, 2026
527458f
deployment: extract common env to hybrid/common/common.yaml (#14249)
nimrod-starkware Jun 1, 2026
cd7317b
deployment: add service ports to hybrid common service overlays (#14215)
nimrod-starkware Jun 1, 2026
62174ab
deployment: support real Pragma oracle in local monitoring stack (#14…
sirandreww-starkware Jun 1, 2026
c3e4a89
deployment: fix storage reader port (#14229)
nimrod-starkware Jun 1, 2026
db51261
deployment: add mempool p2p port to hybrid common service overlay (#1…
nimrod-starkware Jun 1, 2026
6ae49df
deployment: add http server port to hybrid common service overlay (#1…
nimrod-starkware Jun 1, 2026
613f841
deployment: add monitoring endpoint port to hybrid common overlay (#1…
nimrod-starkware Jun 1, 2026
b392cf2
deployment: add proof archive bucket name to env gateway overlays (#1…
nimrod-starkware Jun 2, 2026
47b2986
chore: merge branch main-v0.14.3 into main (with conflicts)
nimrod-starkware Jun 2, 2026
adeb22d
workspace: fix merge conflicts
nimrod-starkware Jun 3, 2026
b0ab9e2
Merge remote-tracking branch 'origin/main' into nimrod/merge-main-v0.…
nimrod-starkware Jun 3, 2026
50dd300
chore: make tests pass
nimrod-starkware Jun 3, 2026
651c584
Merge remote-tracking branch 'origin/main' into nimrod/merge-main-v0.…
nimrod-starkware Jun 3, 2026
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
116 changes: 64 additions & 52 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -335,8 +335,8 @@ phf = "0.11"
pretty_assertions = "1.4.0"
primitive-types = "0.12.1"
privacy-circuit-verify-v0 = { package = "privacy-circuit-verify", git = "https://github.com/starkware-libs/proving-utils", rev = "580135e" }
privacy-circuit-verify-v1 = { package = "privacy-circuit-verify", git = "https://github.com/starkware-libs/proving-utils", rev = "1e0f8fc" }
privacy-prove = { git = "https://github.com/starkware-libs/proving-utils", rev = "1e0f8fc" }
privacy-circuit-verify-v1 = { package = "privacy-circuit-verify", git = "https://github.com/starkware-libs/proving-utils", tag = "v0.14.3-rc-1" }
privacy-prove = { git = "https://github.com/starkware-libs/proving-utils", tag = "v0.14.3-rc-1" }
proc-macro2 = "1.0"
prometheus-parse = "0.2.4"
prost = "0.12.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
//! - `compute_fee_actual`: the base fee for this block, calculated as the median of the most recent
//! `fee_proposal` values across `window_size` blocks.
//! - `compute_fee_target`: the fee we'd *like* for this block, derived from the STRK/USD oracle
//! quote and a fixed USD-cost target.
//! quote and a configurable USD-cost target.
//! - `compute_fee_proposal`: the target, clamped within a fixed multiplicative margin of
//! `fee_actual` (so a proposer cannot move the fee too far per round).
//!
Expand Down Expand Up @@ -44,10 +44,6 @@ const FRI_DECIMALS_SCALE: u128 = 10u128.pow(18);
/// Denominator for parts-per-thousand calculations in fee_proposal bounds.
pub(crate) const PPT_DENOMINATOR: u128 = 1000;

/// Target USD cost per L2 gas unit in atto-USD ($3e-9 = 3_000_000_000 atto-USD).
// TODO(AndrewL): consider moving this to a dynamic config.
pub(crate) const TARGET_ATTO_USD_PER_L2_GAS: u128 = 3_000_000_000;

/// Compute fee_actual for `height` as the median of the `fee_proposal` values
/// recorded for heights `[height - window_size, height - 1]`.
///
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use std::collections::BTreeMap;

use apollo_consensus_orchestrator_config::config::DEFAULT_SNIP35_TARGET_ATTO_USD_PER_L2_GAS;
use apollo_versioned_constants::VersionedConstants;
use rand::{RngExt, SeedableRng};
use rand_chacha::ChaCha8Rng;
Expand All @@ -13,7 +14,6 @@ use crate::dynamic_gas_price::{
compute_fee_target,
FeeProposalInfo,
PPT_DENOMINATOR,
TARGET_ATTO_USD_PER_L2_GAS,
};

const TEST_FEE_PROPOSAL_WINDOW_SIZE: u64 = 10;
Expand Down Expand Up @@ -228,7 +228,7 @@ fn test_honest_proposer_always_passes_validation_fuzzed() {
let fee_actual_value = rng.random_range(1u128..1_000_000_000_000_000_000);
let strk_usd_rate = rng.random_range(1u128..2 * 10u128.pow(18));
let fee_actual = GasPrice(fee_actual_value);
let target = compute_fee_target(TARGET_ATTO_USD_PER_L2_GAS, strk_usd_rate);
let target = compute_fee_target(DEFAULT_SNIP35_TARGET_ATTO_USD_PER_L2_GAS, strk_usd_rate);
Comment thread
nimrod-starkware marked this conversation as resolved.
let oracle_result = if rng.random_bool(0.1) { None } else { target };
let proposal = compute_fee_proposal(oracle_result, fee_actual, margin_ppt);
assert!(
Expand Down
Loading
Loading