Skip to content

Conversation

@ARR4N
Copy link
Collaborator

@ARR4N ARR4N commented Oct 24, 2024

Why this should be merged

Fixes invariant broken by introduction of types.StateAccountExtra.

How this works

state.stateObject.empty() now also requires that the underlying account's Extra field carries the zero value if a type is registered, or is itself nil.

How this was tested

New unit test.

@ARR4N ARR4N marked this pull request as ready for review October 24, 2024 06:29
@ARR4N ARR4N requested review from a team, ceyonur, darioush and michaelkaplan13 and removed request for a team October 24, 2024 06:29
@ARR4N ARR4N enabled auto-merge (squash) October 27, 2024 22:46
@ARR4N ARR4N merged commit cb7eb89 into main Oct 28, 2024
3 checks passed
@ARR4N ARR4N deleted the arr4n/state-object-empty branch October 28, 2024 18:34
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