From 6b752ca142982e482ebb6d3fe2a5f7c9c1095e55 Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Fri, 5 Apr 2024 16:00:03 +0200 Subject: [PATCH] feat(interpreter): derive Eq for InterpreterAction (#1262) --- crates/interpreter/src/interpreter.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/interpreter/src/interpreter.rs b/crates/interpreter/src/interpreter.rs index cc9184ef47..4da1b58df3 100644 --- a/crates/interpreter/src/interpreter.rs +++ b/crates/interpreter/src/interpreter.rs @@ -52,7 +52,7 @@ pub struct Interpreter { } /// The result of an interpreter operation. -#[derive(Debug, Clone, PartialEq, Eq)] +#[derive(Clone, Debug, PartialEq, Eq)] pub struct InterpreterResult { /// The result of the instruction execution. pub result: InstructionResult, @@ -62,7 +62,7 @@ pub struct InterpreterResult { pub gas: Gas, } -#[derive(Debug, Default, Clone)] +#[derive(Clone, Debug, Default, PartialEq, Eq)] pub enum InterpreterAction { /// CALL, CALLCODE, DELEGATECALL or STATICCALL instruction called. Call {