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

Initialize reduce w/ zero #1782

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Initialize reduce w/ zero #1782

merged 1 commit into from
Sep 12, 2024

Conversation

grod220
Copy link
Collaborator

@grod220 grod220 commented Sep 12, 2024

Found on testnet. If a validator has zero staking commission, the array reduce will error out. Initializing w/ zero to prevent an error on this edge case.

Screenshot 2024-09-12 at 1 14 55 PM

@grod220 grod220 requested a review from a team September 12, 2024 11:16
Copy link

changeset-bot bot commented Sep 12, 2024

⚠️ No Changeset found

Latest commit: c8dec87

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@grod220 grod220 merged commit e5b7a74 into main Sep 12, 2024
6 checks passed
@grod220 grod220 deleted the initialize-arr branch September 12, 2024 15:16
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