From 9fc7d2a45c1ee1bf9a60ef99b1e409e76ffcf580 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Thu, 13 Jul 2023 15:29:54 +0200 Subject: [PATCH] chore: reorder call action fields --- crates/rpc/rpc-types/src/eth/trace/parity.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/rpc/rpc-types/src/eth/trace/parity.rs b/crates/rpc/rpc-types/src/eth/trace/parity.rs index 1f9e73f5fed6..7fbea1bbac87 100644 --- a/crates/rpc/rpc-types/src/eth/trace/parity.rs +++ b/crates/rpc/rpc-types/src/eth/trace/parity.rs @@ -168,16 +168,16 @@ pub enum CallType { pub struct CallAction { /// Address of the sending account. pub from: Address, - /// Address of the destination/target account. - pub to: Address, - /// Value transferred to the destination account. - pub value: U256, + /// The type of the call. + pub call_type: CallType, /// The gas available for executing the call. pub gas: U64, /// The input data provided to the call. pub input: Bytes, - /// The type of the call. - pub call_type: CallType, + /// Address of the destination/target account. + pub to: Address, + /// Value transferred to the destination account. + pub value: U256, } /// Represents a _create_ action, either a `CREATE` operation or a CREATE transaction.