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

fix: use mutable validator object #6774

Merged
merged 1 commit into from
May 14, 2024
Merged

Conversation

ensi321
Copy link
Contributor

@ensi321 ensi321 commented May 14, 2024

Used getReadOnly() validator object when setting epochs. Use get() instead

@ensi321 ensi321 requested a review from a team as a code owner May 14, 2024 12:25
@ensi321 ensi321 changed the title Use mutable validator object fix: use mutable validator object May 14, 2024
Copy link
Member

@matthewkeil matthewkeil left a comment

Choose a reason for hiding this comment

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

LGTM!! 🎸

@ensi321 ensi321 merged commit 651eee1 into electra-fork May 14, 2024
6 of 8 checks passed
@@ -37,7 +37,7 @@ export function processExecutionLayerWithdrawalRequest(
return;
}

const validator = validators.getReadonly(validatorIndex);
const validator = validators.get(validatorIndex);
Copy link
Contributor

Choose a reason for hiding this comment

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

To avoid such logical issues for future we should fix the types.

Copy link
Contributor

Choose a reason for hiding this comment

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

g11tech pushed a commit that referenced this pull request May 24, 2024
Use mutable validator object
g11tech pushed a commit to g11tech/lodestar that referenced this pull request Jun 19, 2024
g11tech pushed a commit that referenced this pull request Jun 25, 2024
Use mutable validator object
g11tech pushed a commit that referenced this pull request Jun 25, 2024
Use mutable validator object
g11tech pushed a commit that referenced this pull request Jul 1, 2024
Use mutable validator object
g11tech pushed a commit that referenced this pull request Jul 30, 2024
Use mutable validator object
g11tech pushed a commit that referenced this pull request Jul 31, 2024
Use mutable validator object
g11tech pushed a commit that referenced this pull request Aug 2, 2024
Use mutable validator object
g11tech pushed a commit that referenced this pull request Aug 9, 2024
Use mutable validator object
g11tech pushed a commit that referenced this pull request Aug 9, 2024
Use mutable validator object
g11tech pushed a commit that referenced this pull request Aug 23, 2024
Use mutable validator object
g11tech pushed a commit that referenced this pull request Aug 27, 2024
Use mutable validator object
philknows pushed a commit that referenced this pull request Sep 3, 2024
Use mutable validator object
@wemeetagain
Copy link
Member

🎉 This PR is included in v1.22.0 🎉

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.

5 participants