You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Celestia maintains a fork of CometBFT in celestia-core. We're considering exporting an error so that downstream consumers can use it rather than checking for an error based on string. See celestiaorg/celestia-core#1169
err=errors.New("timed out waiting for tx to be included in a block")
defines an ad-hoc error that can't be used by downstream consumers. Ideally this error was exported from CometBFT so that downstream consumers can use it in errors.Is
Celestia-core can workaround this by exporting it but that introduces a divergence from this repo.
Hey @rootulp 👋 We already have an issue for this: #1140. If you want to help upstreaming the above chan
9342
ges, let us know (feel free to open a PR).
@melekesThe referenced error is not a named error, so the already merged PR to export errors from mempool does not include it. Is the issue you linked only for exporting errors or should I bring it up there as well?
Sorry, just noticed that the mempool PR isn't the same file, so assuming it will be added under the rpc subtask. You can disregard this comment
Uh oh!
There was an error while loading. Please reload this page.
Context
Celestia maintains a fork of CometBFT in celestia-core. We're considering exporting an error so that downstream consumers can use it rather than checking for an error based on string. See celestiaorg/celestia-core#1169
Problem
cometbft/rpc/core/mempool.go
Line 148 in 00e5270
errors.Is
Celestia-core can workaround this by exporting it but that introduces a divergence from this repo.
Proposal
ErrTimedOutWaitingForTx
. Basically feat: exportErrTimedOutWaitingForTx
celestiaorg/celestia-core#1169The text was updated successfully, but these errors were encountered: