Skip to content

Conversation

@str4d
Copy link
Collaborator

@str4d str4d commented Jun 12, 2025

This prevents Zallet from crashing when it encounters a coinbase transaction. It will however indefinitely re-request the null txid until we bring in zcash/librustzcash#1821.

…zed`

This prevents Zallet from crashing when it encounters a coinbase
transaction. It will however indefinitely re-request the null txid until
we bring in zcash/librustzcash#1821.
@str4d str4d added C-bug Category: This is a bug A-sync Area: Sync engine labels Jun 12, 2025
Copy link
Contributor

@nuttycom nuttycom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

gross, okay

@str4d str4d added the I-error-handling Problems and improvements related to error handling label Jun 12, 2025
// - "No such mempool or main chain transaction" (zebrad)
Err(FetchServiceError::JsonRpcConnectorError(
JsonRpSeeConnectorError::JsonRpSeeClientError(e),
)) if e.contains("No such mempool") => TransactionStatus::TxidNotRecognized,
Copy link
Collaborator Author

@str4d str4d Jun 12, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For reference, the Zaino error we get here is (example from being connected to zcashd -txindex):

FetchServiceError::JsonRpcConnectorError(
    JsonRpSeeConnectorError::JsonRpSeeClientError(
        "Error: Error status from node's rpc server: 500 Internal Server Error, {\"result\":null,\"error\":{\"code\":-5,\"message\":\"No such mempool or blockchain transaction. Use gettransaction for wallet transactions.\"},\"id\":327969}\n"
    )
)

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@str4d str4d merged commit e55bb51 into main Jun 12, 2025
17 of 20 checks passed
@str4d str4d deleted the fix-tdr-txid-not-found branch June 12, 2025 17:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-sync Area: Sync engine C-bug Category: This is a bug I-error-handling Problems and improvements related to error handling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants