Closed niklaslong closed 7 months ago
Should this target #2437?
One way we can dedup is by adding a helper in ledger-test-helpers
that returns a Program
object with the large transition. ledger-test-helpers
is already imported by synthesizer
as a dev dependency.
Should this target https://github.com/AleoHQ/snarkVM/pull/2437?
It can, I wanted to avoid adding overhead to your changeset by pointing it that way but happy to do what is most convenient for you.
I've done a little deduping, I'm not super familiar with this code so lmk if I missed something or named something poorly 🙏
Deduping looks good! Happy to merge this in to #2437 to consolidate the final review.
Rebased after the latest merges into mainnet-staging
, should be ready to go.
Builds on #2437, only the last commit is new. Introduces a test helper for a large execution transaction to it can be used in the snarkOS codec tests.
Todo: check if worth deduplicating withDone.synthesizer/src/vm/mod.rs
tests.