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

Test that compressed contract bundles are less than 1MB #36

Closed
0xpatrickdev opened this issue Jan 4, 2024 · 0 comments · Fixed by #56
Closed

Test that compressed contract bundles are less than 1MB #36

0xpatrickdev opened this issue Jan 4, 2024 · 0 comments · Fixed by #56
Assignees

Comments

@0xpatrickdev
Copy link
Member

The chain sdk has limitations on a tx message size - approx 1MB. See: Agoric/agoric-sdk#7501.

We should add a test that ensures compressed versions of the generated bundles do not exceed 1MB. Suggested: #34 (comment)

See here for an example of how to compress a bundle: https://github.com/DCFoundation/cosmos-proposal-builder/blob/84318e05322ed46653dbdd6634d0f9f1f304e180/src/lib/compression.ts#L27-L38

And here for a filepath for generated bundles from ci: https://github.com/Agoric/dapp-offer-up/actions/runs/7403614239/job/20143726617#step:6:24

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 a pull request may close this issue.

1 participant