From 9c00d9d90e87245aff1fd39ba6678ef1f2a5a2ed Mon Sep 17 00:00:00 2001 From: Bartosz Nowak Date: Mon, 27 May 2024 16:17:17 +0200 Subject: [PATCH] fmt --- .../bootloader/contract/execute_entry_point.cairo | 2 +- .../bootloader/contract/run_contract_bootloader.cairo | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/cairo0-bootloader/bootloader/contract/execute_entry_point.cairo b/cairo0-bootloader/bootloader/contract/execute_entry_point.cairo index 01cd720..dfd8bd6 100644 --- a/cairo0-bootloader/bootloader/contract/execute_entry_point.cairo +++ b/cairo0-bootloader/bootloader/contract/execute_entry_point.cairo @@ -185,7 +185,7 @@ func execute_entry_point{ %{ vm_enter_scope() %} call abs contract_entry_point; - + %{ vm_exit_scope() %} // Retrieve returned_builtin_ptrs_subset. diff --git a/cairo0-bootloader/bootloader/contract/run_contract_bootloader.cairo b/cairo0-bootloader/bootloader/contract/run_contract_bootloader.cairo index 487ac57..4789f52 100644 --- a/cairo0-bootloader/bootloader/contract/run_contract_bootloader.cairo +++ b/cairo0-bootloader/bootloader/contract/run_contract_bootloader.cairo @@ -8,10 +8,7 @@ from starkware.cairo.common.cairo_builtins import ( ) from starkware.cairo.common.registers import get_fp_and_pc from contract_class.compiled_class import CompiledClass -from starkware.starknet.builtins.segment_arena.segment_arena import ( - new_arena, - SegmentArenaBuiltin -) +from starkware.starknet.builtins.segment_arena.segment_arena import new_arena, SegmentArenaBuiltin from starkware.starknet.core.os.builtins import ( BuiltinEncodings, BuiltinParams, @@ -87,7 +84,7 @@ func run_contract_bootloader{ local local_builtin_params: BuiltinParams = BuiltinParams( builtin_encodings=&local_builtin_encodings, - builtin_instance_sizes=&local_builtin_instance_sizes + builtin_instance_sizes=&local_builtin_instance_sizes, ); let builtin_params = &local_builtin_params;