File tree Expand file tree Collapse file tree 3 files changed +180
-102
lines changed Expand file tree Collapse file tree 3 files changed +180
-102
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ pub const SPLIT_MARKER_FILE: &str = "split_from.pbuf";
56
56
pub const SUBNET_QUEUES_FILE : & str = "subnet_queues.pbuf" ;
57
57
pub const SYSTEM_METADATA_FILE : & str = "system_metadata.pbuf" ;
58
58
pub const STATS_FILE : & str = "stats.pbuf" ;
59
+ pub const WASM_FILE : & str = "software.wasm" ;
59
60
60
61
/// `ReadOnly` is the access policy used for reading checkpoints. We
61
62
/// don't want to ever modify persisted states.
@@ -1473,7 +1474,7 @@ impl<Permissions: AccessPolicy> CanisterLayout<Permissions> {
1473
1474
}
1474
1475
1475
1476
pub fn wasm ( & self ) -> WasmFile < Permissions > {
1476
- self . canister_root . join ( "software.wasm" ) . into ( )
1477
+ self . canister_root . join ( WASM_FILE ) . into ( )
1477
1478
}
1478
1479
1479
1480
pub fn canister (
Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ impl StateSync {
32
32
}
33
33
34
34
/// Returns requested state as a Chunkable artifact for StateSync.
35
- pub fn create_chunkable_state (
35
+ fn create_chunkable_state (
36
36
& self ,
37
37
id : & StateSyncArtifactId ,
38
38
) -> Option < Box < dyn Chunkable < StateSyncMessage > + Send > > {
You can’t perform that action at this time.
0 commit comments