test(web): cover EVM account= matching path and WC/deeplink bind #33
No reviewers
Labels
No labels
agent:implement
agent:ready
api
bot
bug
ci
enhancement
ready
security
terra-classic
testing
ux
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
code/cl8y-ecosystem-legal!33
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "test/16-evm-account-continuity"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #16
Summary
account=+ the connected injected mock records that address (signed_latestfor the claimed0x…, including EIP-55 vs lowercase).personal_sign/ no Accepted), Open in MetaMask / Binance / Copy linkaccount=preservation, and hostileaccount=(javascript:,terra1…) as text-only fail-closed.assertEvmAccountContinuity. Portal bind stays UX; API EIP-191 recover is unchanged. Skills + README + clickwrap README cross-link the new cases for third-party agent players.Acceptance criteria
account=+ same injected mock → accept records that account, not a sibling provider.account=from the current portal search; they never useaccountas an href target.accountquery is not executed / not used as navigation; bind still fail-closed.accountabsent) still signs the connected wallet (existing tests).accounton POST.cd web && npx vitest run src/evm src/query.test.tsandnpm run test:e2e -- evm-sign(Playwright workers=5) green.Test plan
evm-sign.spec.tsmatching lowercase / EIP-55already-signed matching account= skips personal_sign0x) → mismatch; pick MetaMask → AcceptedwalletConnect.test.ts+ e2e WC mockaccount=deeplinkUi.test.tsterra1account.test.ts+ e2eLocal verify
Out of scope (issue)
account=bind (#2 / #4)terms.cl8y.com(optional ops)mentioned in commit
45f4ea5b61mentioned in issue #16
mentioned in issue #18