Skip to content

test(ethereum): require advanced mode for MakerDAO calldata - #221

Merged
pastaghost merged 3 commits into
masterfrom
fix/7142-makerdao-advanced-mode-tests
Aug 27, 2026
Merged

test(ethereum): require advanced mode for MakerDAO calldata#221
pastaghost merged 3 commits into
masterfrom
fix/7142-makerdao-advanced-mode-tests

Conversation

@BitHighlander

Copy link
Copy Markdown
Contributor

Summary

  • opt the four legacy MakerDAO signing vectors into AdvancedMode
  • exercise the generic full-calldata review path used after removal of the specialized firmware decoder
  • retain the existing deterministic signature assertions

Why

keepkey-firmware PR #473 deliberately removes legacy MakerDAO semantic clear-signing. The old integration tests attempted contract-data signing without the required blind-signing opt-in, causing the firmware release PR integration job to fail closed as intended.

Validation

  • Python syntax check passed
  • offline transaction fixture manifest check passed
  • git diff whitespace check passed

This PR targets the active 7.14.2 companion-test branch so the firmware release child PR can pin the combined test head without changing unrelated default-branch behavior.

Base automatically changed from release/7.14.2-rc31-presign-tests to master August 27, 2026 05:48
Copilot AI lite review requested due to automatic review settings August 27, 2026 05:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates integration tests to align with firmware behavior that now gates opaque/calldata signing behind the AdvancedMode policy, ensuring MakerDAO calldata vectors opt in to blind-signing while keeping deterministic signature assertions.

Changes:

  • Enable AdvancedMode in the four legacy MakerDAO Ethereum signing vectors to use the generic blind-signing (full-calldata) path.
  • Update a Solana opaque signing test to check for an AdvancedMode-related policy failure.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
tests/test_msg_solana_signtx.py Adjusts the expected failure substring for a policy-gated opaque Solana token transfer signing attempt.
tests/test_msg_ethereum_makerdao.py Opts MakerDAO calldata signing tests into AdvancedMode to match new blind-signing requirements while preserving deterministic signature checks.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment thread tests/test_msg_solana_signtx.py
@pastaghost
pastaghost merged commit ce5c1bb into master Aug 27, 2026
10 checks passed
@pastaghost
pastaghost deleted the fix/7142-makerdao-advanced-mode-tests branch August 27, 2026 06:09
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