shrmtv
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    # Draft Abstracts for Protocol L Preview post ## SCORU + WASM PVM enabled <span style="color:red">**Status of the feature flag? OFF** </span> Smart-Contract Optimistic Rollups (SCORU) have been released under a disabled feature flag as part of the Kathmandu protocol. SCORU generalizes Transactional Optimistic Rollups (TORU) to allow for arbitrary computations running in Proof-generating Virtual Machines (PVMs). Even though the SCORU architecture is generic with respect to the actual definitions of the PVM, a specific PVM implementation, supporting the WebAssembly (WASM) language, is included in Protocol Lima: as a consequence, a user can originate a rollup by providing a WASM program -- called a kernel -- to interpret any L2 operations targetting the rollup. These L2 operations may contain tickets to transfer assets from L1 accounts to rollups. A kernel may also produce asynchronous transfers of tickets from the rollup to L1 contracts. A mechanism of data revelation is introduced in Lima: it allows data from sources external to the L1 to be imported in a rollup. Anyone can write a WASM kernel. An example of kernel is available [online](http://www.gitlab.com/trili/kernel). This kernel reimplements the functionality of TORUs, that is, transactions between accounts inside the kernel. Because the WASM PVM is still in a *Beta* state, please note that the SCORU subsystem is still *disabled* on MainNet. However, SCORU is *enabled* on MondayNet: we encourage the ecosystem to start building WASM kernels and to give us feedback about its usability. ## Pipelining 2 <span style="color:red">**TODO: GAD/VB update wrt to merged changes** </span> Pipelining (part 2) continues to dissociate the validity from the applicability of operations and blocks in order to speed up their processing; i.e. verifying that a block or an operation is valid, which is a light operation, means that it cannot go wrong anymore and does not require a further application to proceed. This goes further as the baker daemon will not need to apply blocks anymore to produce blocks: it will now simply retrieve a commutable set of *valid* operations from the node and order those as it chooses to instantly produce a valid block that has the guarantee to be applicable. Effectively, this will half the time of block production as only the node will apply the block. However, the node will only check that the block is valid before advertising it, which is significantly faster than waiting for it to be applied. Thus, blocks will only take up to a few milliseconds to be produced and broadcast rather than a few seconds and the validation of blocks will be pipelined next. This will enable us to reduce block times furthermore in the near future. We also introduce concurrent bricks in the protocol that will allow us to move from an incremental mempool to a parallel one while ensuring the previously mentioned guarantees. ## Consensus Key <span style="color:red">**Status?** </span> We allow bakers to designate a key to sign baking, endorsement and preendorsement operations, together known as consensus operations, instead of using their default key. This allows for better separation of concerns and periodic rotation of the consensus key without the need for re-delegation. - Resources: - Post by Nicolas Ochem: https://midl-dev.medium.com/a-consensus-key-for-tezos-bakers-16a3ac8178cf ## Improvements to Tickets <span style="color:red">**Status?** NB: this para summs up three different _small_ projects: </span> We are deprecating creation, storage and transfer of zero-valued tickets, that is tickets which hold 0 tokens. In doing so, we introduced a breaking change in the `TICKET` instruction. Now this instruction pushes a ticket wrapped in `option` so that a `Some` value indicates a ticket constructed successfully, and a `None` indicates that ticket creation failed, and having zero amount is a plausible cause. In addition, we now enable the transfer of tickets to implicit accounts via the existing transaction facility. By following a format when specifying the ticket type and content in the transaction parameters, contracts and implicit accounts may send one type of ticket to other implicit accounts. Furthermore, we added ticket ownership updates to the transaction receipts. This enables indexers to maintain a table that tracks which accounts own what types of tickets by traversing the receipts. For L, we will only include this information for ticket minting/removal within a single contract and transfers between originated contracts. In upcoming upgrades, we will cover all combinations of transactions between implicit accounts, originated accounts, and rollups -- TORU and SCORUs. You can find the design document [here](https://hackmd.io/@marigold-dev/SyLXJQcJs). <span style="color:red">**TODO**: links to documentation or design documents might help! </span> - Resources: - Marigold blog post on Tickets w/ zero amounts: https://www.marigold.dev/post/remove-support-for-tickets-with-zero-amount ## LB sunset removed <span style="color:red">**Status**? </span> The liquidity baking sunset will be removed since the subsidy can now be shut off with the moving-average toggle introduced with Jakarta. <span style="color:red">**Status**? </span> ## Timelock Temporary Deprecation <span style="color:red">**TODO: Frej/MS/GAD** </span> ## Improved gas accounting for metadata <span style="color:red">**TODO: BC/FS/GAD** </span> ## SNARK Rollups technology preview on testnets A technology preview of Tezos' enshrined SNARK Rollup, is available on testnets. This preview exposes in the Tezos' economic protocol an API which can host a large class of SNARK Rollups and the first instance to be originated on testnets will be a simple transactional rollup for tickets that we estimate can reach ~2000 tps. This form of rollup allows for instant finality thanks to their SNARK proof-of-validity, as opposed to the proof-of-fraud of Optimistic Rollups. Furthermore data-availability becomes optional allowing for application to keep their state and transactions private with respect to the L1. Our proving system is still evolving its proof aggregation capability and promises large scaling improvements for the next version that will be included in M. New rollups are also in the works to provide even faster transactions and more complex applications. ## Bigmap and tree optimisation The local context introduced for protocol storage allows relative access. The performance of the process of deleting implicit contracts is improved. Gas consumed remain the same. ## New Michelson operations for bytes We are planning to extend Michelson opcodes `AND`, `OR`, `XOR`, `NOT`, `LSL` and `LSR` to support logial operations on `bytes`. Their semantics are pretty similar to those on `nat`. ## Fixing up Ghostnet <span style="color:red">**TODO: PirBo/GAD** </span> On Ghostnet test network, 2 problems arose during the migration from Jakarta to Kathmandu that we fix: - the VDF feature activated itself with the same difficulty as on Mainnet but cycles are 4 time shorter! So there is no possibility to find a solution to the challenge within the allocated time window. For this reason the difficulty of the VDF challenge on Ghostnet is changed to become mainnet_difficulty/4. - The duration of a voting period changed from being 2 cycles long to be 1 cycle long but the changed occured at a critical moment: the end of a odd cycle aka a point in time which was not a voting period end with the Jakarta parameters but is with the Kathmandu one! Given the order in which the economic protocol updates things, that led to not changing the voting period but underflowing the "number of remaining blocks in the period". Now that we reached a "negative number of remaining block until the end of the voting period". Ghostnet will not switch to a new period by itself. That's why a "manual/force reset of the voting period" is sheduled for the migration on Ghostnet From Kathmandu. ## Assorted Breaking changes - Protocol constant `tokens_per_roll` has been renamed to `minimal_stake`: the concept of rolls has been removed with Ithaca (for consensus rights) and Jakarta (for governance stake). - `TICKET` instructions now have a different typing, returning an `option ticket cty` instead of simply `ticket cty`. Contracts already originated continue to work as their old `TICKET` instructions are migrated to `TICKET_DEPRECATED`. `TICKET_DEPRECATED` cannot be used in newly originated contracts. <span style="color:red">**Please list others!** </span>

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully