Skip to content

feature: data avaliability #178

@noel2004

Description

@noel2004

With data avaliability being induced into circuit. Updates are also needed for rollup manager because:

  • we need to calculate the hash of encoded tx data as public input
  • we need to put tx data inside the on-chain rollup tx

We have to finish following jobs:

  • Porting encoding tools from its js proto. I guess the code should be put into common-rs project so we can get encoded txdata from L2 block data on-the-flight
  • When forging blocks, encode the txdata for DA and calculate the sha256 hashs, put the result as part of input object
  • When building on-chain rollup tx, encode txdata and put them as parameters

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions