polkadot-js / tools

Various cli tools for Polkadot and Substrate chains, including basic node monitoring, making API queries via a cli app and other command-line tools
Apache License 2.0
279 stars 69 forks source link

[api-cli] Avoid infinite wait on failed txs #515

Closed serban300 closed 8 months ago

serban300 commented 9 months ago

Related to https://github.com/paritytech/polkadot-sdk/issues/3176

We use polkadot-js-api as part of the bridge integration tests. Lately, since async backing was enabled for test system parachains we are seeing an increasing number of invalid txs in our tests because of https://github.com/paritytech/polkadot-sdk/issues/3204

As a workaround I plan to just disregard these error statuses, but we also need polkadot-js-api to gracefully close in this case.

serban300 commented 9 months ago

@jacogr could you take a look on this PR please ? It's a very small change.

polkadot-js-bot commented 8 months ago

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.