Closed noel2004 closed 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.
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.