Skip to content

Add high-stake validator warning#1318

Open
ost-ptk wants to merge 2 commits intodevelopfrom
WALLET-1275-as-a-casper-wallet-extension-i-should-warn-users-against-re-delegating-to-validators-with-significant-network-share
Open

Add high-stake validator warning#1318
ost-ptk wants to merge 2 commits intodevelopfrom
WALLET-1275-as-a-casper-wallet-extension-i-should-warn-users-against-re-delegating-to-validators-with-significant-network-share

Conversation

@ost-ptk
Copy link
Copy Markdown
Member

@ost-ptk ost-ptk commented Apr 30, 2026

Description

This pull request introduces a HighStakeWarning component that notifies users about validators with high stake concentration. It includes logic to identify such validators based on a predefined network share threshold. The validator dropdowns have been updated to display warnings for high-stake validators. Additionally, it updates dependencies to the latest casper-wallet-core version and temporarily reduces the password length requirement to 1 for testing purposes.

Linked tickets

WALLET-1275

Checklist

  • Make sure this PR title follows semantic release conventions: https://semantic-release.gitbook.io/semantic-release/#commit-message-format

  • If the PR adds any new text to the UI, make sure they are localized

  • Include a screenshot or recording if implementing significant UI or user flow change

  • When this PR affects architecture changes wait for review from Dmytro before merging

- Introduced a `HighStakeWarning` component to notify users about validators with high stake concentration
- Added logic to identify high-stake validators based on a network share threshold
- Updated validator dropdowns to display warnings for high-stake validators
- Adjusted dependencies to use the latest `casper-wallet-core` version
- Temporarily reduced password length requirement to 1 for testing purposes
@ost-ptk ost-ptk requested a review from Comp0te April 30, 2026 11:22
- Updated `getByText` calls in delegate, undelegate, and redelegate tests to use exact match
- Ensures more precise element selection and reduces test flakiness
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.

1 participant