snarkVM
snarkVM copied to clipboard
[Refactor] Clean up TX verification logic
💥 Proposal
The Transaction verification logic is growing with all the new ConsensusVersion rule changes. These should be abstracted elsewhere for better readability.
https://github.com/ProvableHQ/snarkVM/blob/staging/synthesizer/src/vm/verify.rs#L201
Initial attempt here: https://github.com/ProvableHQ/snarkVM/pull/2798/files#diff-897e9a9f59d4fc522348f00c936a1fd07ee9c654858dc846a658d6a02f05810aR192