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

[feat] Proposal vote check #6

Merged
merged 8 commits into from Jan 4, 2024
Merged

[feat] Proposal vote check #6

merged 8 commits into from Jan 4, 2024

Conversation

kamikazebr
Copy link
Member

@kamikazebr kamikazebr commented Dec 27, 2023

πŸ”₯ remove pinned solc version in foundry
πŸ› add missing _pow func to avoid overflow and underflow
✨ helper func in test
πŸ§ͺ conviction value check after vote and time passed
🎨 fix format using forge fmt
🎨 better order for test funcs and comments
🎨 some consts added
πŸ› put owner in init params instead msg.sender
✨ setCouncilMembers func added
✨ setBasisStakedAmount func added
πŸ› fix stakedAmount updates
πŸ› fix threshold formula
✨ created better constants for testing
πŸ§ͺ 2 new tests, totalStaked and threshold

πŸ› add missing _pow func to avoid overflow and underflow
✨ helper func in test
πŸ§ͺ conviction value check after vote and time passed
🎨 better order for test funcs and comments
🎨 some consts added
@kamikazebr kamikazebr changed the title Proposal vote check [feat] Proposal vote check Dec 27, 2023
✨ setCouncilMembers func added
✨ setBasisStakedAmount func added
πŸ› fix threshold formula
✨ created better constants for testing
πŸ§ͺ 2 new tests, totalStaked and threshold
πŸ› created correct InitializedCV event
πŸ› fix subgraph
πŸ”₯ replace owner for councilSafe
✨ add AccessControl to use Roles
πŸ”₯ remove old ISafe interface in favor of Safe.sol
✨ created SafeSetup for helpers functions
✨ change CouncilSafe ownership in 2 Step
@kamikazebr kamikazebr merged commit 662d339 into dev Jan 4, 2024
1 check passed
@kamikazebr kamikazebr deleted the proposal-vote-check branch January 4, 2024 22:46
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.

None yet

1 participant