Skip to content
This repository was archived by the owner on Apr 18, 2025. It is now read-only.

Commit e95a36d

Browse files
committed
remove ConstParamTy
1 parent 168c981 commit e95a36d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

eth-types/src/evm_types.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
//! Evm types needed for parsing instruction sets as well
22
33
use serde::{Deserialize, Serialize};
4-
use std::{fmt, marker::ConstParamTy};
4+
use std::fmt;
55

66
pub mod block_utils;
77
pub mod gas_utils;
@@ -105,7 +105,7 @@ mod gas_create {
105105
pub use gas_create::*;
106106

107107
/// Defines the gas consumption.
108-
#[derive(Clone, Copy, Eq, PartialEq, PartialOrd, Ord, Serialize, Deserialize, ConstParamTy)]
108+
#[derive(Clone, Copy, Eq, PartialEq, PartialOrd, Ord, Serialize, Deserialize)]
109109
pub struct GasCost(pub u64);
110110

111111
impl fmt::Debug for GasCost {

eth-types/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
//#![deny(unsafe_code)] Allowed now until we find a
1212
// better way to handle downcasting from Operation into it's variants.
1313
#![allow(clippy::upper_case_acronyms)] // Too pedantic
14-
#![feature(adt_const_params)]
1514

1615
#[macro_use]
1716
pub mod macros;

0 commit comments

Comments
 (0)