arnaucube
7f46c3028e
Add tests connecting TxSelector, BatchBuilder, ZKInputs, ProofServer
...
- Add tests connecting TxSelector, BatchBuilder, ZKInputs, ProofServer
- Added test to check that the signatures of the PoolL2Txs from the L2DB
pool can be verified, to check that the parameters of the PoolL2Tx match
the original parameters signed before inserting them into the L2DB
2021-01-18 17:52:14 +01:00
arnaucube
0cf1ed217b
Abstract TxProcessor from StateDB
...
- Abstract TxProcessor from StateDB
- Upgrade to last version of go-merkletree for the key-value DB usage
2020-12-29 11:14:38 +01:00
Eduard S
2205fcadbc
Delete old checkpoints in stateDB automatically
...
Introduce a constructor parameter for the StateDB called `keep`, which tells
how many checkpoints to keep. When doing a new checkpoint, if the number of
existing checkpoints exeeds `keep`, the oldest ones will be deleted.
2020-12-24 13:35:47 +01:00
arnaucube
150597c282
Parametrize ChainID
2020-12-23 15:23:48 +01:00
Eduard S
88ddbbcddc
Delete tmp folders from tests, Resolve #105
2020-10-20 13:13:10 +02:00
arnaucube
3374a4754d
Add StateDB compute nonces on ProcessTx L2Tx
...
Add StateDB compute nonces on ProcessTx L2Tx, and update StateDB for
type TypeSynchronizer, TypeTxSelector, TypeBatchBuilder
2020-10-02 11:54:58 +02:00
arnaucube
26dbb16618
Add Coordinator goroutines & channels processes
...
Add Coordinator goroutines & channels processes
- Add Coordinator goroutines & channels
- Add Coordinator test to debug batches
- Add MakeCheckpoint call after BatchBuilder BuildBatch process
- Update ethClient BlockByNumber to return hermez/common.Block instead of go-ethereum/core/types.Block
2020-08-27 10:56:08 +02:00
arnaucube
aa003063f6
Update BatchBuilder & TxSelector to new StateDB
2020-08-17 13:38:48 +02:00
arnaucube
60fa76b4d2
Integrate TxSelector with StateDB
2020-08-13 13:07:30 +02:00
arnaucube
350bac631e
Integrate BatchBuilder with StateDB
2020-08-11 16:44:51 +02:00
arnaucube
bcd9f96e1b
Add batchbuilder applyCreateLeaf, applyDeposit, applyTransfer
2020-08-05 15:31:27 +02:00
arnaucube
f3cfba1bbe
Add initial structure of BatchBuilder
2020-08-05 15:22:51 +02:00