Skip to content

Commit

Permalink
derive Hash for Opcode
Browse files Browse the repository at this point in the history
  • Loading branch information
joonazan committed Aug 28, 2024
1 parent 3126fb0 commit f4bf057
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions eravm-stable-interface/src/tracer_interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ pub mod opcodes {
}
}

#[derive(PartialEq, Eq, Debug, Copy, Clone)]
#[derive(PartialEq, Eq, Debug, Copy, Clone, Hash)]
pub enum Opcode {
Nop,
Add,
Expand Down Expand Up @@ -141,14 +141,14 @@ pub enum Opcode {
TransientStorageWrite,
}

#[derive(PartialEq, Eq, Debug, Copy, Clone)]
#[derive(PartialEq, Eq, Debug, Copy, Clone, Hash)]
pub enum CallingMode {
Normal,
Delegate,
Mimic,
}

#[derive(PartialEq, Eq, Debug, Copy, Clone)]
#[derive(PartialEq, Eq, Debug, Copy, Clone, Hash)]
pub enum ReturnType {
Normal,
Revert,
Expand Down

0 comments on commit f4bf057

Please sign in to comment.