fluidex / circuits

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

exclude L1 address from account state #185

Closed noel2004 closed 2 years ago

noel2004 commented 2 years ago

This work dedicate for the plan in rollup-state-manager. It has removed ethAddr from account state and every code being related to. The number and indexes for encoded TX has been changed.

Besides the PR also update all unittest cases.

noel2004 commented 2 years ago

The integration test in rollup-state-manager assert hardcoded merkle roots. We think it is more solid to compute them from the ts code instead of simply play the rollup manager instance and write down a new value.

A simple script test/integration_test_cases.ts just print out the roots we should hardcode inside integration test has been provided.