Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
  • Sign in / Register
  • tezos tezos
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 1,304
    • Issues 1,304
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 184
    • Merge requests 184
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • TezosTezos
  • tezostezos
  • Merge requests
  • !3921

Draft: Tx_rollup: Implement the base semantics of the layer-2

  • Review changes

  • Download
  • Email patches
  • Plain diff
Closed Thomas Letan requested to merge tx_rollup@l2-operations into tx_rollup@l1-inbox Nov 24, 2021
  • Overview 350
  • Commits 17
  • Pipelines 87
  • Changes 116

Context

This is the Merge Request #2.B (see the related document for more information).

The goal is to add the L2 implementation that will be needed by the rejection operation.

Changes with oru@main:

  • There is no more “full” and “compressed” versions of the L2 operations
    • The true focus of this MR is to implement a correct apply function, wrt. available features and safety.
    • If a compressed version can be correctly signed at a given point, but incorrectly signed later (e.g., it is possible because the counter is not included in the compressed version of the operation), it is possible to discard a complete batch with a single operation. Indeed, with aggregated BLS signatures, it is not possible to know which operation is wrongly signed, so one need to discard the whole batch.
  • The notion of “atomic transaction” (made of several operations) is implemented.
  • Note that we have shown that this new implementation of the apply function is compatible with traced_storage. If necessary, the related commit can be added to the MR.

A second MR is expected to focus on improve the theoretical throughput of transaction rollup by finding the best compromise between proof size and operation size.

Manually testing the MR

cd src/proto_alpha/lib_protocol/test && dune exec ./main.exe -- test "^tx rollup$"; cd -

Checklist

  • Document the interface of any function added or modified (see the coding guidelines)
  • Document any change to the user interface, including configuration parameters (see node configuration)
  • Provide automatic testing (see the testing guide).
  • For new features and bug fixes, add an item in the appropriate changelog (docs/protocols/alpha.rst for the protocol and the environment, the Development Version section of CHANGES.md for everything else).
  • Select suitable reviewers using the Reviewers field below.
  • Select as Assignee the next person who should take action on that MR
Edited Jan 28, 2022 by Thomas Letan
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: tx_rollup@l2-operations