Closed hpeebles closed 7 months ago
@hpeebles
For the inconsistency between the interface-spec and the replica implementation, the conclusion is that the replica will be modified to align with the spec. So we have to wait for that before we can complete this PR.
And since it will be pub chunk_hashes_list: Vec<ChunkHash>
in the end, we don't have to implement the custom serde methods now.
Turning this PR back to draft now.
Description
Adds
upload_chunk
,stored_chunks
,clear_chunk_store
andinstall_chunked_code
to the management canister API.How Has This Been Tested?
I have tested this locally by uploading a wasm comprised of 3 chunks, the I queried
stored_chunks
which returned the chunks, then I calledinstall_chunked_code
which completed successfully, then I calledclear_chunk_store
, then I queriedstored_chunks
again and this time it was empty.Checklist: