-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: allow controllers to call
__motoko_stable_var_info
query endp…
…oint (#4103) This was originally spec-ed, but there was no possibility to implement it (a canister couldn't get its own controller list). In the meantime canisters can get their controller list (via query), but a query cannot call another query 🫤. So we had to wait until the `ic0.is_controller` syscall became available. Now it is there and the implementation is easy. (It was technically possible to call it before, but it invariably trapped.)
- Loading branch information
Showing
5 changed files
with
14 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
ingress Completed: Reply: 0x4449444c016c01b3c4b1f204680100010a00000000000000000101 | ||
ingress Completed: Reply: 0x4449444c0000 | ||
ingress Err: IC0503: Canister rwlgt-iiaaa-aaaaa-aaaaa-cai trapped explicitly: assertion failed at .:0.1 | ||
Err: IC0503: Canister rwlgt-iiaaa-aaaaa-aaaaa-cai trapped explicitly: assertion failed at .:0.1 | ||
ingress Completed: Reply: 0x4449444c016c01c1c1cee2047801005118000000000000 | ||
Ok: Reply: 0x4449444c016c01c1c1cee2047801005118000000000000 | ||
ingress Completed: Reply: 0x4449444c0001785118000000000000 | ||
ingress Completed: Reply: 0x4449444c0001785118000000000000 | ||
Ok: Reply: 0x4449444c0001712973657276696365203a207b0a202064656c65676174653a202829202d3e20286e61743634293b0a7d0a |
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