Skip to content

Commit a7ff1b4

Browse files
committed
Ledger/transaction_logic: extract local_state module to separate
file Split the large transaction_logic.rs file by extracting the local_state module (947 lines) into its own file at ledger/src/scan_state/transaction_logic/local_state.rs. Changes: - Created local_state.rs with StackFrame, CallStack, LocalState, LocalStateEnv types and zkApp command application functions - Made apply_zkapp_command_first_pass and apply_zkapp_command_second_pass public - Added module declaration in mod.rs - Updated import paths in sparse_ledger.rs - Added all necessary imports (ark_ff::Zero, itertools, BTreeMap, AccountIdOrderable, AppendToInputs, zkapps, etc.) - Removed unused imports from mod.rs (ark_ff::Zero, Itertools) - Fixed ambiguous Index::zero() call to use IndexInterface::zero()
1 parent dcf3dae commit a7ff1b4

File tree

3 files changed

+975
-954
lines changed

3 files changed

+975
-954
lines changed

0 commit comments

Comments
 (0)