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

Remove compress from IDL to save space #74

Merged
merged 1 commit into from
Jan 12, 2024

Conversation

danenbm
Copy link
Contributor

@danenbm danenbm commented Jan 12, 2024

Looks like we are over size by 69 bytes when we failed to deploy to devnet:

> Program logged: "Instruction: IdlSetBuffer"
> Program logged: "AnchorError thrown in program/src/lib.rs:71. Error Code: RequireGteViolated. Error Number: 2506. Error Message: A require_gte expression was violated."
> Program logged: "Left: 2508"
> Program logged: "Right: 2577"
> Program consumed: 8184 of 200000 compute units
> Program returned error: "custom program error: 0x9ca"

So to avoid using idl close and re-initializing IDL, removing compress for now which is not implemented anyways.

@danenbm danenbm requested a review from blockiosaurus January 12, 2024 22:08
@blockiosaurus blockiosaurus merged commit 800ec27 into main Jan 12, 2024
7 checks passed
@danenbm danenbm deleted the danenbm/remove-compress-from-idl branch January 12, 2024 22:13
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.

2 participants