Skip to content

Add force inclusion example#149

Merged
Jason-W123 merged 10 commits into
masterfrom
add-force-inclusion
May 14, 2026
Merged

Add force inclusion example#149
Jason-W123 merged 10 commits into
masterfrom
add-force-inclusion

Conversation

@Jason-W123
Copy link
Copy Markdown
Contributor

No description provided.

@Jason-W123 Jason-W123 marked this pull request as draft March 25, 2026 08:14
@Jason-W123
Copy link
Copy Markdown
Contributor Author

Jason-W123 commented Mar 25, 2026

Pending on a fix and new release of sdk

@Jason-W123 Jason-W123 marked this pull request as ready for review May 13, 2026 20:26
Picks up the InboxTools fixes from arbitrum-sdk#632, which are required
for force inclusion to work when the parent chain is an Arbitrum chain
(Arbitrum Sepolia / Orbit L3 scenario).
Comment thread packages/force-inclusion/scripts/force-inclusion-test.js Fixed
Jason-W123 and others added 4 commits May 14, 2026 04:56
…from environment values'

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Verified end-to-end via yarn test:withNode: fullnode synced and child-chain
balance reflects the force-included deposit.
CI's Check Formatting step (yarn prettier:format → eslint --fix) failed
with two no-await-in-loop errors at the polling loop in verifyOnFullnode.
Matches the existing pattern used by the connect-retry loop above.
@Jason-W123 Jason-W123 requested a review from Gowtham118 May 13, 2026 21:40
Single-shot balance check after sync was racy: if the fullnode produced
its first block but the force-included batch hadn't been applied to state
yet, balance would read as a base/dust amount (~0.0000923626 ETH) — the
gt(0) check passes and the script reports "verified" without the deposit
actually settled.

Polls every 5s up to BALANCE_TIMEOUT_MS (60s), falls through to the
existing "may need more time" hint on timeout. Matches the polling
pattern used by the connect-retry and sync loops above.
@Jason-W123 Jason-W123 merged commit a901300 into master May 14, 2026
6 checks passed
@Jason-W123 Jason-W123 deleted the add-force-inclusion branch May 14, 2026 15:56
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