diff --git a/common/types/src/gas.rs b/common/types/src/gas.rs index 8ffb475f4e..02a2807a7e 100644 --- a/common/types/src/gas.rs +++ b/common/types/src/gas.rs @@ -51,7 +51,7 @@ impl Gas { feature = "generate-ts", ts(export_to = "ts-packages/types/src/types/rust/GasInfo.ts") )] -#[derive(Deserialize, Serialize)] +#[derive(Deserialize, Serialize, Debug)] pub struct GasInfo { /// GasWanted is the maximum units of work we allow this tx to perform. pub gas_wanted: u64, diff --git a/common/types/src/transaction.rs b/common/types/src/transaction.rs index 956e8cfc92..58ee9b1cca 100644 --- a/common/types/src/transaction.rs +++ b/common/types/src/transaction.rs @@ -60,7 +60,7 @@ pub struct TransactionDetails { feature = "generate-ts", ts(export_to = "ts-packages/types/src/types/rust/TransactionExecuteResult.ts") )] -#[derive(Deserialize, Serialize)] +#[derive(Deserialize, Serialize, Debug)] pub struct TransactionExecuteResult { pub logs_json: String, pub data_json: String,