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

Method verify

tools/dfx-orbit/src/args.rs:216–230  ·  view source on GitHub ↗
(
        &self,
        dfx_orbit: &DfxOrbit,
        request: &GetRequestResponse,
    )

Source from the content-addressed store, hash-verified

214
215impl VerifyArgs {
216 pub async fn verify(
217 &self,
218 dfx_orbit: &DfxOrbit,
219 request: &GetRequestResponse,
220 ) -> anyhow::Result<()> {
221 // TODO: Don't allow non-pending requests to be verified, since they might no longer be
222 // verifiable after the execution
223
224 match &self.action {
225 VerifyArgsAction::Asset(args) => args.verify(dfx_orbit, request).await?,
226 VerifyArgsAction::Canister(args) => args.verify(dfx_orbit, request).await?,
227 };
228
229 Ok(())
230 }
231
232 async fn conditionally_execute_actions(
233 &self,

Callers 4

executeMethod · 0.45
canister_installFunction · 0.45
canister_callFunction · 0.45
asset_validationFunction · 0.45

Calls

no outgoing calls

Tested by 2

canister_callFunction · 0.36
asset_validationFunction · 0.36