Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Remove deprecated assert (#1528)
This assert checks that there are no cases where the cycles balance of a canister can be reduced during execution. However, since this assert [was introduced about 2 years ago](1d4692f), new legitimate cases have been added, like when the storage reservation mechanism kicks in or the canister calls `cycles_burn` API, that can reduce the canister's cycle balance. The assert is therefore deprecated and should be removed. It replicates the [change](5d1beac) that has already been patched on all IC subnets as part of the security hotfix that was performed over the last couple of days.
- Loading branch information