fluidex / circuits

GNU Affero General Public License v3.0
10 stars 5 forks source link

feature: merge PlaceOrder and SpotTrade; fix #145 #152

Closed lispc closed 3 years ago

lispc commented 3 years ago

This is a very big commit...

  1. merge PlaceOrder with SpotTrade. So we no longer need a separate PlaceOrder L2 tx. It is very helpful for the real tps.
  2. 104 and #105 code complete. I will write tests later.

TODOs for circuits:

  1. reuse UniversalChecker for Transfer / Withdraw / SpotTrade
  2. test #104 and #105
  3. fix related Rust code
  4. fix test/massive.ts