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/follow-1160-k-data' into 'master'
fix: add instructions-per-byte factor to data sending api calls This MR adds instructions-per-byte conversion factor for charging instructions in data sending api calls to account for sandbox-replica communication. Specifically: - `msg_reply_data_append` - `msg_reject` - `call_data_append` When charging instructions for a payload size it's important to account not only for the memory, but also for the time that is spent for transferring the payload from canister's wasm through sandbox into replica. See merge request dfinity-lab/public/ic!15315
- Loading branch information
Showing
3 changed files
with
13 additions
and
7 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