diff --git a/src/pages/docs/protocol/transactions/spec-tempo-transaction.mdx b/src/pages/docs/protocol/transactions/spec-tempo-transaction.mdx index f0cf1f83..2c77d452 100644 --- a/src/pages/docs/protocol/transactions/spec-tempo-transaction.mdx +++ b/src/pages/docs/protocol/transactions/spec-tempo-transaction.mdx @@ -323,7 +323,9 @@ sender_hash = keccak256(0x76 || rlp([ valid_before, valid_after, 0x80, // fee_token encoded as EMPTY (skipped) - 0x00 // placeholder byte for fee_payer_signature + 0x00, // placeholder byte for fee_payer_signature + aa_authorization_list, + key_authorization? // Only encoded if present (backwards compatible) ])) // When no fee_payer_signature: @@ -339,7 +341,9 @@ sender_hash = keccak256(0x76 || rlp([ valid_before, valid_after, fee_token, // fee_token is INCLUDED - 0x80 // empty for no fee_payer_signature + 0x80, // empty for no fee_payer_signature + aa_authorization_list, + key_authorization? // Only encoded if present (backwards compatible) ])) ``` @@ -364,9 +368,10 @@ fee_payer_hash = keccak256(0x78 || rlp([ // Note: 0x78 magic byte nonce, valid_before, valid_after, - fee_token, // fee_token ALWAYS included - sender_address // 20-byte sender address - key_authorization, + fee_token, // fee_token ALWAYS included + sender_address, // 20-byte sender address + aa_authorization_list, + key_authorization? // Only encoded if present (backwards compatible) ])) ```