(
&self,
dfx_orbit: &DfxOrbit,
request: &GetRequestResponse,
)
| 214 | |
| 215 | impl 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, |
no outgoing calls