mirror of
https://github.com/arnaucube/hermez-node.git
synced 2026-02-07 03:16:45 +01:00
Add HashGlobalInputs for ZKInputs
Add HashGlobalInputs for ZKInputs compatible with js & circom circuits version.
Compatible with hermeznetwork/commonjs at version: c6a1448db5bae4cda839ce36c1f35d8defccc9cd
(c6a1448db5)
This commit is contained in:
@@ -90,11 +90,11 @@ PoolExit(1) A: 3 (1)
|
||||
tc := til.NewContext(eth.RollupConstMaxL1UserTx)
|
||||
|
||||
// generate Blockchain blocks data from the common.SetBlockcahin0 instructions set
|
||||
blocks, err = tc.GenerateBlocks(common.SetBlockchain0)
|
||||
blocks, err = tc.GenerateBlocks(common.SetBlockchainMinimumFlow0)
|
||||
assert.Nil(t, err)
|
||||
|
||||
// generate PoolL2 transactions data from the common.SetPool0 instructions set
|
||||
poolL2Txs, err = tc.GenerateBlocks(common.SetPool0)
|
||||
poolL2Txs, err = tc.GeneratePoolL2Txs(common.SetPoolL2MinimumFlow0)
|
||||
assert.Nil(t, err)
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user