Derive debug for wallet types

This commit is contained in:
Mark Sinclair
2022-06-15 17:34:54 +01:00
parent 1ad458b2be
commit a67a80d28d
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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,
+1 -1
View File
@@ -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,