From ed3ddf389c013a72d1a886649e3b145d06cba094 Mon Sep 17 00:00:00 2001 From: dferendo Date: Fri, 5 Apr 2024 17:50:39 +0900 Subject: [PATCH] added log --- client/src/request.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/request.rs b/client/src/request.rs index 72087ec1..5080726c 100644 --- a/client/src/request.rs +++ b/client/src/request.rs @@ -28,7 +28,7 @@ abigen!( ); #[allow(non_snake_case)] -#[derive(Serialize, Deserialize)] +#[derive(Serialize, Deserialize, Debug)] /// Data to be sent to the Succinct X API with an offchain request. struct OffchainInput { /// The chain id of the network to be used. @@ -303,6 +303,7 @@ impl SuccinctClient { functionId: function_id, input, }; + println!("HERE: {:?}", data); // Serialize the data to JSON. let serialized_data = serde_json::to_string(&data).unwrap();