Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature: data avaliability #178

Open
noel2004 opened this issue Sep 7, 2021 · 1 comment
Open

feature: data avaliability #178

noel2004 opened this issue Sep 7, 2021 · 1 comment

Comments

@noel2004
Copy link
Member

noel2004 commented Sep 7, 2021

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
@0xmountaintop
Copy link
Member

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

I think it should be placed in https://github.com/fluidex/fluidex.js

@noel2004 noel2004 mentioned this issue Sep 18, 2021
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants