From ee4007afce4be63110067fcf2f302b02858d4162 Mon Sep 17 00:00:00 2001 From: dragosrebegea Date: Tue, 6 Aug 2024 19:25:15 +0300 Subject: [PATCH] remove-upgrade-governance-v2 --- energy-integration/governance-v2/src/lib.rs | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/energy-integration/governance-v2/src/lib.rs b/energy-integration/governance-v2/src/lib.rs index f3800f915..eb346617d 100644 --- a/energy-integration/governance-v2/src/lib.rs +++ b/energy-integration/governance-v2/src/lib.rs @@ -51,17 +51,6 @@ pub trait GovernanceV2: self.try_change_fee_token_id(fee_token); } - #[endpoint] - fn upgrade( - &self, - proposal_id: ProposalId, - total_percentage: BigUint, - ) { - let mut proposal = self.proposals().get(proposal_id); - proposal.total_quorum = total_percentage; - self.proposals().set(proposal_id, &proposal); - } - /// Propose a list of actions. /// A maximum of MAX_GOVERNANCE_PROPOSAL_ACTIONS can be proposed at a time. ///