Skip to content

Conversation

@aussedatlo
Copy link
Contributor

@aussedatlo aussedatlo commented Dec 12, 2025

📝 Description

Add nightly job to test erc7730 compatible dapps with cs-teser raw-file command.
Fix a small edge case with aknoledge blind signing to ensure the device can refuse to avoid closing the app and killing speculos.

❓ Context

  • Feature:

✅ Checklist

Pull Requests must pass CI checks and undergo code review. Set the PR as Draft if it is not yet ready for review.

  • Covered by automatic tests
  • Changeset is provided
  • Documentation is up-to-date
  • Impact of the changes:
    • list of the changes

🧐 Checklist for the PR Reviewers

  • The code aligns with the requirements described in the linked JIRA or GitHub issue.
  • The PR description clearly documents the changes made and explains any technical trade-offs or design decisions.
  • There are no undocumented trade-offs, technical debt, or maintainability issues.
  • The PR has been tested thoroughly, and any potential edge cases have been considered and handled.
  • Any new dependencies have been justified and documented.

Copilot AI review requested due to automatic review settings December 12, 2025 16:16
@aussedatlo aussedatlo requested a review from a team as a code owner December 12, 2025 16:16
@vercel
Copy link

vercel bot commented Dec 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
device-sdk-ts-sample Ready Ready Preview, Comment Jan 12, 2026 10:31am
1 Skipped Deployment
Project Deployment Review Updated (UTC)
doc-device-management-kit Ignored Ignored Jan 12, 2026 10:31am

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a nightly GitHub Actions workflow to test ERC7730-compatible dapps using the clear-signing-tester's raw-file command. The changes include extensive test data for multiple DeFi protocols, improvements to error handling in the clear-signing-tester, and a new automated testing infrastructure.

Key changes:

  • New GitHub Actions workflow for nightly ERC7730 testing across multiple devices and protocols
  • Added test data files for 13+ protocols including 1inch, Aave, Lido, Uniswap, and others
  • Enhanced error state handling with blind signing acknowledgement capability
  • Reorganized test resources into core and erc7730 subdirectories

Reviewed changes

Copilot reviewed 45 out of 50 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
.github/workflows/erc7730_nightly.yml New workflow for nightly ERC7730 testing with matrix strategy for devices and providers
apps/clear-signing-tester/src/infrastructure/state-handlers/ErrorStateHandler.ts Added blind signing acknowledgement fallback in error handling
apps/clear-signing-tester/src/infrastructure/services/DefaultScreenAnalyzer.ts Implemented canAcknowledgeBlindSigning() method
apps/clear-signing-tester/src/domain/services/ScreenAnalyzer.ts Added interface method for blind signing acknowledgement
apps/clear-signing-tester/package.json Updated test scripts and added new test:erc7730 command
apps/clear-signing-tester/src/infrastructure/adapters/evm/EthersTransactionCrafter.ts Added debug logging for transaction data
packages/device-management-kit/src/internal/discovery/use-case/ConnectUseCase.ts Simplified error logging by removing detailed error data
apps/clear-signing-tester/src/infrastructure/adapters/speculos/SpeculosScreenReader.ts Simplified error logging in screen reading
apps/clear-signing-tester/ressources/erc7730/* Added comprehensive test data files for 13 protocols across multiple chains
apps/clear-signing-tester/ressources/core/* Moved and added core test data files
apps/clear-signing-tester/scripts/*.sh New utility scripts for fetching transaction data
apps/clear-signing-tester/scripts/test-full.mjs Removed file (test organization changed)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@ledger-wiz-cspm-secret-detection
Copy link

ledger-wiz-cspm-secret-detection bot commented Jan 12, 2026

Wiz Scan Summary

Scanner Findings
Data Finding Sensitive Data -
Secret Finding Secrets -
IaC Misconfiguration IaC Misconfigurations 3 Medium 1 Low 3 Info
SAST Finding SAST Findings -
Software Supply Chain Finding Software Supply Chain Findings -
Total 3 Medium 1 Low 3 Info

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try using Wiz Code VS Code Extension.

@github-actions
Copy link
Contributor

github-actions bot commented Jan 12, 2026

Messages
⚠️ No changeset file found. Please make sure this is intended or add a changeset file.

Generated by 🚫 dangerJS against db2b4ef

@@ -0,0 +1,2 @@
# <div class="d-inline"><span class="d-inline"><i class="far fa-memo text-secondary " data-bs-toggle="tooltip" data-bs-title="Contract"></i> <a data-highlight-value data-highlight-target="0x7d2768de32b0b80b7a3454c06bdac94a69ddc7a9" href="/address/0x7d2768de32b0b80b7a3454c06bdac94a69ddc7a9" class="text-break" style="word-break: break-all!important;"><span id='data-tadd'>0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9</span></a></span> <span>(Aave: Lending Pool V2)</span> <a class="js-clipboard link-secondary me-1" href="javascript:;" data-clipboard-text="0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9" data-bs-toggle="tooltip" title="Copy Address" data-hs-clipboard-options='{
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
# <div class="d-inline"><span class="d-inline"><i class="far fa-memo text-secondary " data-bs-toggle="tooltip" data-bs-title="Contract"></i> <a data-highlight-value data-highlight-target="0x7d2768de32b0b80b7a3454c06bdac94a69ddc7a9" href="/address/0x7d2768de32b0b80b7a3454c06bdac94a69ddc7a9" class="text-break" style="word-break: break-all!important;"><span id='data-tadd'>0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9</span></a></span> <span>(Aave: Lending Pool V2)</span> <a class="js-clipboard link-secondary me-1" href="javascript:;" data-clipboard-text="0x7d2768dE32b0b80b7a3454c06BdAc94A69DDc7A9" data-bs-toggle="tooltip" title="Copy Address" data-hs-clipboard-options='{

@aussedatlo aussedatlo added this pull request to the merge queue Jan 12, 2026
Merged via the queue into develop with commit 9c906b5 Jan 12, 2026
29 of 37 checks passed
@aussedatlo aussedatlo deleted the feat/dsdk-953-nightly-cs-tester branch January 12, 2026 13:49
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