From 815cac7dd88f2cdb1f7fe4f9d69dd6b1ad3d0297 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Thu, 20 Jul 2023 01:54:01 +0200 Subject: [PATCH] chore: reorder fields (#3832) --- crates/rpc/rpc-types/src/eth/trace/parity.rs | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/crates/rpc/rpc-types/src/eth/trace/parity.rs b/crates/rpc/rpc-types/src/eth/trace/parity.rs index fcc5e54bbb..f3fa4eb9b1 100644 --- a/crates/rpc/rpc-types/src/eth/trace/parity.rs +++ b/crates/rpc/rpc-types/src/eth/trace/parity.rs @@ -264,18 +264,18 @@ pub struct TransactionTrace { pub struct LocalizedTransactionTrace { #[serde(flatten)] pub trace: TransactionTrace, - /// Transaction index within the block, None if pending. - pub transaction_position: Option, - /// Hash of the transaction - pub transaction_hash: Option, - /// Block number the transaction is included in, None if pending. - /// - /// Note: this deviates from which always returns a block number - pub block_number: Option, /// Hash of the block, if not pending /// /// Note: this deviates from which always returns a block number pub block_hash: Option, + /// Block number the transaction is included in, None if pending. + /// + /// Note: this deviates from which always returns a block number + pub block_number: Option, + /// Hash of the transaction + pub transaction_hash: Option, + /// Transaction index within the block, None if pending. + pub transaction_position: Option, } /// A record of a full VM trace for a CALL/CREATE.