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

Cleanup ID initialization #2690

Merged
merged 1 commit into from
Feb 1, 2024
Merged

Cleanup ID initialization #2690

merged 1 commit into from
Feb 1, 2024

Conversation

StephenButtolph
Copy link
Contributor

Why this should be merged

Cleans up ID initialization a bit. Was working on a PR that resulted in encoding a number of IDs and felt that this would make it a lot more clear.

How this works

Adds a new ID parser that panics on error.

How this was tested

  • CI

@StephenButtolph StephenButtolph added the cleanup Code quality improvement label Jan 31, 2024
@StephenButtolph StephenButtolph added this to the v1.10.20 milestone Jan 31, 2024
@StephenButtolph StephenButtolph self-assigned this Jan 31, 2024
@StephenButtolph StephenButtolph added this pull request to the merge queue Jan 31, 2024
Merged via the queue into master with commit cb0ab8f Feb 1, 2024
17 checks passed
@StephenButtolph StephenButtolph deleted the from-string-or-panic branch February 1, 2024 00:10
mboben pushed a commit to mboben/avalanchego that referenced this pull request Apr 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cleanup Code quality improvement
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

3 participants