diff --git a/crates/sequencing/papyrus_consensus_orchestrator/src/cende/central_objects_test.rs b/crates/sequencing/papyrus_consensus_orchestrator/src/cende/central_objects_test.rs index 931c2a158e..fcb79de63a 100644 --- a/crates/sequencing/papyrus_consensus_orchestrator/src/cende/central_objects_test.rs +++ b/crates/sequencing/papyrus_consensus_orchestrator/src/cende/central_objects_test.rs @@ -1,7 +1,7 @@ use std::sync::Arc; use std::vec; -use blockifier::bouncer::BouncerWeights; +use blockifier::bouncer::{BouncerWeights, BuiltinCount}; use cairo_lang_casm::hints::{CoreHint, CoreHintBase, Hint}; use cairo_lang_casm::operand::{CellRef, Register}; use cairo_lang_starknet_classes::casm_contract_class::{ @@ -255,8 +255,27 @@ fn central_l1_handler_tx_json() -> Value { } fn central_bouncer_weights_json() -> Value { - let bouncer_weights_json = read_json_file(CENTRAL_BOUNCER_WEIGHTS_JSON_PATH); - let bouncer_weights: BouncerWeights = serde_json::from_value(bouncer_weights_json).unwrap(); + let bouncer_weights = BouncerWeights { + builtin_count: BuiltinCount { + add_mod: 1, + bitwise: 2, + ecdsa: 3, + ec_op: 4, + keccak: 5, + mul_mod: 6, + pedersen: 4948, + poseidon: 54, + range_check: 2301, + range_check96: 7, + }, + l1_gas: 8, + message_segment_length: 9, + n_events: 2, + n_steps: 121095, + state_diff_size: 45, + sierra_gas: GasAmount(10), + }; + serde_json::to_value(bouncer_weights).unwrap() }