From f3e13db71e764b74ac59ae678478d4c1b908c691 Mon Sep 17 00:00:00 2001 From: Matthias Seitz Date: Thu, 13 Jul 2023 17:09:39 +0200 Subject: [PATCH] chore: reorder call action fields (#3758) --- 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 1f9e73f5fe..7fbea1bbac 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.