Skip to content

Commit

Permalink
Increase the max cycles required during upgrades (#6725)
Browse files Browse the repository at this point in the history
  • Loading branch information
hpeebles authored Nov 5, 2024
1 parent 7bfb6e6 commit 98433b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions backend/canisters/local_group_index/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Changed

- Repopulate event migration queue because threads also need to be handled ([#6704](https://github.com/open-chat-labs/open-chat/pull/6704))
- Increase the max cycles required during upgrades ([#6725](https://github.com/open-chat-labs/open-chat/pull/6725))

## [[2.0.1410](https://github.com/open-chat-labs/open-chat/releases/tag/v2.0.1410-local_group_index)] - 2024-10-24

Expand Down
1 change: 1 addition & 0 deletions backend/canisters/local_user_index/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

- Expose `bot_user_count` and `oc_controlled_bots` in metrics ([#6709](https://github.com/open-chat-labs/open-chat/pull/6709))
- Temporarily disable job to trigger migrating events to stable memory ([#6721](https://github.com/open-chat-labs/open-chat/pull/6721))
- Increase the max cycles required during upgrades ([#6725](https://github.com/open-chat-labs/open-chat/pull/6725))

## [[2.0.1411](https://github.com/open-chat-labs/open-chat/releases/tag/v2.0.1411-local_user_index)] - 2024-10-24

Expand Down
2 changes: 1 addition & 1 deletion backend/libraries/utils/src/consts.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pub fn min_cycles_balance(test_mode: bool) -> Cycles {
const MIN_CYCLES_BALANCE: Cycles = 50_000_000_000_000; // 50T
const MIN_CYCLES_BALANCE_TEST: Cycles = MIN_CYCLES_BALANCE / 10; // 5T
pub const CREATE_CANISTER_CYCLES_FEE: Cycles = 100_000_000_000; // 0.1T cycles
pub const CYCLES_REQUIRED_FOR_UPGRADE: Cycles = 120_000_000_000; // 0.12T cycles
pub const CYCLES_REQUIRED_FOR_UPGRADE: Cycles = 300_000_000_000; // 0.3T cycles

pub const OPENCHAT_BOT_USER_ID: UserId = UserId::new(Principal::from_slice(&[228, 104, 142, 9, 133, 211, 135, 217, 129, 1]));
pub const DELETED_USER_ID: UserId = UserId::new(Principal::from_slice(&[139, 36, 200, 58, 72, 145, 241, 66, 97, 1]));
Expand Down

0 comments on commit 98433b3

Please sign in to comment.