chore: Bump revm to newest (#6357)

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
rakita
2024-02-06 23:59:10 +01:00
committed by GitHub
parent 37a8780a4d
commit 13947e509b
37 changed files with 467 additions and 358 deletions

View File

@@ -295,12 +295,12 @@ where
self.inner.task_spawner.spawn_blocking(Box::pin(async move {
if count > MAX_PAYLOAD_BODIES_LIMIT {
tx.send(Err(EngineApiError::PayloadRequestTooLarge { len: count })).ok();
return
return;
}
if start == 0 || count == 0 {
tx.send(Err(EngineApiError::InvalidBodiesRange { start, count })).ok();
return
return;
}
let mut result = Vec::with_capacity(count as usize);
@@ -324,7 +324,7 @@ where
}
Err(err) => {
tx.send(Err(EngineApiError::Internal(Box::new(err)))).ok();
return
return;
}
};
}