Skip to content

Commit

Permalink
Update NeuronController post release (#5104)
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles authored Jan 3, 2024
1 parent abf56b9 commit 0c2eafe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
2 changes: 2 additions & 0 deletions backend/canisters/neuron_controller/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [unreleased]

## [[2.0.993](https://github.com/open-chat-labs/open-chat/releases/tag/v2.0.993-neuron_controller)] - 2024-01-03

### Added

- Automatically spawn neurons then disburse into the treasury ([#5097](https://github.com/open-chat-labs/open-chat/pull/5097))
Expand Down
5 changes: 0 additions & 5 deletions backend/canisters/neuron_controller/impl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,18 +71,13 @@ struct Data {
pub governance_principals: Vec<Principal>,
pub nns_governance_canister_id: CanisterId,
pub nns_ledger_canister_id: CanisterId,
#[serde(default = "cmc")]
pub cycles_minting_canister_id: CanisterId,
pub cycles_dispenser_canister_id: CanisterId,
pub neurons: Timestamped<Vec<Neuron>>,
pub rng_seed: [u8; 32],
pub test_mode: bool,
}

fn cmc() -> CanisterId {
CanisterId::from_text("rkp4c-7iaaa-aaaaa-aaaca-cai").unwrap()
}

impl Data {
pub fn new(
governance_principals: Vec<Principal>,
Expand Down
2 changes: 1 addition & 1 deletion canister_commit_ids.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"local_group_index": "2914f73daa7a4d7b76cfbaf5b89b0df740443ffa",
"local_user_index": "2914f73daa7a4d7b76cfbaf5b89b0df740443ffa",
"market_maker": "2914f73daa7a4d7b76cfbaf5b89b0df740443ffa",
"neuron_controller": "70cd194427a9eb48972ae8924b6e8a6be74199f4",
"neuron_controller": "c2fe97421a574ce0f0e04b216d6985d9260481b9",
"notifications": "91512f09ac773c85622fa84a7ea602d4273dcc8b",
"notifications_index": "91512f09ac773c85622fa84a7ea602d4273dcc8b",
"online_users": "2914f73daa7a4d7b76cfbaf5b89b0df740443ffa",
Expand Down

0 comments on commit 0c2eafe

Please sign in to comment.