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

Commit

Permalink
chunked-wasm cddl
Browse files Browse the repository at this point in the history
  • Loading branch information
bogwar committed Aug 14, 2023
1 parent 43d4d92 commit f596bc1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions spec/_attachments/chunked-wasms.cddl
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

; The specification of a large Wasm; consists of a location (canister principal) and a list of hashes.



chunked-wasm = tagged<{
? location : principal
list_of_hashes : [2* hash]
}>

hash = bytes .size (0..32)

principal = bytes .size (0..29)

tagged<t> = #6.55799(t) ; the CBOR tag

0 comments on commit f596bc1

Please sign in to comment.