Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/dfinity/orbit
/ get_canister_wasm
Function
get_canister_wasm
tests/integration/src/setup.rs:266–268 ·
view source on GitHub ↗
(canister_name: &str)
Source
from the content-addressed store, hash-verified
264
}
265
266
pub(crate) fn get_canister_wasm(canister_name: &str) -> Vec<u8> {
267
read_file_from_local_bin(&format!(
"{canister_name}.wasm.gz"
))
268
}
269
270
fn local_bin() -> PathBuf {
271
let mut file_path = PathBuf::from(
Callers
15
register_test_canister
Function · 0.85
upload_canister_modules
Function · 0.85
upload_canister_chunks_to_asset_canister
Function · 0.85
deploy_test_canister
Function · 0.85
upgrade_station
Function · 0.85
successful_monitors_upgrader_and_tops_up
Function · 0.85
upgrade_from_v0
Function · 0.85
upgrade_from_v1
Function · 0.85
upgrade_from_latest
Function · 0.85
too_many_chunks
Function · 0.85
system_upgrade_from_chunks
Function · 0.85
delayed_system_upgrade
Function · 0.85
Calls
1
read_file_from_local_bin
Function · 0.85
Tested by
15
successful_monitors_upgrader_and_tops_up
Function · 0.68
upgrade_from_v0
Function · 0.68
upgrade_from_v1
Function · 0.68
upgrade_from_latest
Function · 0.68
too_many_chunks
Function · 0.68
system_upgrade_from_chunks
Function · 0.68
delayed_system_upgrade
Function · 0.68
backup_snapshot
Function · 0.68
set_max_backup_snapshots
Function · 0.68
generate
Method · 0.68
test_canister_migration_path_is_not_triggered_with_same_wasm
Function · 0.68
test_canister_migration_path_with_previous_stable_memory_version
Function · 0.68