Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce large execution transaction test helper #2438

Merged

Conversation

niklaslong
Copy link
Collaborator

@niklaslong niklaslong commented Apr 21, 2024

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 with synthesizer/src/vm/mod.rs tests. Done.

@d0cd
Copy link
Contributor

d0cd commented Apr 22, 2024

Should this target #2437?

@d0cd
Copy link
Contributor

d0cd commented Apr 22, 2024

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.

@niklaslong
Copy link
Collaborator Author

niklaslong commented Apr 23, 2024

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.

@niklaslong
Copy link
Collaborator Author

niklaslong commented Apr 23, 2024

I've done a little deduping, I'm not super familiar with this code so lmk if I missed something or named something poorly 🙏

@d0cd
Copy link
Contributor

d0cd commented Apr 24, 2024

Deduping looks good! Happy to merge this in to #2437 to consolidate the final review.

@niklaslong niklaslong force-pushed the feat/transaction-byte-limit branch from be373c9 to bcc7e27 Compare April 24, 2024 23:45
@niklaslong niklaslong marked this pull request as ready for review April 24, 2024 23:45
@niklaslong
Copy link
Collaborator Author

Rebased after the latest merges into mainnet-staging, should be ready to go.

@niklaslong niklaslong requested review from d0cd and howardwu and removed request for d0cd April 25, 2024 10:27
@howardwu howardwu merged commit afacda3 into AleoNet:mainnet-staging Apr 26, 2024
80 checks passed
@niklaslong niklaslong deleted the feat/transaction-byte-limit branch April 28, 2024 17:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants