Closed krlosMata closed 3 years ago
Since we insert accumulatedHash
in the state tree, it is no longer necessary to add L1 data-availability in the call data on the smart contract.
We could remove it from the hashInputs
as well
Track circuits:
implemented in https://github.com/hermeznetwork/circuits/pull/45
Please, check new specification in the following link
Summary
exitBalance
&accumulateHash
in state-treeOverview changes
hash-state.circom
: add new fields into the statebalance-updater.circom
: add computingexitBalance
hash-inputs.circom
: delete exit treerollup-tx.circom
: remove all logic exit-tree. Add logic to computeaccumulatedHash
(it could be done in a separate circuit)rollup-main.circom
: remove unnecessary fields not used related to exit-tree. add new state fields for computiing sender and receiver stateshash-inputs.circom
: remove exitHash