diff --git a/docs/protocols/alpha.rst b/docs/protocols/alpha.rst index 5a3912a645fee648f0d4186184af83df7f2240bb..03e9bcbdb3482713b2cead3018192c798de7029f 100644 --- a/docs/protocols/alpha.rst +++ b/docs/protocols/alpha.rst @@ -2,127 +2,37 @@ Protocol Alpha ============== This page documents the changes brought by protocol Alpha with respect -to Mumbai (see :ref:`naming_convention`). +to Nairobi (see :ref:`naming_convention`). The code can be found in directory :src:`src/proto_alpha` of the ``master`` branch of Octez. .. contents:: -New Environment Version (V9) ----------------------------- +Environment Version +------------------- -This protocol requires a different protocol environment version than Mumbai. -It requires protocol environment V9, compared to V8 for Mumbai. (MR :gl:`!7178`) +This protocol requires the same protocol environment than Mumbai., that is +environment V9. Smart Rollups ------------- -- Add a new kind of outbox messages batches allowing to specify the - type of the transaction to execute on the L1. (MR :gl:`!7941`) - -- Add a field `"kind"` to the outbox message transaction json - encoding. (MR :gl:`!7941`) - -- Update gas model for decoding output proofs. (MR :gl:`!7116`) - -- Improve readability of ``assert_commitment_not_too_far_ahead``. - (MR :gl:`!7231`) - -- Improve readability of ``assert_commitment_is_not_past_curfew``. - (MR :gl:`!7230`) - -- Remove dead code: legacy Internal for Tests signatures (MR :gl:`!7234`) - -- Prefer hex over b58check to encode filenames. (MR :gl:`!7181`) - -- Code quality improvements. (MR :gl:`!7287`) - -- Fix error raised when no commitment can be cemented. (MR :gl:`!7286`) - -- Use ``Ticket_transfer`` module in ``sc_rollup_operations``. (MR :gl:`!7438`) - -- Refactor WASM PVM to enable breaking changes such as new host functions and - parameterization of maximum call depth. (MRs :gl:`!7724`, :gl:`!7726`) - -- A new kind of internal message informs kernels when a protocol upgrade occurs. - The ``Protocol_migration`` message is injected by the economic protocol during - a protocol migration. (MR :gl:`!7729`) - -- Existing smart rollups can benefit from new protocol improvements. The WASM PVM - checks if it needs to upgrade to a new revision when it receives a ``Protocol_migration`` - message. (MR :gl:`!7730`) - -- Remove the failsafe mechanism in inbox construction, aimed at errors that can - never happen at begin application, block finalization, and migration. (MR :gl:`!7833`) - -- The field ``commitment`` in the operation ``Sc_rollup_cement`` is now deprecated. - The protocol computes the valid candidate commitment to cement, and cements it. - The provided ``commitment`` is omitted by the protocol and unchecked with the - found one. (MR :gl:`!7316`) - -- Publishing twice the same commitment is no longer allowed. (MR :gl:`!8269`) - Zero Knowledge Rollups (ongoing) -------------------------------- -Rollups supporting cryptographic proofs of correct execution. (MRs :gl:`!7342`) - Data Availability Layer (ongoing) --------------------------------- -Distribution of rollup operations data off-chain. (MRs :gl:`!7074`, :gl:`!7102`, -:gl:`!7103`, :gl:`!7140`, :gl:`!7182`, :gl:`!7192`, :gl:`!7242`, :gl:`!7315`, -:gl:`!7407`, :gl:`!7566`, :gl:`!7606`, :gl:`!7541`, :gl:`!7779`) - -Distribution of rollups data through reveal data channel. (MRs :gl:`!7571`) - Gas improvements ---------------- -Gas for signature checking of manager operations is made much more -precise. It is now only consumed when a signature is actually checked -(never for internal operations and only once per operation batch) and -it depends on both the signature scheme and the length of the signed -operation. This change leads to important reductions in the gas cost -of manager operations and to considerable increase in transaction -throughput. (MR :gl:`!7591`) - Breaking Changes ---------------- -Some manager operations such as revelations of public keys used to -have constant gas costs. Due to the gas improvements of MR -:gl:`!7591`), their gas cost now depends on the signature scheme and -the length of the operation. For some schemes, the gas cost may even -be larger than in previous protocol versions. In particular, revealing -the public key of an implicit account consumed 1000 gas units -previously, it now has the following gas costs depending on the -signature scheme: - -================ ============================ -Signature scheme Gas cost of reveal operation -================ ============================ -ed25519 (tz1) 166 gas units -secp256k1 (tz2) 152 gas units -p256 (tz3) 1091 gas units -bls (tz4) 1671 gas units -================ ============================ - -- The operation's result ``Sc_rollup_cement_result`` now have a new field - ``commitment``, which is the commitment cemented by the application of - the operation ``Sc_rollup_cement``. (MR :gl:`!7316`) - RPC Changes ----------- -- Add ``GET /helpers/attestation_rights`` that returns the attestation power for - delegates, replacing ``GET /helpers/endorsing_rights``, which is now - deprecated (MR :gl:`!8096`) - -- Deprecate ``endorsing_rights`` in favour of ``attestation_rights``. (MR - :gl:`!8096`) - - Split duplicated argument ``pkh`` in RPC ``smart_rollups/smart_rollup/
/staker1/