Commit 6c564ff
committed
Ledger/transaction_logic: extract transaction_partially_applied
module to separate file
Split the large transaction_logic.rs file by extracting the
transaction_partially_applied module (1076 lines) into its own file
at ledger/src/scan_state/transaction_logic/transaction_partially_applied.rs.
Changes:
- Created transaction_partially_applied.rs with
ZkappCommandPartiallyApplied, TransactionPartiallyApplied, and
FullyApplied types
- Includes apply_transaction_first_pass/second_pass and
apply_transactions functions
- Includes apply_coinbase, apply_fee_transfer, apply_user_command and
related helper functions
- Added module declaration and re-exports in mod.rs for
apply_transaction_first_pass, apply_transaction_second_pass,
apply_transactions, apply_user_command, set_with_location, and
AccountState
- Removed self-import statement and extra closing brace from
extracted file1 parent a7ff1b4 commit 6c564ff
File tree
2 files changed
+1081
-1078
lines changed- ledger/src/scan_state/transaction_logic
2 files changed
+1081
-1078
lines changed
0 commit comments