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/compromised wallet with no milestone progressreport #24

Merged
merged 50 commits into from
Jan 25, 2024

Conversation

sdpisreddevil
Copy link
Collaborator

Changes:

Updated contributor and sponsor addresses in case of any compromise or unauthorized access to CPS wallets. This ensures that compromised wallets are blocked.

Fixed the voting error for progress reports without any submitted milestone. Now, progress reports without milestones can be voted on without errors.

Fixed readonly methods on loginPrep to address the issue where candidate preps cannot vote during the voting period. The list is now correctly taken from the snapshot database.

Fixed readonly method on CPSTreasury. The outstanding estimated amount is now displayed correctly for both contributors and sponsors.

Added the remainingMilestones API to provide visibility on remaining milestones. This enhancement is designed to improve the frontend user experience.

Purpose:

This pull request addresses several issues and introduces improvements to enhance the functionality and security of the CPS system. The changes aim to provide a more robust and user-friendly experience for contributors, sponsors, and validators.

Testing:

All changes have been thoroughly tested to ensure proper functionality and to verify that the identified issues have been resolved. Automated tests have been added where applicable to maintain code quality and prevent regressions.

Additional Notes:
Please review and test the changes thoroughly. The proposed updates enhance the overall reliability and usability of the CPS system.

naneey and others added 26 commits January 7, 2024 21:23
No vote required for progress-report without milestones
Request to update CPS contracts
add block address for compromised wallet condition and stop that wallet to claim any fund from CPS
add check maintenance mode for claiming the reward in case of any compromise case
update contributor as well as sponsor address for the compromised wallet
update contributor as well as sponsor address for the compromised wallet from CPSTreasury
update sponsor address as optional for both CPS and CPSTreasury
…line-fix

Check for milestone approved added in milestone deadline getter
…tters

Fix for getters related to contributor project and sponsor deposited bond
sdpisreddevil and others added 20 commits January 25, 2024 15:35
…ress-for-compromised-wallets

Fix for updating compromised address
…' into featue/add-block-address-method-for-compromised-wallets
…ethod-for-compromised-wallets

Featue/add block address method for compromised wallets
…-with-no-milestones

fix: No vote required for progress-report without milestones
remove unused import
remove migration method
- add checker for the new contributor to be blocked before address update
- add checker for the new sponsor address to be blocked before address update
- add/remove whitespaces
- add test for checker for the new contributor to be blocked before address update
- add test for checker for the new sponsor address to be blocked before address update
- variable to retrieve the ArrayDb
- unused test file
- stop block address to submit and vote proposal/progress-report on cps
Copy link
Collaborator

@naneey naneey left a comment

Choose a reason for hiding this comment

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

looks good

@naneey naneey merged commit 2724e9a into main Jan 25, 2024
@sdpisreddevil sdpisreddevil deleted the fix/compromised-wallet-with-no-milestone-progressreport branch January 25, 2024 17:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working enhancement New feature or request
Projects
None yet
3 participants