Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update NeuronController post release #5104

Merged
merged 2 commits into from
Jan 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading