From 19858cdea259c5c64c5915993eda6bc342f0f116 Mon Sep 17 00:00:00 2001 From: meship-starkware Date: Wed, 1 Jan 2025 19:09:57 +0200 Subject: [PATCH] fix: fix code style script --- crates/blockifier/src/execution/execution_utils.rs | 1 - crates/blockifier/src/transaction/transactions_test.rs | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/crates/blockifier/src/execution/execution_utils.rs b/crates/blockifier/src/execution/execution_utils.rs index 12a8420972..a7b3e50f73 100644 --- a/crates/blockifier/src/execution/execution_utils.rs +++ b/crates/blockifier/src/execution/execution_utils.rs @@ -58,7 +58,6 @@ pub fn execute_entry_point_call_wrapper( remaining_gas: &mut u64, ) -> EntryPointExecutionResult { let current_tracked_resource = compiled_class.get_current_tracked_resource(context); - println!("current_tracked_resource: {:?}", current_tracked_resource); if current_tracked_resource == TrackedResource::CairoSteps { // Override the initial gas with a high value so it won't limit the run. call.initial_gas = context.versioned_constants().infinite_gas_for_vm_mode(); diff --git a/crates/blockifier/src/transaction/transactions_test.rs b/crates/blockifier/src/transaction/transactions_test.rs index d0c34f11e6..9b870c8ed3 100644 --- a/crates/blockifier/src/transaction/transactions_test.rs +++ b/crates/blockifier/src/transaction/transactions_test.rs @@ -1520,7 +1520,8 @@ fn declare_validate_callinfo( .os_constants .gas_costs .base - .entry_point_initial_budget - DECLARE_REDEPOSIT_AMOUNT + .entry_point_initial_budget + - DECLARE_REDEPOSIT_AMOUNT } }; expected_validate_call_info( @@ -1576,7 +1577,6 @@ fn test_declare_tx( #[case] empty_contract_version: CairoVersion, #[values(false, true)] use_kzg_da: bool, ) { - let block_context = &BlockContext::create_for_account_testing_with_kzg(use_kzg_da); let versioned_constants = &block_context.versioned_constants; let empty_contract = FeatureContract::Empty(empty_contract_version);