From cc454ddd8a3aca74b62bbb731c2b5a0efce22a51 Mon Sep 17 00:00:00 2001 From: Victor Elias Date: Tue, 3 Oct 2023 18:13:54 -0300 Subject: [PATCH] Revert "[devnet-compat] treasury: Invert order of quota field" This reverts commit 299ff5b4ea7ffb8d8755f43f60a366a8c5c58dcb. --- contracts/treasury/GovernorCountingOverridable.sol | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/contracts/treasury/GovernorCountingOverridable.sol b/contracts/treasury/GovernorCountingOverridable.sol index 31dfa388..c3743cee 100644 --- a/contracts/treasury/GovernorCountingOverridable.sol +++ b/contracts/treasury/GovernorCountingOverridable.sol @@ -53,15 +53,15 @@ abstract contract GovernorCountingOverridable is Initializable, GovernorUpgradea mapping(address => ProposalVoterState) voters; } + // Maps proposal IDs to their corresponding vote tallies. + mapping(uint256 => ProposalTally) private _proposalTallies; + /** * @notice The required percentage of "for" votes in relation to the total opinionated votes (for and against) for * a proposal to succeed. Represented as a MathUtils percentage value (e.g. 6 decimal places). */ uint256 public quota; - // Maps proposal IDs to their corresponding vote tallies. - mapping(uint256 => ProposalTally) private _proposalTallies; - function __GovernorCountingOverridable_init(uint256 _quota) internal onlyInitializing { __GovernorCountingOverridable_init_unchained(_quota); }