Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions src/pages/docs/protocol/transactions/spec-tempo-transaction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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)
]))
```

Expand All @@ -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)
]))
```

Expand Down