Skip to content

meta issue: towards 300 tps #133

Description

@lispc

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:

  1. design bitwise tx encoding mechanism to save space and gas
  2. sha the inputs and make all other circuit input private. Only the hash in public input.
  3. rewrite global state manager in rust.
  4. implement parallel merkle tree update
  5. we may even need to use poseidon ( seems faster than rescue for offline cpu calculation?)

Better to do:

  1. Reuse order tree slot
  2. Encode big int, signficand + exponent

Depedency of other repo:

  1. prover cluster
  2. matchengine can generate rollup event

For all things above, we can support 'SpotTrade' first. Implement 'Withdraw/DepositToNew' etc later.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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