Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Commit

Permalink
composite query stats
Browse files Browse the repository at this point in the history
  • Loading branch information
mraszyk committed Oct 11, 2023
1 parent f32b51d commit 4c049d4
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spec/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -5263,9 +5263,8 @@ S with
num_instructions = NumInstructions
num_request_payload_bytes = |Q.Arg|
num_response_payload_bytes =
if F(Q.Arg, Q.sender, Env) = Trap trap then <implementation-specific>
else if F(Q.Arg, Q.sender, Env) = Return {response = Reject (code, msg); …} then |msg|
else if F(Q.Arg, Q.sender, Env) = Return {response = Reply R; …} then |R|
if composite_query_helper(S, MAX_CYCLES_PER_QUERY, 0, Q.canister_id, Q.sender, Q.canister_id, Q.method_name, Q.arg) = (Reject (RejectCode, RejectMsg), _) then |RejectMsg|
else if composite_query_helper(S, MAX_CYCLES_PER_QUERY, 0, Q.canister_id, Q.sender, Q.canister_id, Q.method_name, Q.arg) = (Reply Res, _) then |Res|
}

```
Expand Down

0 comments on commit 4c049d4

Please sign in to comment.