Skip to content

Commit

Permalink
Add upgrades component to contract
Browse files Browse the repository at this point in the history
  • Loading branch information
tensojka committed Apr 26, 2024
1 parent b97bfee commit 7f17bec
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/contract.cairo
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ mod Governance {
#[abi(embed_v0)]
impl Proposals = proposals_component::ProposalsImpl<ContractState>;

#[abi(embed_v0)]
impl Upgrades = upgrades_component::UpgradesImpl<ContractState>;

#[storage]
struct Storage {
proposal_initializer_run: LegacyMap::<u64, bool>,
Expand Down

0 comments on commit 7f17bec

Please sign in to comment.