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

program: drop unused errors #41

Merged
merged 1 commit into from
Nov 7, 2024
Merged

program: drop unused errors #41

merged 1 commit into from
Nov 7, 2024

Conversation

buffalojoec
Copy link
Contributor

Problem

When we wrote the Address Lookup Table program in BPF, we brought over the AddressLookupError enum from the SDK. However, these errors are actually never thrown by the program. Instead, they're used by the runtime.

They should remain in the SDK or runtime, not the program, since they're unused here.

Summary of Changes

Drop the errors. As proof they were never used, this did not affect CUs nor client generation.

Copy link
Contributor

@joncinque joncinque left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@buffalojoec buffalojoec merged commit 3821e81 into main Nov 7, 2024
9 checks passed
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