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 identical beacon state #14338

Merged
merged 2 commits into from
Aug 14, 2024
Merged

Remove identical beacon state #14338

merged 2 commits into from
Aug 14, 2024

Conversation

saolyn
Copy link
Contributor

@saolyn saolyn commented Aug 13, 2024

What type of PR is this?

Cleanup

What does this PR do? Why is it needed?

We had two completely identical beacon states with the only difference being the flag at the top eg. //go:build minimal this PR removes one and renames the file to be a general beacon_state used by both minimal and mainnet.

Which issues(s) does this PR fix?

N/A

Other notes for review

@saolyn saolyn requested a review from a team as a code owner August 13, 2024 12:20
@saolyn saolyn requested review from kasey and nalepae August 13, 2024 12:20
Copy link
Member

@prestonvanloon prestonvanloon left a comment

Choose a reason for hiding this comment

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

LGTM. These two files were identical.

@rkapka do you see any issue with this?

Copy link
Member

@nisdas nisdas left a comment

Choose a reason for hiding this comment

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

This is incorrect, we need 2 versions of the state. A mainnet state is not compatible with a minimal state

Copy link
Member

@nisdas nisdas left a comment

Choose a reason for hiding this comment

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

After talking with @rkapka , it is fine to remove it and just use 1 state instance

@saolyn saolyn added this pull request to the merge queue Aug 14, 2024
Merged via the queue into develop with commit 0c6a068 Aug 14, 2024
17 checks passed
@saolyn saolyn deleted the single-beacon-state branch August 14, 2024 10:24
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.

None yet

4 participants