Skip to content

Commit

Permalink
feat(interpreter): derive Eq for InterpreterAction (#1262)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaniPopes authored Apr 5, 2024
1 parent 96dda38 commit 4d64bbc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/interpreter/src/interpreter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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 {
Expand Down

0 comments on commit 4d64bbc

Please sign in to comment.