Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nbaztec committed Dec 22, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 0d2aa4a commit d51200b
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions crates/evm/core/src/era_revm/db.rs
Original file line number Diff line number Diff line change
@@ -39,15 +39,13 @@ pub struct RevmDatabaseForEra<DB> {
impl<Db> Clone for RevmDatabaseForEra<Db> {
fn clone(&self) -> Self {
Self { db: self.db.clone(), current_block: self.current_block }
// Self { db: self.db.clone(), env: self.env.clone(), current_block: self.current_block }
}
}

impl<DB> Debug for RevmDatabaseForEra<DB> {
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
f.debug_struct("RevmDatabaseForEra")
.field("db", &"db")
// .field("env", &self.env.lock().unwrap())
.field("current_block", &self.current_block)
.finish()
}
@@ -71,7 +69,6 @@ where
u64::from_be_bytes(num)
};

// Self { db, env, current_block }
Self { db, current_block }
}

0 comments on commit d51200b

Please sign in to comment.