Skip to content
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.

fix: remove OpCode enum and update VMOperation's op field type #1904

Merged
merged 5 commits into from
Dec 2, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions ethers-core/src/types/trace/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ pub use filter::*;
mod geth;
pub use geth::*;

mod opcodes;
pub use opcodes::*;

#[derive(Debug, PartialEq, Eq, Clone, Deserialize, Serialize)]
/// Description of the type of trace to make
pub enum TraceType {
Expand Down Expand Up @@ -136,7 +133,7 @@ pub struct VMOperation {
pub sub: Option<VMTrace>,
/// The executed opcode name
#[serde(rename = "op")]
pub op: OpCode,
pub op: String,
}

#[derive(Debug, Clone, PartialEq, Eq, Default, Deserialize, Serialize)]
Expand Down
343 changes: 0 additions & 343 deletions ethers-core/src/types/trace/opcodes.rs

This file was deleted.