Skip to content

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

Open
stevencartavia wants to merge 4 commits into
tempoxyz:mainfrom
stevencartavia:fix-key-authorization
Open

feat: preserve sender-signed fields when cosigning fee-payer envelopes#154
stevencartavia wants to merge 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
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