Skip to content

Fix revive-dev-node receipts issue#295

Merged
0xOmarA merged 4 commits into
mainfrom
fix/revive-dev-node-receipt-issue
May 29, 2026
Merged

Fix revive-dev-node receipts issue#295
0xOmarA merged 4 commits into
mainfrom
fix/revive-dev-node-receipt-issue

Conversation

@0xOmarA

@0xOmarA 0xOmarA commented May 29, 2026

Copy link
Copy Markdown
Contributor

Description

This PR fixes some of the issues we've been seeing where we sometimes fail to get the receipt for a transaction we've submitted to the chain and which we know has been included in a block. This is a client side fix and we're waiting on the upstream issues related to this to be resolved.

  • We spawn the revive-dev-node with --pool-type single-state as recommended by txpool: instant-seal transaction inclusion race polkadot-sdk#10104 which helped reduce these issues a lot.
  • We have updated the submission logic for the revive dev node to use subxt and to watch for the transaction status after submission and resubmit any transaction which has been dropped from the mem-pool.

Future Work

We could further improve this on the client side but a fix upstream is needed. A potential improvement we could do is to resubmit the transaction again after 1 minute if we don't hear any kind of status update on it so there's always selecting between two futures to see which resolves first: the tokio::time::sleep(Duration::from_secs(60)) future or the status update future. But again, we need a fix for this upstream since there isn't much more that retester can do in such cases.

@0xOmarA 0xOmarA added this pull request to the merge queue May 29, 2026
Merged via the queue into main with commit d352230 May 29, 2026
10 checks passed

@elle-j elle-j left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for looking into this!

Comment thread resolc-compiler-tests

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@0xOmarA , was this update intentional? Seems to revert to an older rct commit

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Sorry, not intentional, will revert this today

@xermicus xermicus left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Unfortunately we are still flaky: paritytech/revive#539

@0xOmarA

0xOmarA commented Jun 1, 2026

Copy link
Copy Markdown
Contributor Author

@xermicus Will checkout the run you linked to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants