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

Tests: Increase test coverage #39

Open
32 of 62 tasks
garyghayrat opened this issue Oct 25, 2024 · 1 comment
Open
32 of 62 tasks

Tests: Increase test coverage #39

garyghayrat opened this issue Oct 25, 2024 · 1 comment

Comments

@garyghayrat
Copy link
Member

garyghayrat commented Oct 25, 2024

TransparentUpgradeableProxy

  • upgrade

CompoundGovernor

  • Test: CompoundGovernor
  • constructor
  • initialize
  • cancel
  • setWhitelistAccountExpiration
  • isWhitelisted
  • setWhitelistGuardian
  • setProposalGuardian
  • proposalDeadline
  • proposalSnapshot
  • proposalEta
  • proposalProposer
  • proposalNeedsQueuing
  • proposalThreshold
  • state
  • _setWhitelistGuardian
  • _setProposalGuardian
  • _propose
  • _cancel
  • _castVote
  • _executeOperations
  • _executor
  • _queueOperations

GovernorVotesCompUpgradeable

  • Test: GovernorVotesCompUpgradeable
  • token
  • clock
  • CLOCK_MODE
  • _getGovernorVotesCompStorage
  • __GovernorVotesComp_init
  • __GovernorVotesComp_init_unchained
  • _getVotes

GovernorSettableFixedQuorumUpgradeable

  • Test: GovernorSettableFixedQuorumUpgradeable
  • setQuorum
  • quorum
  • _setQuorum
  • _getGovernorSettableFixedQuorumStorage
  • __GovernorSettableFixedQuorum_init
  • __GovernorSettableFixedQuorum_init_unchained

GovernorSequentialProposalIdUpgradeable

  • Test: GovernorStorageEnumIdsUpgradeable
  • hashProposal
  • getNextProposalId
  • _setNextProposalId
  • _propose
  • queue
  • execute
  • cancel
  • proposalDetails
  • proposalCount
  • __GovernorSequentialProposalId_init
  • __GovernorSequentialProposalId_init_unchained

GovernorCountingFractionalUpgradeable

  • Test: GovernorCountingFractionalUpgradeable #41
  • COUNTING_MODE
  • hasVoted
  • usedVotes
  • proposalVotes
  • _quorumReached
  • _voteSucceeded
  • _countVote
  • _getGovernorCountingFractionalStorage
  • __GovernorCountingFractional_init
  • __GovernorCountingFractional_init_unchained
@wildmolasses
Copy link
Collaborator

let's test both methods for cancel together (full TVCD args as well as proposalId args), and also queue, execute

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

No branches or pull requests

2 participants