From 48193e6d9aa8bb3d9db3bc61c8814234b24da2f9 Mon Sep 17 00:00:00 2001 From: Daniel Date: Tue, 10 Dec 2024 14:55:14 +0100 Subject: [PATCH] chore: print sol tx as hex --- engine/src/sol/retry_rpc.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/engine/src/sol/retry_rpc.rs b/engine/src/sol/retry_rpc.rs index 1f4e635cf3..abd172109e 100644 --- a/engine/src/sol/retry_rpc.rs +++ b/engine/src/sol/retry_rpc.rs @@ -252,7 +252,11 @@ impl SolRetryRpcApi for SolRetryRpcClient { .request_with_limit( RequestLog::new( "sendTransaction".to_string(), - Some(format!("{:?}, {:?}", transaction.serialized_transaction, config)), + Some(format!( + "0x{}, {:?}", + hex::encode(&transaction.serialized_transaction), + config + )), ), Box::pin(move |client| { let encoded_transaction = encoded_transaction.clone();