Skip to content

Commit

Permalink
Remove add_governance_canister since it is now automated (#4532)
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles authored Oct 9, 2023
1 parent 20d5a3b commit 6ec0932
Show file tree
Hide file tree
Showing 12 changed files with 4 additions and 289 deletions.
4 changes: 4 additions & 0 deletions backend/canisters/proposals_bot/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

- Automatically create proposals groups for new SNSes ([#4528](https://github.com/open-chat-labs/open-chat/pull/4528))

### Removed

- Remove `add_governance_canister` since it is now automated ([#4532](https://github.com/open-chat-labs/open-chat/pull/4532))

## [[2.0.876](https://github.com/open-chat-labs/open-chat/releases/tag/v2.0.876-proposals_bot)] - 2023-10-09

### Added
Expand Down

This file was deleted.

2 changes: 0 additions & 2 deletions backend/canisters/proposals_bot/api/src/updates/mod.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
pub mod add_governance_canister;
pub mod appoint_admins;
pub mod c2c_submit_proposal;
pub mod import_proposals_group_into_community;
pub mod remove_governance_canister;
pub mod stake_neuron_for_submitting_proposals;

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ impl NervousSystems {
}
}

pub fn remove(&mut self, governance_canister_id: &CanisterId) -> bool {
self.nervous_systems.remove(governance_canister_id).is_some()
}

pub fn exists(&self, governance_canister_id: &CanisterId) -> bool {
self.nervous_systems.contains_key(governance_canister_id)
}
Expand Down

This file was deleted.

2 changes: 0 additions & 2 deletions backend/canisters/proposals_bot/impl/src/updates/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
pub mod add_governance_canister;
pub mod appoint_admins;
pub mod c2c_submit_proposal;
pub mod import_proposals_group_into_community;
pub mod remove_governance_canister;
pub mod stake_neuron_for_submitting_proposals;
pub mod wallet_receive;

This file was deleted.

20 changes: 0 additions & 20 deletions scripts/proposals/add_governance_canister.sh

This file was deleted.

Empty file.

This file was deleted.

This file was deleted.

0 comments on commit 6ec0932

Please sign in to comment.