We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b7c2af commit 38cd6ccCopy full SHA for 38cd6cc
3 files changed
packages/evm/bindings/src/lib.rs
@@ -676,7 +676,7 @@ impl EvmInner {
676
tx_hash: B256,
677
) -> std::result::Result<Option<TxReceipt>, EVMError<String>> {
678
match self.persistent_db.get_receipt(block_number, tx_hash) {
679
- Ok(receipt) => Ok(receipt),
+ Ok((_, receipt)) => Ok(receipt),
680
Err(err) => Err(EVMError::Database(
681
format!("failed reading receipt: {}", err).into(),
682
)),
@@ -698,7 +698,7 @@ impl EvmInner {
698
699
let (committed, _) = self
700
.persistent_db
701
- .get_committed_receipt(commit_key.0, tx_ctx.tx_hash)
+ .get_receipt(commit_key.0, tx_ctx.tx_hash)
702
.map_err(|err| EVMError::Database(format!("commit receipt lookup: {}", err).into()))?;
703
assert!(!committed);
704
0 commit comments