-
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 'andriy/run-917-fix-freezing-threshold' into 'master'
fix: RUN-917: Fix composite query freezing threshold According to the [IC Interface Specification](https://internetcomputer.org/docs/current/references/ic-interface-spec#query-call), the canister balance should be greater than the freezing threshold for all the canisters in the call graph. Before this change the balance was checked just for the root canister in the `QueryContext::run()` This MR fixes that behavior by moving the balance check in the `QueryContext::execute_query()`. Both normal and composite queries use this function, so the balance is checked now for all the canisters and all the query types. Closes RUN-917 See merge request dfinity-lab/public/ic!17756
- Loading branch information
Showing
3 changed files
with
74 additions
and
171 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