MCPcopy Create free account
hub / github.com/dfinity/orbit / update_raw

Function update_raw

tests/integration/src/utils.rs:490–498  ·  view source on GitHub ↗
(
    env: &PocketIc,
    canister_id: CanisterId,
    sender: Principal,
    method: &str,
    payload: Vec<u8>,
)

Source from the content-addressed store, hash-verified

488}
489
490pub fn update_raw(
491 env: &PocketIc,
492 canister_id: CanisterId,
493 sender: Principal,
494 method: &str,
495 payload: Vec<u8>,
496) -> Result<Vec<u8>, RejectResponse> {
497 env.update_call(canister_id, sender, method, payload)
498}
499
500pub fn get_upgrader_disaster_recovery(
501 env: &PocketIc,

Callers 8

reviewFunction · 0.85
setup_counter_canisterFunction · 0.85
canister_callFunction · 0.85

Calls

no outgoing calls

Tested by 7

reviewFunction · 0.68
canister_callFunction · 0.68