Skip to content

Commit

Permalink
semantics fix
Browse files Browse the repository at this point in the history
  • Loading branch information
michael-weigelt committed Jan 29, 2025
1 parent 364a80f commit 1a9c592
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/references/ic-interface-spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -7559,6 +7559,8 @@ ic0.replication_factor<es, S>(src: I, size: I) : i32 =
principal_bytes = copy_from_canister<es>(src, size)
if not principal_bytes encode a principal then
Trap {cycles_used = es.cycles_used;}
if principal_bytes ∉ es.subnets then
Trap {cycles_used = es.cycles_used;}
return S.canister_subnet[principal_bytes].subnet_size

I ∈ {i32, i64}
Expand Down

0 comments on commit 1a9c592

Please sign in to comment.