-
Notifications
You must be signed in to change notification settings - Fork 298
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ulan/run-721' into 'master'
RUN-721: Implement reservation mechanism in Wasm execution The reservation mechanism is disabled by default, so this MR has no impact on production. This MR adds a new field in `SystemStateChanges` that keeps track of changes in the `reserved_balance`. The `allocate_execution_memory()` function is modified to update the new field based on the allocated bytes. At the of execution, the replica code applies changes to the main and reserved balances of the canister based on the newly added field in `SystemStateChanges`. See merge request dfinity-lab/public/ic!14324
- Loading branch information
Showing
3 changed files
with
315 additions
and
55 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.