From 9a99861913a7f34af4ef86990605141091a207cd Mon Sep 17 00:00:00 2001 From: ceciliaz030 Date: Sun, 28 Jan 2024 01:41:40 +0800 Subject: [PATCH] clear comments --- lib/src/lib.rs | 3 --- primitives/src/access_list.rs | 2 -- primitives/src/ethers.rs | 2 -- primitives/src/receipt.rs | 2 -- primitives/src/revm.rs | 3 +-- primitives/src/transactions/ethereum.rs | 2 -- primitives/src/trie/mpt.rs | 2 -- 7 files changed, 1 insertion(+), 15 deletions(-) diff --git a/lib/src/lib.rs b/lib/src/lib.rs index 7381e2d7..ea1dfc93 100644 --- a/lib/src/lib.rs +++ b/lib/src/lib.rs @@ -15,9 +15,6 @@ extern crate alloc; extern crate core; -// #[cfg(any(not(target_os = "zkvm"), not(feature = "std")))] -// pub mod host; - pub mod builder; pub mod consts; pub mod input; diff --git a/primitives/src/access_list.rs b/primitives/src/access_list.rs index a27f6627..e4e141b8 100644 --- a/primitives/src/access_list.rs +++ b/primitives/src/access_list.rs @@ -11,8 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// #[cfg(not(feature = "std"))] -// use crate::no_std_preflight::*; extern crate alloc; extern crate core; diff --git a/primitives/src/ethers.rs b/primitives/src/ethers.rs index eb50a3de..d6d15afb 100644 --- a/primitives/src/ethers.rs +++ b/primitives/src/ethers.rs @@ -13,8 +13,6 @@ // limitations under the License. //! Convert from Ethers types. -// #[cfg(not(feature = "std"))] -// use crate::no_std_preflight::*; extern crate alloc; extern crate core; diff --git a/primitives/src/receipt.rs b/primitives/src/receipt.rs index 9168a261..175de22d 100644 --- a/primitives/src/receipt.rs +++ b/primitives/src/receipt.rs @@ -11,8 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// #[cfg(not(feature = "std"))] -// use crate::no_std_preflight::*; extern crate alloc; extern crate core; diff --git a/primitives/src/revm.rs b/primitives/src/revm.rs index d684742b..810af621 100644 --- a/primitives/src/revm.rs +++ b/primitives/src/revm.rs @@ -13,8 +13,7 @@ // limitations under the License. //! Convert to revm types. -// #[cfg(not(feature = "std"))] -// use crate::no_std_preflight::*; + extern crate alloc; extern crate core; diff --git a/primitives/src/transactions/ethereum.rs b/primitives/src/transactions/ethereum.rs index 65e8fde5..cef6a187 100644 --- a/primitives/src/transactions/ethereum.rs +++ b/primitives/src/transactions/ethereum.rs @@ -11,8 +11,6 @@ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. -// #[cfg(not(feature = "std"))] -// use crate::no_std_preflight::*; extern crate alloc; extern crate core; diff --git a/primitives/src/trie/mpt.rs b/primitives/src/trie/mpt.rs index ad5b0a4a..10d1cde0 100644 --- a/primitives/src/trie/mpt.rs +++ b/primitives/src/trie/mpt.rs @@ -12,8 +12,6 @@ // See the License for the specific language governing permissions and // limitations under the License. -// use crate::no_std_preflight::*; - extern crate alloc; extern crate core;