Skip to content

feat: preserve sender-signed fields when cosigning fee-payer envelopes#154

Merged
grandizzy merged 4 commits into
tempoxyz:mainfrom
stevencartavia:fix-key-authorization
Jun 23, 2026
Merged

feat: preserve sender-signed fields when cosigning fee-payer envelopes#154
grandizzy merged 4 commits into
tempoxyz:mainfrom
stevencartavia:fix-key-authorization

Conversation

@stevencartavia

Copy link
Copy Markdown
Contributor

Fee-payer cosigning rebuilt the transaction lossily, dropping keyAuthorization fields (limits + T6 allowed_calls/witness/is_admin/account) and tempo_authorization_list. Since these are part of the sender's signing hash, recovery failed ("Sender address does not match recovered signer"). Now the envelope round-trips these fields verbatim, and unsupported sender signature types are rejected with a clear error.

Closes OSS-389

Comment thread tests/test_fee_payer_envelope.py Outdated
Comment thread src/mpp/methods/tempo/intents.py
Comment thread tests/test_fee_payer_envelope.py Outdated
@grandizzy grandizzy requested review from figtracer and mablr June 23, 2026 05:37
@grandizzy grandizzy merged commit ea8ebac into tempoxyz:main Jun 23, 2026
13 checks passed
@github-actions github-actions Bot mentioned this pull request Jun 23, 2026
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.

4 participants