Skip to content

test(kusama): add Playwright test for tampered proof on-chain verification - #322

Merged
benceharomi merged 1 commit into
stagingfrom
test/verify-tampered-proof-on-chain
Aug 26, 2026
Merged

benceharomi merged 1 commit into
stagingfrom
test/verify-tampered-proof-on-chain

Conversation

@benceharomi

Copy link
Copy Markdown
Member

Summary

Expected result on this PR (before #321 merges)

This is expected to fail right now: staging is still pinned to @zk-email/sdk@3.0.0-nightly.34, which has the bug blueprint.verifyProofOnChain discards the standalone call's boolean result and always resolves true unless the SDK itself throws. A tampered proof currently shows the success toast through this exact button.

Plan

  1. Merge chore: bump @zk-email/sdk to 3.0.0-nightly.36 #321 (bumps to nightly.36, contains the fix) first.
  2. Rebase this branch on the updated staging.
  3. Re-run CI - should now pass, demonstrating the fix at the actual UI level, not just the SDK unit tests.

Deliberately not merging this one until that sequence completes, so the red-then-green CI history stays as evidence.

@coderabbitai

coderabbitai Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 038ec449-1278-4214-bfcc-8cf49aeb9605

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

…ation

Real UI path (Verify On-Chain button -> blueprint.verifyProofOnChain),
same real proof as verifyProofOnChain.ts but corrupted in-flight via
route interception, not the persisted database record. Asserts the
failure toast, not the success one.

Expected to fail against current staging: blueprint.verifyProofOnChain
discards the standalone call's result and always resolves true unless
the SDK itself throws, so a tampered proof currently shows the success
toast here (curator-reported bug, fixed in zkemail/zk-email-sdk-js#104,
not yet on staging until #321 merges). This PR demonstrates that on
real CI before the fix lands, then should pass once #321 merges and
this branch is rebased.
@benceharomi
benceharomi force-pushed the test/verify-tampered-proof-on-chain branch from 1582f93 to 41d62cd Compare August 26, 2026 18:29
@render
render Bot temporarily deployed to test/verify-tampered-proof-on-chain - registry-staging PR #322 August 26, 2026 18:29 Destroyed
@benceharomi
benceharomi merged commit 9b12918 into staging Aug 26, 2026
3 checks passed
@benceharomi
benceharomi deleted the test/verify-tampered-proof-on-chain branch August 26, 2026 18:33
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