Skip to content

Commit

Permalink
Post release (#6678)
Browse files Browse the repository at this point in the history
  • Loading branch information
megrogan authored Oct 24, 2024
1 parent bb8928f commit 9f0a211
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions backend/canisters/community/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [unreleased]

## [[2.0.1414](https://github.com/open-chat-labs/open-chat/releases/tag/v2.0.1414-community)] - 2024-10-24

### Fixed

- Prevent `activity` when voting on your own poll ([#6675](https://github.com/open-chat-labs/open-chat/pull/6675))
Expand Down
2 changes: 2 additions & 0 deletions backend/canisters/user_index/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

## [unreleased]

## [[2.0.1413](https://github.com/open-chat-labs/open-chat/releases/tag/v2.0.1413-user_index)] - 2024-10-24

### Added

- Add an error log with http endpoint ([#6608](https://github.com/open-chat-labs/open-chat/pull/6608))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,10 @@ fn post_upgrade(args: Args) {
let memory = get_upgrades_memory();
let reader = get_reader(&memory);

let (data, logs, traces): (Data, Vec<LogEntry>, Vec<LogEntry>) = msgpack::deserialize(reader).unwrap();
let (data, errors, logs, traces): (Data, Vec<LogEntry>, Vec<LogEntry>, Vec<LogEntry>) =
msgpack::deserialize(reader).unwrap();

// TODO: After release change this to
// let (data, errors, logs, traces): (Data, Vec<LogEntry>, Vec<LogEntry>, Vec<LogEntry>) = msgpack::deserialize(reader).unwrap();
canister_logger::init_with_logs(data.test_mode, Vec::new(), logs, traces);
canister_logger::init_with_logs(data.test_mode, errors, logs, traces);

let env = init_env(data.rng_seed, data.oc_key_pair.is_initialised());
init_cycles_dispenser_client(data.cycles_dispenser_canister_id, data.test_mode);
Expand Down

0 comments on commit 9f0a211

Please sign in to comment.