From 4e8a74dca17619c1c52a106e684bf549340e6c8f Mon Sep 17 00:00:00 2001 From: DaniPopes <57450786+DaniPopes@users.noreply.github.com> Date: Fri, 26 Jan 2024 16:52:59 +0100 Subject: [PATCH] docs: update Cancun precompiles docs --- crates/precompile/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/precompile/src/lib.rs b/crates/precompile/src/lib.rs index 6addef49e2..0c590bcf80 100644 --- a/crates/precompile/src/lib.rs +++ b/crates/precompile/src/lib.rs @@ -134,7 +134,8 @@ impl Precompiles { /// Returns precompiles for Cancun spec. /// - /// If `std` feature is not enabled KZG Point Evaluation precompile will not be included. + /// If the `c-kzg` feature is not enabled KZG Point Evaluation precompile will not be included, + /// effectively making this the same as Berlin. pub fn cancun() -> &'static Self { static INSTANCE: OnceBox = OnceBox::new(); INSTANCE.get_or_init(|| { @@ -181,7 +182,6 @@ impl Precompiles { /// Returns the precompile for the given address. #[inline] pub fn get(&self, address: &Address) -> Option { - //return None; self.inner.get(address).cloned() }