From 233402ca85bb815a3bfce9558a6045a8e711672a Mon Sep 17 00:00:00 2001 From: Max <227239059+max-digi@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:46:58 +0000 Subject: [PATCH 01/17] docs: mark activated TIP-1006 as mainnet --- src/pages/docs/protocol/tips/tip-1006.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/docs/protocol/tips/tip-1006.mdx b/src/pages/docs/protocol/tips/tip-1006.mdx index 0933bd799..3295c64a7 100644 --- a/src/pages/docs/protocol/tips/tip-1006.mdx +++ b/src/pages/docs/protocol/tips/tip-1006.mdx @@ -3,7 +3,7 @@ id: TIP-1006 title: Burn At for TIP-20 Tokens description: The burnAt function for TIP-20 tokens, enabling authorized administrators to burn tokens from any address. authors: Dan Robinson -status: In Review +status: Mainnet related: N/A protocolVersion: T12 ogImage: /og/2026-q4/og_2026-q4_docs_protocol-tips-tip-1006_title-f5_v02.png From ac19b5e55d7eeb3ad847ec52d92a204c704c62d3 Mon Sep 17 00:00:00 2001 From: Max <227239059+max-digi@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:46:58 +0000 Subject: [PATCH 02/17] docs: mark activated TIP-1011 as mainnet --- src/pages/docs/protocol/tips/tip-1011.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/docs/protocol/tips/tip-1011.mdx b/src/pages/docs/protocol/tips/tip-1011.mdx index 9fcbbc520..60243c499 100644 --- a/src/pages/docs/protocol/tips/tip-1011.mdx +++ b/src/pages/docs/protocol/tips/tip-1011.mdx @@ -3,7 +3,7 @@ id: TIP-1011 title: Enhanced Access Key Permissions description: Extends Access Keys with periodic spending limits, destination/function scoping, and limited calldata recipient scoping. authors: Tanishk Goyal -status: Testnet +status: Mainnet related: Tempo Transaction Spec protocolVersion: T3 ogImage: /og/2026-q4/og_2026-q4_docs_protocol-tips-tip-1011_title-f5_v02.png From 911d8fe8d830fbafe39a1beff57be21548f2de85 Mon Sep 17 00:00:00 2001 From: Max <227239059+max-digi@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:46:58 +0000 Subject: [PATCH 03/17] docs: mark activated TIP-1020 as mainnet --- src/pages/docs/protocol/tips/tip-1020.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/docs/protocol/tips/tip-1020.mdx b/src/pages/docs/protocol/tips/tip-1020.mdx index 9c419a71c..5723d5e2c 100644 --- a/src/pages/docs/protocol/tips/tip-1020.mdx +++ b/src/pages/docs/protocol/tips/tip-1020.mdx @@ -3,7 +3,7 @@ id: TIP-1020 title: Signature Verification Precompile description: A precompile for verifying Tempo signatures onchain. authors: Jake Moxey (@jxom), Tanishk Goyal (@legion2002), Howy (@howydev) -status: Testnet +status: Mainnet related: Tempo Transaction Spec protocolVersion: T3 ogImage: /og/2026-q4/og_2026-q4_docs_protocol-tips-tip-1020_title-f5_v02.png From 5d96b28c82984f94220dc417585bc618d7cf8f96 Mon Sep 17 00:00:00 2001 From: Max <227239059+max-digi@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:46:58 +0000 Subject: [PATCH 04/17] docs: mark activated TIP-1030 as mainnet --- src/pages/docs/protocol/tips/tip-1030.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/docs/protocol/tips/tip-1030.mdx b/src/pages/docs/protocol/tips/tip-1030.mdx index 471e29cdd..3d6511a09 100644 --- a/src/pages/docs/protocol/tips/tip-1030.mdx +++ b/src/pages/docs/protocol/tips/tip-1030.mdx @@ -3,7 +3,7 @@ id: TIP-1030 title: Allow same-tick flip orders description: Relaxes the placeFlip validation to allow flipTick to equal tick, enabling flip orders that flip to the same price. authors: Dan Robinson -status: Draft +status: Mainnet related: TIP-1002 protocolVersion: T5 supersedes: TIP-1002 From b6e4352640fbddd4ef3117ad73fd6ed8685a90e3 Mon Sep 17 00:00:00 2001 From: Max <227239059+max-digi@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:46:58 +0000 Subject: [PATCH 05/17] docs: mark activated TIP-1031 as mainnet --- src/pages/docs/protocol/tips/tip-1031.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/docs/protocol/tips/tip-1031.mdx b/src/pages/docs/protocol/tips/tip-1031.mdx index a1739bfa3..471d18806 100644 --- a/src/pages/docs/protocol/tips/tip-1031.mdx +++ b/src/pages/docs/protocol/tips/tip-1031.mdx @@ -3,7 +3,7 @@ id: TIP-1031 title: Embed consensus context in the block Header description: Embed consensus context into the block header authors: Hamdi, Janis -status: Approved +status: Mainnet related: N/A protocolVersion: T4 ogImage: /og/2026-q4/og_2026-q4_docs_protocol-tips-tip-1031_title-f5_v02.png From c16e470f3956b76c2f7b6e42e890eb812a9f37a0 Mon Sep 17 00:00:00 2001 From: Max <227239059+max-digi@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:46:58 +0000 Subject: [PATCH 06/17] docs: mark activated TIP-1036 as mainnet --- src/pages/docs/protocol/tips/tip-1036.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/docs/protocol/tips/tip-1036.mdx b/src/pages/docs/protocol/tips/tip-1036.mdx index 25fb63fcd..cc9e701a1 100644 --- a/src/pages/docs/protocol/tips/tip-1036.mdx +++ b/src/pages/docs/protocol/tips/tip-1036.mdx @@ -3,7 +3,7 @@ id: TIP-1036 title: T2 Hardfork Bug Fixes description: Meta TIP collecting all audit-driven bug fixes and hardening changes gated behind the T2 hardfork. authors: Tanishk (@legion2002), Rusowsky (@0xrusowsky), Jennifer (@jenpaff), Howy (@howydev), Kitsune (@0xKitsune) -status: In Review +status: Mainnet related: N/A protocolVersion: T2 ogImage: /og/2026-q4/og_2026-q4_docs_protocol-tips-tip-1036_title-f5_v02.png From faaf31cbe4f6a65844bde3a107fa85eb1d273137 Mon Sep 17 00:00:00 2001 From: Max <227239059+max-digi@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:50:10 +0000 Subject: [PATCH 07/17] docs(fees): distinguish affordability from fee collection --- src/pages/docs/protocol/fees/spec-fee.mdx | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/src/pages/docs/protocol/fees/spec-fee.mdx b/src/pages/docs/protocol/fees/spec-fee.mdx index e97a4991d..5331f425d 100644 --- a/src/pages/docs/protocol/fees/spec-fee.mdx +++ b/src/pages/docs/protocol/fees/spec-fee.mdx @@ -56,13 +56,14 @@ Before the execution of each transaction, the protocol takes the following steps * Determine the [`fee_payer`](#fee-payer) of the transaction. * Determine the `fee_token` of the transaction, according to the [rules for fee token preferences](#fee-token-preferences). If the fee token cannot be determined, the transaction is invalid. -* Compute the `max_fee` of the transaction as `ceil(gas_limit * gas_price / 10^12)` in token base units, using the effective gas price. -* Deduct `max_fee` from the `fee_payer`'s balance of `fee_token`. If `fee_payer` does not have sufficient balance in `fee_token`, the transaction is invalid. -* Reserve `max_fee` of liquidity on the [fee AMM](/docs/protocol/fees/spec-fee-amm) between the `fee_token` and the validator's preferred fee token. If there is insufficient liquidity, the transaction is invalid. +* Require the `fee_payer`'s balance of `fee_token` to cover `ceil(gas_limit * max_fee_per_gas / 10^12)` in token base units (`gasPrice` for legacy transactions). If the balance is insufficient, the transaction is invalid. +* Compute the `upfront_fee` of the transaction as `ceil(gas_limit * gas_price / 10^12)` in token base units, using the effective gas price. +* Deduct `upfront_fee` from the `fee_payer`'s balance of `fee_token`. If `fee_payer` does not have sufficient balance in `fee_token`, the transaction is invalid. +* Reserve `upfront_fee` of liquidity on the [fee AMM](/docs/protocol/fees/spec-fee-amm) between the `fee_token` and the validator's preferred fee token. If there is insufficient liquidity, the transaction is invalid. After the execution of each transaction: -* Compute the actual fee as `ceil(gas_used * gas_price / 10^12)` in token base units, using the effective gas price. Compute `refund_amount` as `max_fee` minus this rounded actual fee. +* Compute the actual fee as `ceil(gas_used * gas_price / 10^12)` in token base units, using the effective gas price. Compute `refund_amount` as `upfront_fee` minus this rounded actual fee. * Credit the `fee_payer`'s address with `refund_amount` of `fee_token`. * Log a `Transfer` event from the user to the [fee manager contract](/docs/protocol/fees/spec-fee-amm) for the net amount of the fee payment. @@ -126,7 +127,7 @@ The protocol checks for token preferences in five ways, with this order of prece The protocol checks preferences at each of these levels, stopping at the first one at which a preference is specified. At that level, the protocol performs the following checks. If any of the checks fail, the transaction is invalid (without looking at any further levels): * The token must be a TIP-20 token whose currency is USD. -* The user must have sufficient balance in that token to pay the `gasLimit` on the transaction at the transaction's `gasPrice`. +* The fee payer must have sufficient balance in that token to cover `ceil(gasLimit * maxFeePerGas / 10^12)` base units (`gasPrice` for legacy transactions). * There must be sufficient liquidity on the [fee AMM](/docs/protocol/fees/spec-fee-amm), as discussed in that specification. If no preference is specified at the transaction, account, or contract level, the protocol falls back to [pathUSD](#pathusd). From T13, the fallback is an [ordered list](#ordered-fallback-from-t13). From efa6989014e56e01095054a077d3564ae036121e Mon Sep 17 00:00:00 2001 From: Max <227239059+max-digi@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:50:10 +0000 Subject: [PATCH 08/17] docs(tip-1022): locate recipient resolution before authorization --- src/pages/docs/protocol/tips/tip-1022.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/docs/protocol/tips/tip-1022.mdx b/src/pages/docs/protocol/tips/tip-1022.mdx index cf68b4ebb..378a93db4 100644 --- a/src/pages/docs/protocol/tips/tip-1022.mdx +++ b/src/pages/docs/protocol/tips/tip-1022.mdx @@ -318,7 +318,7 @@ Concretely, for any TIP-20 entrypoint covered by TIP-1022: 1. Compute `effectiveRecipient = resolveRecipient(to)`. 2. Apply the existing sender / recipient / mint-recipient authorization rules to `effectiveRecipient`, not the literal virtual address. -This preserves view/execution symmetry with the TIP-20 authorization path defined by TIP-1015: any internal TIP-20 helper such as `isTransferAuthorized(from, to)` MUST evaluate recipient authorization against the resolved master address when `to` is virtual. +Internal TIP-20 authorization helpers evaluate the supplied address without resolving it. Transfer and mint entrypoints MUST pass the resolved recipient to the TIP-1015 authorization checks. `balanceOf(virtualAddress)` remains literal and MUST continue to return 0. From c3437e565a1d2f332b4a83985b09be5fd1082ff1 Mon Sep 17 00:00:00 2001 From: Max <227239059+max-digi@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:50:48 +0000 Subject: [PATCH 09/17] docs(keychain): correct unsupported signature type revert data --- src/pages/docs/protocol/transactions/AccountKeychain.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/docs/protocol/transactions/AccountKeychain.mdx b/src/pages/docs/protocol/transactions/AccountKeychain.mdx index a35eac6bd..85dde7932 100644 --- a/src/pages/docs/protocol/transactions/AccountKeychain.mdx +++ b/src/pages/docs/protocol/transactions/AccountKeychain.mdx @@ -261,7 +261,7 @@ SDK encoders/decoders and hardware-wallet firmware that strictly check field cou - `keyId` MUST NOT be `address(0)` (reverts with `ZeroPublicKey`) - `keyId` MUST NOT already be authorized with `expiry > 0` (reverts with `KeyAlreadyExists`) - `keyId` MUST NOT have been previously revoked (reverts with `KeyAlreadyRevoked` - prevents replay attacks) -- `signatureType` MUST be `0` (Secp256k1), `1` (P256), or `2` (WebAuthn) (reverts with `InvalidSignatureType`) +- `signatureType` MUST be `0` (Secp256k1), `1` (P256), or `2` (WebAuthn) (unsupported values revert with empty data) - `config.expiry` MUST be strictly greater than the current block timestamp (reverts with `ExpiryInPast`) - To authorize a non-expiring key, omit `key_authorization.expiry` in the transaction RLP or pass `u64::MAX` when calling the precompile ABI directly. Do not pass `0`. - `enforceLimits` determines whether spending limits are enforced for this key @@ -281,7 +281,7 @@ SDK encoders/decoders and hardware-wallet firmware that strictly check field cou - `keyId` MUST NOT be the account address (reverts with `InvalidKeyId`). - `keyId` MUST NOT already be authorized (reverts with `KeyAlreadyExists`). - `keyId` MUST NOT have been previously revoked (reverts with `KeyAlreadyRevoked`). -- `signatureType` MUST be `0` (Secp256k1), `1` (P256), or `2` (WebAuthn) (reverts with `InvalidSignatureType`). +- `signatureType` MUST be `0` (Secp256k1), `1` (P256), or `2` (WebAuthn) (unsupported values revert with empty data). ### Witness revocation From b2a7a4b3f20a583c76ea5c3de0fe014243576973 Mon Sep 17 00:00:00 2001 From: Max <227239059+max-digi@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:50:48 +0000 Subject: [PATCH 10/17] docs(transactions): correct optional fee token signing rule --- src/pages/docs/protocol/transactions/spec-tempo-transaction.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/docs/protocol/transactions/spec-tempo-transaction.mdx b/src/pages/docs/protocol/transactions/spec-tempo-transaction.mdx index 1e6c9f7be..2666dbe0f 100644 --- a/src/pages/docs/protocol/transactions/spec-tempo-transaction.mdx +++ b/src/pages/docs/protocol/transactions/spec-tempo-transaction.mdx @@ -322,7 +322,7 @@ The Tempo Transaction Type (0x76) supports **gas sponsorship** where a third par For computing the transaction hash that the sender signs: * Fields are preceded by transaction type byte `0x76` -* Field 11 (`fee_token`) is encoded as empty string (`0x80`) **if and only if** `fee_payer_signature` is present. This allows the fee payer to specify the fee token. +* If `fee_payer_signature` is present, field 11 (`fee_token`) is forced to the empty string (`0x80`), allowing the fee payer to specify the fee token. Otherwise, encode the selected token address, or `0x80` when no token is selected. * Field 12 (`fee_payer_signature`) is encoded as: - Single byte `0x00` if fee payer signature will be present (placeholder) - Empty string `0x80` if no fee payer From 91386c07f67b998b2da0c72bb480c575f363e2e3 Mon Sep 17 00:00:00 2001 From: Max <227239059+max-digi@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:50:48 +0000 Subject: [PATCH 11/17] docs(transactions): qualify ordinary-call spending limit exemptions --- .../docs/protocol/transactions/spec-tempo-transaction.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/docs/protocol/transactions/spec-tempo-transaction.mdx b/src/pages/docs/protocol/transactions/spec-tempo-transaction.mdx index 2666dbe0f..13482b9f7 100644 --- a/src/pages/docs/protocol/transactions/spec-tempo-transaction.mdx +++ b/src/pages/docs/protocol/transactions/spec-tempo-transaction.mdx @@ -677,8 +677,8 @@ When a limited Access Key attempts to call any mutable keychain function: The protocol tracks and enforces spending limits for TIP20 token transfers: **Scope:** Direct TIP-20 transfers and approval increases are tracked, along with account-paid fees and token pulls by approved protocol precompiles. T12 additionally tracks `burnAt` when burning the transaction originator's tokens. -- Spending limits only apply when `msg.sender == tx.origin` (direct EOA calls) -- When a contract makes transfers on behalf of the user, spending limits do NOT apply (e.g., `transferFrom()`) +- For ordinary direct TIP-20 transfers and approval increases, limits apply when `msg.sender == tx.origin`. +- A contract's ordinary `transferFrom()` call does not charge the user's spending limit; this exception does not cover the protocol paths listed above. - Native value transfers are unsupported: every Tempo call MUST have `value = 0` - NFT transfers are NOT limited - Other asset types are NOT limited From eecbc6e05a6211e85f48510b831b05f3cc2c8ce0 Mon Sep 17 00:00:00 2001 From: Max <227239059+max-digi@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:50:48 +0000 Subject: [PATCH 12/17] docs(transactions): specify P256 low-s validation --- src/pages/docs/protocol/transactions/spec-tempo-transaction.mdx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pages/docs/protocol/transactions/spec-tempo-transaction.mdx b/src/pages/docs/protocol/transactions/spec-tempo-transaction.mdx index 13482b9f7..9ef5ece3a 100644 --- a/src/pages/docs/protocol/transactions/spec-tempo-transaction.mdx +++ b/src/pages/docs/protocol/transactions/spec-tempo-transaction.mdx @@ -294,6 +294,8 @@ Existing nonce streams and new nonce streams have different costs. New streams c - WebAuthn: Parse clientDataJSON, verify challenge and type, then P256 verify - Keychain: Verify inner signature, then validate access key authorization via AccountKeychain precompile +P256 and WebAuthn ECDSA signatures MUST use low-s form: `0 < s <= floor(n / 2)`, where `n` is the P256 curve order. + Optional `valid_before`, `valid_after`, and key-authorization `expiry` values MUST be nonzero when present. JSON-RPC requests with an explicit zero timestamp MUST be rejected during deserialization. An absent transaction bound is unconstrained on that side; an absent key expiry means non-expiring. The transaction timestamp MUST be strictly less than `valid_before` and greater than or equal to `valid_after` when those bounds are present. #### Nonce Validation From c5ad232005f219b75f9307460cf3263cdc10ca0b Mon Sep 17 00:00:00 2001 From: Max <227239059+max-digi@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:52:01 +0000 Subject: [PATCH 13/17] docs(tip-1017): describe current builder fee recipient selection --- src/pages/docs/protocol/tips/tip-1017.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/docs/protocol/tips/tip-1017.mdx b/src/pages/docs/protocol/tips/tip-1017.mdx index ae512f68b..01a9f1fc3 100644 --- a/src/pages/docs/protocol/tips/tip-1017.mdx +++ b/src/pages/docs/protocol/tips/tip-1017.mdx @@ -388,7 +388,7 @@ This read switch is implemented in CL logic. V2 does not proxy reads to V1. **Validator addition and deactivation**: there is no warmup or cooldown in V2. Added validators are added to the DKG player set on the next epoch; deactivated validators leave on the next epoch. (both in the case of successful DKG rounds; on failure DKG still falls back to its previous state, which might include validators that are marked inactive as per the contract). -**Fee recipients**: Fee recipients are included now to be used in the future in a not yet determined hardfork. +**Fee recipients**: Block builders use the proposer's registered `feeRecipient` once ValidatorConfig V2 is initialized. #### DKG Player Selection From 888dfb76b3aa5894217c003786de88d49829a151 Mon Sep 17 00:00:00 2001 From: Max <227239059+max-digi@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:52:01 +0000 Subject: [PATCH 14/17] docs(zones): specify prover failure fallback --- src/pages/docs/protocol/zones/proving.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/docs/protocol/zones/proving.mdx b/src/pages/docs/protocol/zones/proving.mdx index 0565bbe5d..c7f94f86c 100644 --- a/src/pages/docs/protocol/zones/proving.mdx +++ b/src/pages/docs/protocol/zones/proving.mdx @@ -22,7 +22,7 @@ The Zones Solidity reference verifier still returns `true` without checking exec During rollout, T13 also accepts the `NoProof` mode. This mode keeps the quorum and continuity checks but skips attestation. A later upgrade removes it. Before relying on execution-proof enforcement, check the network's active hardfork, verifier, and approved enclave measurements. -The sequencer implementation can be configured to wait for a Nitro-attested batch before submitting it. This node-side requirement is separate from onchain enforcement. Forced exits remain unfinished. Withdrawal settlement depends on the operator continuing to process and submit batches. +The sequencer can be configured to request Nitro attestations, but prover failures can fall back to `NoProof` submission during the T13 rollout. Enabling the prover does not enforce proof-only settlement. Forced exits remain unfinished. Withdrawal settlement depends on the operator continuing to process and submit batches. ## Batch Submission @@ -112,7 +112,7 @@ The SPF requires each batch to end at a full block's withdrawal finalization bou ### Validation Deployment Modes -On a sequencer, `--sequencer.enable-prover` requires a prover address for the active Tempo hardfork, currently `--sequencer.prover-address T13=HOST:PORT`. The sequencer waits for the remote prover's successful batch result and nonempty Nitro attestation before submission. It collects the settlement certificate in parallel. +On a sequencer, `--sequencer.enable-prover` requires a prover address for the active Tempo hardfork, currently `--sequencer.prover-address T13=HOST:PORT`. The sequencer normally waits for the remote prover's successful batch result and nonempty Nitro attestation before submission, collecting the settlement certificate in parallel. If the prover attempt fails, it can instead submit empty proof bytes with a fresh `NoProof` quorum certificate. A prover-hardfork change aborts the attempt rather than falling back. `--sequencer.enable-prover` requires a sequencer and is rejected on `rpc_only` followers. The unconfigured sequencer compatibility path submits empty proof bytes. It can't satisfy an enforcing verifier. From bc98fe72b7cde81ea52129f703f0cd5282e562ed Mon Sep 17 00:00:00 2001 From: Max <227239059+max-digi@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:53:18 +0000 Subject: [PATCH 15/17] docs(tip-1020): scope keychain rejection to primitive methods --- src/pages/docs/protocol/tips/tip-1020.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/docs/protocol/tips/tip-1020.mdx b/src/pages/docs/protocol/tips/tip-1020.mdx index 5723d5e2c..534106252 100644 --- a/src/pages/docs/protocol/tips/tip-1020.mdx +++ b/src/pages/docs/protocol/tips/tip-1020.mdx @@ -135,4 +135,4 @@ It is expected that this precompile will be updated when other account types are | **SV4** | Revert on failure | On any invalid signature, invalid encoding, or unsupported type, the precompile MUST revert. | | **SV5** | Gas schedule consistency | Gas charged MUST follow the gas schedule listed above. | | **SV6** | Signature type disambiguation | Exactly 65 bytes MUST be interpreted as secp256k1 (no prefix). Any non-65-byte signature MUST be interpreted using the leading type byte. Unknown type identifiers MUST revert. | -| **SV7** | Keychain signature rejection | Signatures with a Keychain type prefix (`0x03` or `0x04`) MUST be rejected. Keychain verification is achieved by composing the AccountKeychain precompile (key resolution) with this precompile (inner signature verification). | +| **SV7** | Keychain signature handling | `recover` and `verify` MUST reject Keychain type prefixes (`0x03` or `0x04`). `verifyKeychain` and `verifyKeychainAdmin` accept V2 (`0x04`) Keychain signatures and validate their AccountKeychain state. | From 918c59d696c2a7a4f544e914a3ada3a2cc06d6a7 Mon Sep 17 00:00:00 2001 From: Max <227239059+max-digi@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:54:34 +0000 Subject: [PATCH 16/17] docs(tip-1011): correct spending period replacement requirement --- src/pages/docs/protocol/tips/tip-1011.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/docs/protocol/tips/tip-1011.mdx b/src/pages/docs/protocol/tips/tip-1011.mdx index 60243c499..db8ff05db 100644 --- a/src/pages/docs/protocol/tips/tip-1011.mdx +++ b/src/pages/docs/protocol/tips/tip-1011.mdx @@ -312,7 +312,7 @@ On each spend attempt for `(account, key, token)`: 2. MUST set `remainingInPeriod = newLimit`. 3. MUST NOT change `period`. 4. MUST NOT change `periodEnd`. -5. Therefore changing `period` requires re-authorizing the key (or removing and recreating that token limit entry). +5. An existing key-token limit's `period` cannot be changed. To use a different period, authorize a new access key with a different `keyId`. #### Call Validation Logic From f1238e4717cda69a8e665e1304d15eb94f510f33 Mon Sep 17 00:00:00 2001 From: Max <227239059+max-digi@users.noreply.github.com> Date: Mon, 30 Nov 2026 15:54:34 +0000 Subject: [PATCH 17/17] docs(tip-1011): require canonical optional RLP fields --- src/pages/docs/protocol/tips/tip-1011.mdx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/pages/docs/protocol/tips/tip-1011.mdx b/src/pages/docs/protocol/tips/tip-1011.mdx index db8ff05db..4b5e60119 100644 --- a/src/pages/docs/protocol/tips/tip-1011.mdx +++ b/src/pages/docs/protocol/tips/tip-1011.mdx @@ -12,7 +12,7 @@ ogImage: /og/2026-q4/og_2026-q4_docs_protocol-tips-tip-1011_title-f5_v02.png # TIP-1011: Enhanced Access Key Permissions :::info[Versioned proposal] -This TIP records the enhanced-permissions proposal. Later upgrades change key authorization to the `KeyRestrictions` tuple and add admin keys. Use the [Account Keychain reference](/docs/protocol/transactions/AccountKeychain) for the current ABI. The gas rules below use T4 storage-creating row counts and T7 intrinsic storage pricing. +This TIP records the enhanced-permissions proposal. Later upgrades change key authorization to the `KeyRestrictions` tuple and add admin keys. Use the [Account Keychain reference](/docs/protocol/transactions/AccountKeychain) for the current ABI. The gas rules below use T4 storage-creating row counts and T7 intrinsic storage pricing. Current RLP decoding requires canonical omission of absent trailing fields and rejects an explicit zero `TokenLimit.period`. ::: ## Abstract @@ -522,12 +522,12 @@ SelectorRule := RLP([ Optional encoding rules: -1. Optional scalar fields (`expiry`) use `None => 0x80`. -2. `limits = None` uses `0x80`. -3. Top-level `allowed_calls = None` is canonically omitted on wire. Implementations MUST also accept explicit `0x80` for `allowed_calls = None` as equivalent non-canonical input. +1. Absent optional scalar fields (`expiry`) use `0x80` only when followed by a later present field; otherwise omit them. +2. `limits = None` uses `0x80` only when followed by a later present field; otherwise omit it. +3. An absent trailing `allowed_calls` field MUST be omitted. Use `0x80` only when a later optional field is present. 4. Nested scope-list fields (`selector_rules` and `recipients`) are always encoded explicitly. Allow-all uses RLP empty list (`0xc0`). 5. Non-empty list values encode as normal lists. -6. For `TokenLimit`, one-time limits (`period == 0`) canonically use the two-field form. Implementations MUST also accept the explicit three-field form with `period = 0` as equivalent non-canonical input. +6. For `TokenLimit`, one-time limits (`period == 0`) MUST use the two-field form. Implementations MUST reject the explicit three-field form with `period = 0`. 7. Each `SelectorRule.selector` MUST decode to exactly 4 bytes; otherwise the authorization MUST be rejected. ---