From 4102ecdf1829a146e148d0c55387a4e3fdda22b7 Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Tue, 24 Sep 2024 19:08:24 +0200 Subject: [PATCH] chore: fix `constants` module typo (#1801) --- crates/bytecode/src/eof/verification.rs | 2 +- crates/specification/src/{constantans.rs => constants.rs} | 0 crates/specification/src/lib.rs | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) rename crates/specification/src/{constantans.rs => constants.rs} (100%) diff --git a/crates/bytecode/src/eof/verification.rs b/crates/bytecode/src/eof/verification.rs index 5371aa55c2..1f922e8657 100644 --- a/crates/bytecode/src/eof/verification.rs +++ b/crates/bytecode/src/eof/verification.rs @@ -4,7 +4,7 @@ use crate::{ utils::{read_i16, read_u16}, }; use primitives::{Bytes, MAX_INITCODE_SIZE}; -use specification::constantans::STACK_LIMIT; +use specification::constants::STACK_LIMIT; use core::{convert::identity, mem}; use std::{borrow::Cow, fmt, vec, vec::Vec}; diff --git a/crates/specification/src/constantans.rs b/crates/specification/src/constants.rs similarity index 100% rename from crates/specification/src/constantans.rs rename to crates/specification/src/constants.rs diff --git a/crates/specification/src/lib.rs b/crates/specification/src/lib.rs index bf327e7e27..68bf7cd61b 100644 --- a/crates/specification/src/lib.rs +++ b/crates/specification/src/lib.rs @@ -5,7 +5,7 @@ #[cfg(not(feature = "std"))] extern crate alloc as std; -pub mod constantans; +pub mod constants; pub mod eip170; pub mod eip2; pub mod eip2930;