Skip to content

Commit

Permalink
Remove unused type
Browse files Browse the repository at this point in the history
  • Loading branch information
danhper committed Aug 9, 2024
1 parent 2c231da commit a882888
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/interpreter/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ pub enum NonParametricType {
Contract,
Event,
Transaction,
TransactionReceipt,
Function,
Repl,
Block,
Expand Down Expand Up @@ -163,7 +162,6 @@ pub enum Type {
Contract(ContractInfo),
Event(alloy::json_abi::Event),
Transaction,
TransactionReceipt,
Function,
Repl,
Block,
Expand Down Expand Up @@ -201,7 +199,6 @@ impl Display for Type {
Type::Function => write!(f, "function"),

Type::Transaction => write!(f, "Transaction"),
Type::TransactionReceipt => write!(f, "TransactionReceipt"),

Type::Repl => write!(f, "repl"),
Type::Block => write!(f, "block"),
Expand Down Expand Up @@ -234,7 +231,6 @@ impl<T: AsRef<Type>> From<T> for NonParametricType {
Type::Event(..) => NonParametricType::Event,
Type::Function => NonParametricType::Function,
Type::Transaction => NonParametricType::Transaction,
Type::TransactionReceipt => NonParametricType::TransactionReceipt,
Type::Repl => NonParametricType::Repl,
Type::Block => NonParametricType::Block,
Type::Console => NonParametricType::Console,
Expand Down

0 comments on commit a882888

Please sign in to comment.