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

Disallow nil as an option for the previousGlobalState #707

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Conversation

eljobe
Copy link
Member

@eljobe eljobe commented Nov 26, 2024

This makes the code to implement the ExecutionStateAfterPreviousState more complicated than it needs to be for an edge case (bootstrapping a new chain) that will not only happen infrequently, but, can also be represented with a non-nil zero-value protocol.GoGlobalState{} instance.

This makes the code to implement the ExecutionStateAfterPreviousState more
complicated than it needs to be for an edge case (bootstrapping a new chain)
that will not only happen infrequently, but, can also be represented with a
non-nil zero-value `protocol.GoGlobalState{}` instance.
@eljobe eljobe requested a review from rauljordan November 26, 2024 14:20
@eljobe eljobe merged commit adbdd0c into main Nov 26, 2024
5 checks passed
@eljobe eljobe deleted the no-nil branch November 26, 2024 15:06
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