chore(deps): bump revm 11 (#9391)

This commit is contained in:
Matthias Seitz
2024-07-09 14:28:44 +02:00
committed by GitHub
parent 05ad783763
commit b97ace200f
12 changed files with 60 additions and 75 deletions

View File

@@ -443,7 +443,7 @@ impl reth_revm::Database for Database {
get_storage(&self.connection(), address, index.into()).map(|data| data.unwrap_or_default())
}
fn block_hash(&mut self, number: U256) -> Result<B256, Self::Error> {
fn block_hash(&mut self, number: u64) -> Result<B256, Self::Error> {
let block_hash = self.connection().query_row::<String, _, _>(
"SELECT hash FROM block WHERE number = ?",
(number.to_string(),),