Our recent goal is to run a 300tps rollup test on testnet ( for 1 hour? ), including matching engine, witness generation, proving, contract verification.
here I list some must-to-do for this goal:
- design bitwise tx encoding mechanism to save space and gas
- sha the inputs and make all other circuit input private. Only the hash in public input.
- rewrite global state manager in rust.
- implement parallel merkle tree update
- we may even need to use poseidon ( seems faster than rescue for offline cpu calculation?)
Better to do:
- Reuse order tree slot
- Encode big int, signficand + exponent
Depedency of other repo:
- prover cluster
- matchengine can generate rollup event
For all things above, we can support 'SpotTrade' first. Implement 'Withdraw/DepositToNew' etc later.
Our recent goal is to run a 300tps rollup test on testnet ( for 1 hour? ), including matching engine, witness generation, proving, contract verification.
here I list some must-to-do for this goal:
Better to do:
Depedency of other repo:
For all things above, we can support 'SpotTrade' first. Implement 'Withdraw/DepositToNew' etc later.