You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 20, 2024. It is now read-only.
Perform a hash of all possible state batch variables into a single value hashBatch. This will allow to save data on-chain and reduces the gas cost of the forgeBatch function.
The trade-off is that the entire bash state has to be submitted to the forgeBatch function call.
Note that this apply every time that anydata has to be checked against stateRoot or exitRoot. For example in withdraw functions and further massive migrations implementations.
Hash batch
Perform a hash of all possible state batch variables into a single value
hashBatch
. This will allow to save data on-chain and reduces the gas cost of theforgeBatch
function.The trade-off is that the entire bash state has to be submitted to the
forgeBatch
function call.Specifciation
txData
: All data availabilitywithrdawalMerkleProof
&withrdawalCircuit
stateRoot
,exitRoot
&hashTxData
as parameters to computehashBatch
to be checked against the mappingThe text was updated successfully, but these errors were encountered: