From 619c64c2488e31347ecb09237220b11532ef8d93 Mon Sep 17 00:00:00 2001 From: Hamish Peebles Date: Wed, 13 Dec 2023 08:58:26 +0000 Subject: [PATCH] Update canisters post release (#4997) --- backend/canisters/notifications/CHANGELOG.md | 2 ++ backend/canisters/notifications/impl/src/lib.rs | 1 - backend/canisters/notifications_index/CHANGELOG.md | 2 ++ backend/canisters/notifications_index/impl/src/lib.rs | 1 - backend/canisters/user_index/CHANGELOG.md | 2 ++ backend/canisters/user_index/impl/src/model/user_map.rs | 1 - canister_commit_ids.json | 6 +++--- 7 files changed, 9 insertions(+), 6 deletions(-) diff --git a/backend/canisters/notifications/CHANGELOG.md b/backend/canisters/notifications/CHANGELOG.md index d4a7ddcb07..98a98d546d 100644 --- a/backend/canisters/notifications/CHANGELOG.md +++ b/backend/canisters/notifications/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [unreleased] +## [[2.0.970](https://github.com/open-chat-labs/open-chat/releases/tag/v2.0.970-notifications)] - 2023-12-12 + ### Changed - Use dynamic buffer size when reading from stable memory ([#4683](https://github.com/open-chat-labs/open-chat/pull/4683)) diff --git a/backend/canisters/notifications/impl/src/lib.rs b/backend/canisters/notifications/impl/src/lib.rs index 9a0f182206..57aa077fb3 100644 --- a/backend/canisters/notifications/impl/src/lib.rs +++ b/backend/canisters/notifications/impl/src/lib.rs @@ -69,7 +69,6 @@ struct Data { pub cycles_dispenser_canister_id: CanisterId, pub notifications: EventStream, pub subscriptions: Subscriptions, - #[serde(default)] pub rng_seed: [u8; 32], pub test_mode: bool, } diff --git a/backend/canisters/notifications_index/CHANGELOG.md b/backend/canisters/notifications_index/CHANGELOG.md index ea16ffad91..6be575f4bd 100644 --- a/backend/canisters/notifications_index/CHANGELOG.md +++ b/backend/canisters/notifications_index/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [unreleased] +## [[2.0.971](https://github.com/open-chat-labs/open-chat/releases/tag/v2.0.971-notifications_index)] - 2023-12-12 + ### Changed - Use dynamic buffer size when reading from stable memory ([#4683](https://github.com/open-chat-labs/open-chat/pull/4683)) diff --git a/backend/canisters/notifications_index/impl/src/lib.rs b/backend/canisters/notifications_index/impl/src/lib.rs index 3ab1aa552b..14594d5113 100644 --- a/backend/canisters/notifications_index/impl/src/lib.rs +++ b/backend/canisters/notifications_index/impl/src/lib.rs @@ -126,7 +126,6 @@ struct Data { pub notifications_canister_wasm_for_upgrades: CanisterWasm, pub canisters_requiring_upgrade: CanistersRequiringUpgrade, pub notifications_index_event_sync_queue: CanisterEventSyncQueue, - #[serde(default)] pub rng_seed: [u8; 32], pub test_mode: bool, } diff --git a/backend/canisters/user_index/CHANGELOG.md b/backend/canisters/user_index/CHANGELOG.md index 9fd8d9a885..7a445d28bd 100644 --- a/backend/canisters/user_index/CHANGELOG.md +++ b/backend/canisters/user_index/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [unreleased] +## [[2.0.969](https://github.com/open-chat-labs/open-chat/releases/tag/v2.0.969-user_index)] - 2023-12-12 + ### Changed - Pay rewards based on one year if referred user becomes lifetime member ([#4979](https://github.com/open-chat-labs/open-chat/pull/4979)) diff --git a/backend/canisters/user_index/impl/src/model/user_map.rs b/backend/canisters/user_index/impl/src/model/user_map.rs index d8766343be..a57c703384 100644 --- a/backend/canisters/user_index/impl/src/model/user_map.rs +++ b/backend/canisters/user_index/impl/src/model/user_map.rs @@ -19,7 +19,6 @@ pub struct UserMap { #[serde(skip)] user_referrals: HashMap>, suspected_bots: BTreeSet, - #[serde(default)] suspended_or_unsuspended_users: BTreeSet<(TimestampMillis, UserId)>, } diff --git a/canister_commit_ids.json b/canister_commit_ids.json index 49b8d74e5c..dfdf975f4b 100644 --- a/canister_commit_ids.json +++ b/canister_commit_ids.json @@ -7,8 +7,8 @@ "local_user_index": "f886c1630c5790e6518077d7b1fa8f85906f3fb2", "market_maker": "9a6a38f86194b57dc8718c2a595ef4b00cf82d47", "neuron_controller": "70cd194427a9eb48972ae8924b6e8a6be74199f4", - "notifications": "b72fb44d4d34c1b9f34dc6eb650144944b57860a", - "notifications_index": "b72fb44d4d34c1b9f34dc6eb650144944b57860a", + "notifications": "91512f09ac773c85622fa84a7ea602d4273dcc8b", + "notifications_index": "91512f09ac773c85622fa84a7ea602d4273dcc8b", "online_users": "9a6a38f86194b57dc8718c2a595ef4b00cf82d47", "proposals_bot": "23c4e18dfa32ad868ebf3588bd821d7c0d68d008", "proposal_validation": "03647d5475bd4cb1b6299c5688e6d4f97928559a", @@ -16,5 +16,5 @@ "storage_bucket": "5c4fb8d98e68053c6d93050dfafbd2dbb4c3c9b9", "storage_index": "8426b83456957cdc997374c8a01d9b641d1d3d08", "user": "6343c6c2a37fcf3e500dcc2df7b2b678155f2fd2", - "user_index": "a42474f7129d5031065b51af56a5acf6b34b8c22" + "user_index": "91512f09ac773c85622fa84a7ea602d4273dcc8b" }