-
Notifications
You must be signed in to change notification settings - Fork 296
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'maksym/ic-272-append_canister_log' into 'master'
feat: [IC-272] implement saving canister log records in sandbox safe system state This MR implements `save_log_message()` method and stores log records in current wasm `sandbox_safe_system_state`. - adds a instructions-per-byte cost factor for the case when canister logging is enabled to pay for the work done passing data from wasm, through sandbox to the replica code - moved `save_log_message` from `SystemApi` to `SystemApiImpl` since it's a local method This is an intermediate implementation step. Canister log records collected during execution (and stored in `sandbox_safe_system_state`) will be propagated in the following MR's into canister's state. The tests will be also provided in the following MRs. See merge request dfinity-lab/public/ic!17680
- Loading branch information
Showing
6 changed files
with
164 additions
and
17 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
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
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