ygd58 eed9cc6296
fix: allow passthrough signer accounts in rule 7 validation
Previously rule 7 rejected any non-default account with DEFAULT_PROGRAM_ID
owner in post_states, even if the account was completely unchanged.

This made it impossible for programs to verify external signers via
is_authorized when the signer had prior transactions (nonce > 0).

Fix: skip rule 7 if pre.account == post.account (passthrough).
This enables multisig/governance programs to include signer accounts
as read-only inputs without modifying them.

Added regression test: passthrough_signer_account_allowed_in_rule_7

Fixes #339
2026-03-27 22:36:52 +01:00
..
2026-03-17 21:25:30 +03:00
2025-08-13 10:01:44 -03:00