Expand description

Fast forwards a sandboxed node by a specific height.

Fas forwarding allows one to skip to some point in the future and observe actions.

§Example

use unc_jsonrpc_client::{methods, JsonRpcClient};

let client = JsonRpcClient::connect("http://localhost:3030");

let request = methods::sandbox_fast_forward::RpcSandboxFastForwardRequest {
    delta_height: 12,
};

let response = client.call(request).await?;

assert!(matches!(
    response,
    methods::sandbox_fast_forward::RpcSandboxFastForwardResponse { .. }
));

Structs§

Enums§