You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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()
0 commit comments