Open amitabh94 opened 5 days ago
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes.
✅✅✅ pr_smoke_e2e_pipeline
passed on Bitrise! ✅✅✅
Commit hash: c910e77fdfb04f0dc6569cbc4ac3a56ffa3accdc Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/a241c65b-45ff-4d5b-9f6e-eae0fdf069de
[!NOTE]
- You can kick off another
pr_smoke_e2e_pipeline
on Bitrise by removing and re-applying theRun Smoke E2E
label on the pull request
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
94.4% Coverage on New Code
0.0% Duplication on New Code
✅✅✅ pr_smoke_e2e_pipeline
passed on Bitrise! ✅✅✅
Commit hash: 98523bae01c47cad054f4d185cad71c3f4878347 Build link: https://app.bitrise.io/app/be69d4368ee7e86d/pipelines/cbd212bb-fd40-46e3-a4ab-f897ba842f5c
[!NOTE]
- You can kick off another
pr_smoke_e2e_pipeline
on Bitrise by removing and re-applying theRun Smoke E2E
label on the pull request
Description
This PR refactors the staking-related state management by introducing a staking redux slice. This change improves state management consistency, reduces duplicate state, and makes the data flow more predictable across the staking feature.
PooledStaking
slice to manage staking-related stateusePooledStakes
useStakingEligibility
useVaultData
useStakingEarnings
hasStakedPositions
fromusePooledStakes
touseStakingEarnings
to avoid prop drillingRelated issues
Fixes: STAKE-870
Manual testing steps
Screenshots/Recordings
Before
https://github.com/user-attachments/assets/cbdfad52-58ae-4396-a214-0c793eb49f7c
After
https://github.com/user-attachments/assets/d064012f-32c3-41a3-8537-4593b6e409af
Pre-merge author checklist
Pre-merge reviewer checklist
[ ] I've manually tested the PR (e.g. pull and build branch, run the app, test code being changed).
[ ] I confirm that this PR addresses all acceptance criteria described in the ticket it closes and includes the necessary testing evidence such as recordings and or screenshots.