fluidex / circuits

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

Update integration test case #186

Closed silathdiir closed 2 years ago

silathdiir commented 2 years ago

Update the integration test case according to rollup PR https://github.com/fluidex/rollup-state-manager/pull/203

  1. I just harcoded the signature of Withdraw. It seems that it could be calculated by fluidex.js (also for test file get_l2_block_by_id.ts of rollup_state_manager).
  2. Output newroot of the second block has a little different with the one of rollup (a odd 0 after 0x).
    // this integration test
    0xcf9708094c494c668f6943ab4cfba04882d2b25303244e6ae6f14931a0c008c
    // rollup
    0x0cf9708094c494c668f6943ab4cfba04882d2b25303244e6ae6f14931a0c008c