cuprate_test_utils::rpc::data::other

Constant POP_BLOCKS_RESPONSE

Source
pub const POP_BLOCKS_RESPONSE: &str = r#"{
  "height": 76482,
  "status": "OK",
  "untrusted": false
}"#;
Expand description

Documentation, request.

use cuprate_test_utils::rpc::data::other::*;
use serde_json::{to_value, Value};

let value = serde_json::from_str::<Value>(&POP_BLOCKS_RESPONSE);