Skip to content

Commit

Permalink
Clearly comment proposal test setup
Browse files Browse the repository at this point in the history
  • Loading branch information
jferas committed Nov 27, 2023
1 parent 0d8cb81 commit d21c155
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/helpers/ProposalTest.sol
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,9 @@ abstract contract ProposalTest is RadworksGovernorTest {
RadworksGovernorTest.setUp();

if (_useDeployedGovernorBravo()) {
// Use the actual live proposal data when it gets put on chain
upgradeProposalId = 17; // assume this is the next proposal
// Use the actual live proposal data expected to be on chain
// if Radworks Governor Bravo has already deployed
upgradeProposalId = 17; // assume this is the next proposal (as most recent is 16)
// Since the proposal was already submitted, the count before its submissions is one less
initialProposalCount = governorAlpha.proposalCount() - 1;
} else {
Expand Down

0 comments on commit d21c155

Please sign in to comment.