arnaucube
e98b511436
Update tx testing generation:
Update tx testing generation:
- add new batch lexic to tx-test language
- add coordinatorL1Txs generation to tx-test
- add SetTest0 code to generate test L1&L2 transactions
4 years ago
a_bennassar
87a74c471a
Merge pull request #75 from hermeznetwork/feature/exit-tree
Add statedb ExitTree implementation
4 years ago
arnaucube
0d2004721c
Add statedb ExitTree implementation
4 years ago
a_bennassar
88906beabe
Merge pull request #74 from hermeznetwork/feature/statedb-processtxs
Add abstraction method of processTxs to StateDB
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
a_bennassar
118ebf70b7
Merge pull request #73 from hermeznetwork/feature/ethclient0
Import & adapt iden/go-iden3-core/eth/client
4 years ago
arnaucube
b33d18ff55
Import & adapt iden/go-iden3-core/eth/client
4 years ago
a_bennassar
c2bbca4af3
Merge pull request #72 from hermeznetwork/feature/pooll2tx-sig
Add PoolL2Tx verify signature needed methods
4 years ago
arnaucube
7fa658cc84
Add PoolL2Tx verify signature needed methods
Implements the hash to be signed from PoolL2Tx, compatible with javascript version.
Implements the signature verification for a given PoolL2Tx.
4 years ago
a_bennassar
869ab519a4
Merge pull request #69 from hermeznetwork/feature/txcompresseddata
Add TxCompressedData & V2 with some extra parsers for common
4 years ago
arnaucube
a28c81f4ae
Add TxCompressedData & V2 with some extra parsers for common
4 years ago
a_bennassar
3f63cd7cd0
Merge pull request #66 from hermeznetwork/feature/statedb-cu
Unify StateDB MT{Create/Update}Account
4 years ago
arnaucube
12aa31e46b
Unify StateDB MT{Create/Update}Account
Previously as the txprocessor.go methods were specific for the BatchBuilder,
the MTCreateAccount & CreateAccount and MTUpdateAccount & UpdateAccount were
also designed to be used by BatchBuilder and TxSelector depending on the
MerkleTree usage calling one kind of method or anotherone.
But now that this methods are being called directly by the StateDB (through the
methods in txprocessors.go), to allow also the methods usage from the
Synchronizer, there can not be the MT and no-MT methods separated, so this
commit unifies MTCreateAccount with CreateAccount, and MTUpdateAccount with
UpdateAccount, which internally will update the MerkleTree depending if the
specific StateDB in usage has the MerkleTree defined or not.
4 years ago
a_bennassar
82d5aae745
Merge pull request #64 from hermeznetwork/feature/testing-framework
Feature/testing framework language
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
8eb42c011c
Add tx L1&L2 test generation & keys for TestingFramework
Add test-lang Fee & ForceExit option
4 years ago
arnaucube
e2d4599690
Add tx generation lang interpreter
4 years ago
a_bennassar
6c0c528b17
Merge pull request #61 from hermeznetwork/feature/log
Add log system
4 years ago
arnaucube
fab3b865bb
Add log system
4 years ago
arnau
5d4840ce5c
Merge pull request #59 from hermeznetwork/feature/sql-tables4
Update SQL schemas
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
a_bennassar
bf1a648091
Merge pull request #57 from hermeznetwork/feature/statedb-checkpoints
Feature/statedb checkpoints
4 years ago
arnaucube
aa003063f6
Update BatchBuilder & TxSelector to new StateDB
4 years ago
arnaucube
205db8e4d3
Implement StateDB Checkpoints & Resets system
4 years ago
Toni Ramírez
db927ddd24
Add utils Float16-BigInt converters
* 16 bits fix encoding
* Types modification
* Rounding loss check
* Clean up a bit and add benchmarks
Unneded usage of big.Int has been removed
Conversion methods are now methods/constructors of Float16 to make the code
more idiomatic.
Co-authored-by: Toni Ramírez <toni@iden3.com>
Co-authored-by: arnaucube <root@arnaucube.com>
Co-authored-by: Eduard S <eduard@iden3.io>
4 years ago
Eduard S
58cf35f6ea
Merge pull request #52 from hermeznetwork/feature/init-coordinator
Initial Coordinator (OpManager) structure
4 years ago
arnaucube
8390e4a784
Add initial structure Coordinator Forge Sequence
4 years ago
arnau
378b7be47d
Merge pull request #53 from hermeznetwork/feature/updategha
Remove goarch 386 and go-version 1.13 from GHA
4 years ago
Eduard S
2e5ac8cfb6
Remove goarch 386 and go-version 1.13 from GHA
4 years ago
arnaucube
a1c339c918
Add BatchQueue implementation & minor updates
4 years ago
a_bennassar
9df30affc6
Merge pull request #50 from hermeznetwork/feature/txselector-int-statedb
Integrate TxSelector with StateDB
4 years ago
arnaucube
60fa76b4d2
Integrate TxSelector with StateDB
4 years ago
Eduard S
b28b13d620
Merge pull request #44 from hermeznetwork/feature/batchbuilder-integratedb
Feature/batchbuilder integratedb
4 years ago
arnaucube
350bac631e
Integrate BatchBuilder with StateDB
4 years ago
a_bennassar
428dcd7590
create sql tables ( #40 )
Co-authored-by: Eduard S <eduard@iden3.io>
4 years ago
a_bennassar
1313a5aabd
Merge pull request #38 from hermeznetwork/feature/statedb
Add StateDB & LocalStateDB
4 years ago
arnau
edb8974a5a
Apply fix method description typos
Co-authored-by: Eduard S. <eduard@iden3.io>
4 years ago
arnaucube
d8cb7298e0
Add StateDB & LocalStateDB
4 years ago
Eduard S
4bff96859c
Merge pull request #31 from hermeznetwork/feature/batchbuilder-init
Feature/batchbuilder init
4 years ago
arnau
2109d9f1cf
Apply suggestions from code review
Co-authored-by: Eduard S. <eduard@iden3.io>
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
arnaucube
dd1901709c
Add common/Leaf struct & parsers (bigint & byte arrays)
4 years ago
a_bennassar
dbbc3098e7
Merge pull request #27 from hermeznetwork/feature/common-leaf
Add common/Leaf struct & parsers (bigint & byte arrays)
4 years ago
arnaucube
59644c3435
Add common/Leaf struct & parsers (bigint & byte arrays)
4 years ago
Eduard S
2f93848292
Merge pull request #26 from hermeznetwork/feature/register-common-update
Update to follow DB spec
4 years ago
a_bennassar
638defd031
Update to follow DB spec
4 years ago