Skip to content

Add Grin native end-to-end test coverage - #1539

Draft
sneurlax wants to merge 1 commit into
feat/grinfrom
feat/grin-e2e
Draft

sneurlax wants to merge 1 commit into
feat/grinfrom
feat/grin-e2e

Conversation

@sneurlax

@sneurlax sneurlax commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Summary

  • Add Grin integration tests that drive the real grin_native library on its in-process test chain.
  • Cover coinbase receipt, Slatepack S1/S2/S3, invoices I1/I2/I3 with the amount guard, cancelling and unlocking, reposting, payment proofs, restore and scan resume, reopening, and deletion.
  • Add a release symbol gate that rejects test-chain exports.
  • Restore the generated dependency files after an e2e run and remove the test-chain library from build output.

One commit on #1538.

Since the last push

Rebased on the updated #1538, with no changes of its own. The previous push brought the release symbol gate's count of 37, the refusal of non-desktop devices in grin_e2e_test.sh, two corrected comments, and Bob's S2 balance with nothing pending.

Verification

  • bash scripts/grin_e2e_test.sh linux at this PR's head (805b16ab0): 9/9, with grin-ffi built through grin_native 001df2a from cypherstack/grin-wallet 59537fb.
  • The script put pubspec.yaml and pubspec.lock back and left no Grin library in build/.
  • bash scripts/grin_e2e_test.sh emulator-5554 stops before changing anything.
  • dart analyze integration_test: no issues.

@codecov

codecov Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (feat/grin@07b96f2). Learn more about missing BASE report.

Additional details and impacted files
@@             Coverage Diff              @@
##             feat/grin    #1539   +/-   ##
============================================
  Coverage             ?   21.57%           
============================================
  Files                ?     1159           
  Lines                ?   115925           
  Branches             ?        0           
============================================
  Hits                 ?    25016           
  Misses               ?    90909           
  Partials             ?        0           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Exercise real wallet, Slatepack, invoice, cancellation, repost, payment-proof, restore, reopen, and delete flows on the native test chain.
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.

1 participant