arnaucube
0ff3fb5ae7
ProcessTxs return an array of created accounts
4 years ago
arnaucube
8f24aa93c9
Add ProcessTxs send fees to Coordinator accounts
4 years ago
Eduard S
88ddbbcddc
Delete tmp folders from tests, Resolve #105
4 years ago
Eduard S
0277210c39
Extend ethclient test, implement new TxID spec
- Implement new TxID spec that distinguishes L1UserTx and L1CoordinatorTx
- Replace some type []*Foo by []Foo
- Fix HistoryDB & L2DB bug: in case of error, a rollback was applied and the returned error was nil
- Reorder inserts in historydb.NewHistoryDB() to follow foreign key dependencies
- Add initial synchronizer test with test.Client (for now, only tested l1UserTxs, blocks, addToken)
- Update L1UserTx event in test.Client
4 years ago
arnaucube
3374a4754d
Add StateDB compute nonces on ProcessTx L2Tx
Add StateDB compute nonces on ProcessTx L2Tx, and update StateDB for
type TypeSynchronizer, TypeTxSelector, TypeBatchBuilder
4 years ago
arnaucube
aa0bde61d2
Add StateDB ZKInputs generation for L1 & L2 Txs
4 years ago
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
4 years ago
arnaucube
0d2004721c
Add statedb ExitTree implementation
4 years ago
arnaucube
b4044a2ef7
Add abstraction method of processTxs to StateDB
- Update GHA lint.yml increasing timeout time to avoid GHA Lint errors
- Update common.BatchNum & common.Idx & common.Nonce usage in StateDB
- Add abstraction method of processTxs to StateDB
- Which will be used by Synchronizer & BatchBuilder
4 years ago
arnaucube
cfa441e1ac
Migrate TxProcessors from BatchBuilder to StateDB
Migrate TxProcessors from BatchBuilder to StateDB in order to be used by
BatchBuilder & Synchronizer
4 years ago
arnaucube
c702442287
Update Coordinator & BatchBuilder & TxSelector to new SQL schemas changes
4 years ago
a_bennassar
cb1b820256
Update SQL schemas
4 years ago
arnaucube
aa003063f6
Update BatchBuilder & TxSelector to new StateDB
4 years ago
arnaucube
8390e4a784
Add initial structure Coordinator Forge Sequence
4 years ago
arnaucube
a1c339c918
Add BatchQueue implementation & minor updates
4 years ago
arnaucube
60fa76b4d2
Integrate TxSelector with StateDB
4 years ago
arnaucube
350bac631e
Integrate BatchBuilder with StateDB
4 years ago
arnaucube
d8cb7298e0
Add StateDB & LocalStateDB
4 years ago
arnaucube
16555b51e3
Update Leaf to new spec (Sign+Ay)
4 years ago
arnaucube
bcd9f96e1b
Add batchbuilder applyCreateLeaf, applyDeposit, applyTransfer
4 years ago
arnaucube
37cefb0057
Add common> Idx parsers
4 years ago
arnaucube
f3cfba1bbe
Add initial structure of BatchBuilder
4 years ago