Commit history
a
Merge pull request #547 from hermeznetwork/fix/coordtimers
Fix timers resetting in coordinator loops
e237698arnau committed on Feb 16, 2021
a
Merge pull request #541 from hermeznetwork/feature/update-txman5
Feature/update txman5
a21793barnau committed on Feb 16, 2021
a
Merge pull request #544 from hermeznetwork/feature/document2
Document how to build node
26fbeb5arnau committed on Feb 15, 2021
a
Merge pull request #543 from hermeznetwork/feature/semaphore2
Replace github.com/marusama/semaphore by golang.org/x/sync
53507edarnau committed on Feb 15, 2021
E
Merge pull request #540 from hermeznetwork/feature/float40upgrade
Feature/float40upgrade
1c10a01Eduard S committed on Feb 15, 2021
a
Merge pull request #538 from hermeznetwork/fix/txselTransferToBJJ
Fix txselector TransferToBJJ behaviour
ea63cbaarnau committed on Feb 12, 2021
E
Merge pull request #536 from hermeznetwork/feature/sql-semaphore
Add semaphore for API queries to SQL
2a77dacEduard S committed on Feb 10, 2021
a
Merge pull request #537 from hermeznetwork/fix/l2dbreorg
Fix l2db reorg of forging l2txs
1bf2963arnau committed on Feb 10, 2021
a
Merge pull request #535 from hermeznetwork/fix/sync
Fix synchronizer, add verifier index config param
277a1bcarnau committed on Feb 8, 2021
a
Merge pull request #534 from hermeznetwork/fix/statedb2
Pass StateDB constructor parameters as Config type
62df063arnau committed on Feb 8, 2021
a
Merge pull request #532 from hermeznetwork/fix/statedb1
Fix eth events query and sync inconsistent state
10a34c8arnau committed on Feb 8, 2021
E
Merge pull request #530 from hermeznetwork/feature/exitfee0
Update ZKInputs to incl Accumulated Fees of val 0
56d05ceEduard S committed on Feb 5, 2021
a
Merge pull request #526 from hermeznetwork/feature/robuststatedb2
Add Last db view in kvdb and statedb
d62800barnau committed on Feb 4, 2021
a
Merge pull request #523 from hermeznetwork/feature/pooll2tx-info
Add PoolL2Tx.Info about the status of the tx
ca7fa8aa_bennassar committed on Feb 3, 2021
E
Merge pull request #524 from hermeznetwork/feature/swapProofB
Swap proof b vector
0d34126Eduard S committed on Feb 3, 2021
a
Merge pull request #521 from hermeznetwork/feature/robuststatedb
Improve stateDB reliability
7ce60f0arnau committed on Feb 3, 2021
E
Merge pull request #520 from hermeznetwork/feature/txid-keccak256
Update TxID to use eth Keccak256
510d5c5Eduard S committed on Feb 1, 2021
A
Merge pull request #518 from hermeznetwork/fix/api-recommended-fee
Fix api resopnse format for recommended fee
cea3af4Alberto Elias committed on Feb 1, 2021
a
Merge pull request #517 from hermeznetwork/feature/priceserrwarn
Update README
f0886b3arnau committed on Feb 1, 2021
a
Merge pull request #516 from hermeznetwork/feature/priceserrwarn
Use Warn instead of Error on get prices error
7559991arnau committed on Feb 1, 2021
a
Merge pull request #515 from hermeznetwork/feature/updatecontracts
Update contracts and get verifiersLen from SC
c396820arnau committed on Feb 1, 2021
a
Merge pull request #513 from hermeznetwork/test/idx
Fix incorrect initial CurrentIdx in kvdb
8cc23b9arnau committed on Jan 29, 2021
E
Merge pull request #504 from hermeznetwork/feature/txsel-checkenoughbalance
Check enough funds on sender at TxSelector and don't include the tx in the selection
bc831afEduard S committed on Jan 29, 2021
E
Merge pull request #507 from hermeznetwork/feature/txid-fixcollisions
Feature/txid fixcollisions
30973aaEduard S committed on Jan 29, 2021
P
Merge pull request #496 from hermeznetwork/feature/integration
run integration on push to master
f3678e8Pedro Sousa Grilo committed on Jan 22, 2021
a
Merge pull request #500 from hermeznetwork/fix/exitnonces1
Fix exit tree nonces
733ffb6arnau committed on Jan 22, 2021
a
Merge pull request #498 from hermeznetwork/feature/update-txman
Update coordinator to work better under real net
3801d0barnau committed on Jan 20, 2021
E
Merge pull request #499 from hermeznetwork/feature/fixexitinfos
Feature/fixexitinfos
eaca2f4Eduard S committed on Jan 20, 2021
E
Merge pull request #495 from hermeznetwork/fix/coord-fees-duplicated
Fix CoordIdxs fees duplicated
79b73ceEduard S committed on Jan 19, 2021
E
Merge pull request #486 from hermeznetwork/fix/api-hardcoded-bootcoordinator
Stop using hardcoded bootcoordinator in api
1ac2d78Eduard S committed on Jan 18, 2021
E
Merge pull request #489 from hermeznetwork/feature/test-flow-txsel-batchbuild-zkinputs
Add test connecting TxSelector, BatchBuilder, ZKInputs, ProofServer
9ce4dd9Eduard S committed on Jan 18, 2021
a
Merge pull request #490 from hermeznetwork/feature/pooleffectiveto
In pool l2tx, store effective in aux column
1633a88a_bennassar committed on Jan 18, 2021
E
Merge pull request #484 from hermeznetwork/feature/proofservertest-zki6
Add ZKInputs test to use ProofServer
8f6b081Eduard S committed on Jan 14, 2021
E
Merge pull request #481 from hermeznetwork/feature/set-idx-new-accounts
Add idx for txs that create account
ca6a4a6Eduard S committed on Jan 14, 2021
a
Merge pull request #482 from hermeznetwork/feature/document
Document that /tmp should be mounted as tmpfs
84eff53arnau committed on Jan 13, 2021
a
Merge pull request #480 from hermeznetwork/feature/testrealprover
Fix ChainID in zkInputs empty TxCmpData
6651df1arnau committed on Jan 13, 2021
E
Merge pull request #479 from hermeznetwork/feature/log-outputs
Add opt to disable print logs but storing to file
5becadfEduard S committed on Jan 12, 2021
a
Merge pull request #478 from hermeznetwork/feature/api-bid-big-int
Remove big.Int from state API
1550b69a_bennassar committed on Jan 12, 2021
a
Merge pull request #476 from hermeznetwork/feature/api-big-ints-removal
Remove bigints from API
a5643c1a_bennassar committed on Jan 12, 2021
E
Merge pull request #475 from hermeznetwork/feature/zki-batchnum
Add ZKI tests Til last batches MinimumFlow0 &other
dade770Eduard S committed on Jan 12, 2021
a
Merge pull request #474 from hermeznetwork/fix/coordinatorl1batch
Fix forging L1Batch too early
48ec769arnau committed on Jan 12, 2021
a
Merge pull request #473 from hermeznetwork/feature/buckets-update
Update buckets withdrawals on API
65a1057a_bennassar committed on Jan 11, 2021
E
Merge pull request #471 from hermeznetwork/feature/zki6-comp
ZKInput with L2Txs compatible with circom circuits
0a461feEduard S committed on Jan 11, 2021
a
Merge pull request #470 from hermeznetwork/feature/debug1
Add debug info in batch debug file
b0e925farnau committed on Jan 8, 2021
E
Merge pull request #469 from hermeznetwork/feature/swagger-imprvmnts
Swagger improvements
2ae936fEduard S committed on Jan 8, 2021
E
Merge pull request #468 from hermeznetwork/fix/repeated-bids
Fix repeated items when coordinator is updated
423b67bEduard S committed on Jan 7, 2021
a
Merge pull request #467 from hermeznetwork/feature/fixes2
Update node and apply some fixes
ef8a6d1arnau committed on Jan 7, 2021
E
Merge pull request #462 from hermeznetwork/feature/txselector2
Feature/txselector2
580a18eEduard S committed on Jan 5, 2021
E
Merge pull request #450 from hermeznetwork/feature/l2db-maxtxs
Add max txs limit to tx pool
6fa4a2eEduard S committed on Jan 5, 2021
a
Merge pull request #451 from hermeznetwork/feature/varchar-utf8
Sanitize varchars that may not be UTF-8
44b0b8fa_bennassar committed on Jan 5, 2021
E
Merge pull request #448 from hermeznetwork/feature/txselector0
Feature/txselector0
6bd10fcEduard S committed on Jan 4, 2021
a
Merge pull request #447 from hermeznetwork/feature/change-queries
Change queries that produced undesired meddler logs
926943ca_bennassar committed on Jan 4, 2021
a
Merge pull request #445 from hermeznetwork/feature/configmeddlerdebug
Add config flag to enable/disable meddler logs
bc88987a_bennassar committed on Jan 4, 2021
a
Merge pull request #442 from hermeznetwork/feature/new-metrics-tests
Added new metrics tests
65abdd4a_bennassar committed on Jan 4, 2021
E
Merge pull request #444 from hermeznetwork/feature/txsel-coordidxs-upd
Update TxSelector to return CoordIdxs used & other
6c1c1faEduard S committed on Dec 31, 2020
a
Merge pull request #441 from hermeznetwork/feature/configcircuits
Add circuit configuration to node config
5c037e0arnau committed on Dec 31, 2020
a
Merge pull request #439 from hermeznetwork/feature/cliwipesql
Add cli command to wipe the SQL DB
a9804dcarnau committed on Dec 31, 2020
a
Merge pull request #437 from hermeznetwork/feature/ethprivkey
Load ethereum private key
2e51860arnau committed on Dec 31, 2020
E
Merge pull request #440 from hermeznetwork/fix/api-empty-arrays
empty array instead of 404
fedbacaEduard S committed on Dec 30, 2020
a
Merge pull request #436 from hermeznetwork/feature/exit-proof-siblings
Update ExitProofs-Siblings padding
c2dd982a_bennassar committed on Dec 30, 2020
E
Merge pull request #435 from hermeznetwork/feature/addrs-in-exit-endpoints
Include addrs in exit responses
88f924eEduard S committed on Dec 29, 2020
E
Merge pull request #434 from hermeznetwork/fix/next-forgers-null
Fix next forgers when no bids
6e2cde8Eduard S committed on Dec 29, 2020
E
Merge pull request #433 from hermeznetwork/feature/kvdb
Abstract KVDB from StateDB
8c6dc6eEduard S committed on Dec 29, 2020
E
Merge pull request #428 from hermeznetwork/fix/api-next-forgers
Fix next forgers api response
890b94aEduard S committed on Dec 29, 2020
a
Merge pull request #429 from hermeznetwork/feature/maybefixitemid
Fix item_id order in forged l1UserTxs
57cb6aca_bennassar committed on Dec 29, 2020
E
Merge pull request #427 from hermeznetwork/feature/abstr-txprocessor
Abstract TxProcessor from StateDB
88cd43eEduard S committed on Dec 29, 2020
E
Merge pull request #425 from hermeznetwork/fix/zki-ntx
Fix ZKI NTx for MaxTx
025b56cEduard S committed on Dec 28, 2020
E
Merge pull request #424 from hermeznetwork/feature/acccreationauth-js-comp
AccountCreationAuth compatible with js implementation
e69970cEduard S committed on Dec 28, 2020
a
Merge pull request #423 from hermeznetwork/feature/integration27
Delete old checkpoints in stateDB automatically & Don't log errors when context done
cbcd387arnau committed on Dec 28, 2020
E
Merge pull request #420 from hermeznetwork/feature/txsel-accauths
TxSel return of AccCreatAuths from the selection
1b55296Eduard S committed on Dec 24, 2020
E
Merge pull request #416 from hermeznetwork/feature/update-accountcreationauth
Update AccountCreationAuth & fix auth.HashToSign
6a2b947Eduard S committed on Dec 24, 2020
a
Merge pull request #414 from hermeznetwork/feature/syncforgercommitment
Sync ForgerCommitment and use it in coord
e787651arnau committed on Dec 24, 2020
E
Merge pull request #413 from hermeznetwork/feature/parametrize-chainid
Parametrize ChainID
cd6eb44Eduard S committed on Dec 23, 2020
E
Merge pull request #412 from hermeznetwork/fix/sdb-nonce
Fix StateDB & Til Nonce increment
adc0440Eduard S committed on Dec 23, 2020
E
Merge pull request #411 from hermeznetwork/feature/forged-txs-in-batchesapi
Add forged txs in batch endpoints response
fb48ca4Eduard S committed on Dec 23, 2020
E
Merge pull request #408 from hermeznetwork/feature/txsel-update-processinglogic
TxSelector update txs processing logic
4793a20Eduard S committed on Dec 23, 2020
a
Merge pull request #406 from hermeznetwork/feature/implforgebatchargs
Implement Pipeline.prepareForgeBatchArgs()
3cf615aarnau committed on Dec 23, 2020
E
Merge pull request #407 from hermeznetwork/fix/api-coordinator
Add bootCoord to coord table, get coord by forgerAddr
8d5b375Eduard S committed on Dec 23, 2020
E
Merge pull request #405 from hermeznetwork/fix/api-nonce
Fix API nonces
cd1a193Eduard S committed on Dec 22, 2020
a
Merge pull request #402 from hermeznetwork/feature/testpurger
Test purger, fix some nonces
c61c4f3arnau committed on Dec 22, 2020
a
Merge pull request #390 from hermeznetwork/feature/bjj-comp
Feature/bjj comp
8a2df8da_bennassar committed on Dec 22, 2020
a
Merge pull request #385 from hermeznetwork/feature/integratepriceupdater
Update and integrate price updater
0401ff6a_bennassar committed on Dec 21, 2020
a
Merge pull request #383 from hermeznetwork/feature/initvars
Use init SC vars and start block from events
b994318arnau committed on Dec 18, 2020
E
Merge pull request #387 from hermeznetwork/feature/fix-get-best-bid-coord
Fix historyDB GetBestBidCoordinator
92e34fbEduard S committed on Dec 18, 2020
l
Merge pull request #380 from hermeznetwork/feature/upgradecontracts
Upgrade contracts and parse init events
0bde608laisolizq committed on Dec 18, 2020
E
Merge pull request #379 from hermeznetwork/feature/upd-effamounts
Effective amounts add missing check
d649dd3Eduard S committed on Dec 17, 2020
E
Merge pull request #373 from hermeznetwork/feature/txsel-coordidx
TxSelector add CoordIdxDB, SelectionConfig, abstract filtering
cae69acEduard S committed on Dec 17, 2020
a
Merge pull request #372 from hermeznetwork/feature/fixtxsorder
Fix order of L1UserTxs
6ac033ba_bennassar committed on Dec 17, 2020
a
Merge pull request #371 from hermeznetwork/feature/fixpanic1
Fix panic caused by nil batchInfo.ServerProof
8838bd6arnau committed on Dec 17, 2020
E
Merge pull request #370 from hermeznetwork/fix/pipeline-call
Fix coordinator pipeline forgeBatch call
a3d0765Eduard S committed on Dec 17, 2020
a
Merge pull request #365 from hermeznetwork/feature/nodecfg
Merge node (sync-only) and coord config
d781b41arnau committed on Dec 17, 2020
a
Merge pull request #363 from hermeznetwork/feature/coordinator1
Make coordinator more robust agains failed forges
ca25bd1arnau committed on Dec 17, 2020
E
Merge pull request #366 from hermeznetwork/fix/api-exit-response
Fix format of the MTP for exit endpoint
12fba96Eduard S committed on Dec 17, 2020
a
Merge pull request #362 from hermeznetwork/feature/updatetxs
Update txs constructors and helpers
f58cadbarnau committed on Dec 17, 2020
a
Merge pull request #360 from hermeznetwork/feature/integration26
Add mock proof server
c047f2farnau committed on Dec 17, 2020
a
Merge pull request #359 from hermeznetwork/feature/integration25
Extend Coordinator tests
6dd766barnau committed on Dec 16, 2020
E
Merge pull request #358 from hermeznetwork/fix/api-accounts
Fix inconsistency between api doc and code: hermezEthereumAddress => …
61255d7Eduard S committed on Dec 16, 2020
E
Merge pull request #357 from hermeznetwork/feature/chec-effamount
Update StateDB computeEffectiveAmounts
7277dc1Eduard S committed on Dec 16, 2020
E
Merge pull request #353 from hermeznetwork/fix/process-l2txs
Add TxType before processing L2 tx
b53cf10Eduard S committed on Dec 16, 2020
E
Merge pull request #352 from hermeznetwork/fix/historydb-norows
Fix queries when no rows
8e1bfd1Eduard S committed on Dec 15, 2020
E
Merge pull request #350 from hermeznetwork/feature/zkinputs6
Update ZKInputs generation:
d15721dEduard S committed on Dec 15, 2020
a
Merge pull request #349 from hermeznetwork/feature/integration23
Make coordinator more responsive
872fc6aarnau committed on Dec 15, 2020
E
Merge pull request #346 from hermeznetwork/feature/zkinputs5
StateDB Exit & ForceExit correct processing & ZKI
a165bdaEduard S committed on Dec 11, 2020
a
Merge pull request #345 from hermeznetwork/feature/integration22
Update synchronizer and DB with last contracts updates
398f69earnau committed on Dec 11, 2020
E
Merge pull request #341 from hermeznetwork/feature/zkinputs3-4
Fix process L1Tx for correct ZKInputs generation
a7e4e8fEduard S committed on Dec 10, 2020
E
Merge pull request #333 from hermeznetwork/feature/client-prover
Update prover & add test
30c494bEduard S committed on Dec 10, 2020
E
Merge pull request #339 from hermeznetwork/feature/missing-deposit-name
Update missing LoadAmount to DepositAmount
a05ceccEduard S committed on Dec 10, 2020
a
Merge pull request #340 from hermeznetwork/jleebee-patch-1
Update swagger.yml
dbb2e95a_bennassar committed on Dec 10, 2020
E
Merge pull request #338 from hermeznetwork/feature/api-amounts
Add amount success and load amount success
d5c7530Eduard S committed on Dec 9, 2020
l
Merge pull request #336 from hermeznetwork/fix/api1
Fix/api1
d5f579alaisolizq committed on Dec 9, 2020
E
Merge pull request #334 from hermeznetwork/feature/test-zkinputs2
Add zki.ISAccFeeOut generation for circuits compat
f229f49Eduard S committed on Dec 9, 2020
a
Merge pull request #332 from hermeznetwork/feature/integration21
Integrate purger to node
347d188arnau committed on Dec 9, 2020
E
Merge pull request #330 from hermeznetwork/feature/zki4-fees
ZKInputs with Fee txs compatible with circom
8de7fe5Eduard S committed on Dec 7, 2020
a
Merge pull request #329 from hermeznetwork/feature/deposit-amount
Rename load amount to deposit amount
4771cf5arnau committed on Dec 7, 2020
l
Merge pull request #328 from hermeznetwork/feature/ganache-bug-workaround
syncrhonizer fix, ganache bug workaround
2dd6d82laisolizq committed on Dec 4, 2020
E
Merge pull request #326 from hermeznetwork/feature/effective-amount-update
Feature/effective amount update
897d7d5Eduard S committed on Dec 4, 2020
a
Merge pull request #325 from hermeznetwork/feature/ethclient-up-ev
Update ethclient
0602332a_bennassar committed on Dec 4, 2020
E
Merge pull request #323 from hermeznetwork/feature/zkinputs3
StateDB ZKInputs generation compatible with circom
0bacd60Eduard S committed on Dec 3, 2020
a
Merge pull request #322 from hermeznetwork/feature/integration20
Advance coordinator implementation
d306f48arnau committed on Dec 3, 2020
a
Merge pull request #321 from hermeznetwork/feature/til-gen-from-instructions
Allow using til with instructions
f58e79darnau committed on Dec 3, 2020
a
Merge pull request #316 from hermeznetwork/feature/set-effectives
Set EffectiveAmount and EffectiveLoadAmount of forged L1UserTxs
7155743a_bennassar committed on Nov 30, 2020
E
Merge pull request #315 from hermeznetwork/feature/rm-ethvar
Rm unused ETHCLIENT_DIAL_URL
16d04deEduard S committed on Nov 30, 2020
a
Merge pull request #304 from hermeznetwork/feature/tracerr1
Wrap all errors with tracerr
a8c9b7aa_bennassar committed on Nov 30, 2020
E
Merge pull request #306 from hermeznetwork/feature/massive-migrations-update
Update Common & StateDB & ZKInputs to last protocol version
aaeec88Eduard S committed on Nov 30, 2020
E
Merge pull request #302 from hermeznetwork/feature/swagger-examples
Improve swagger doc
f30e470Eduard S committed on Nov 27, 2020
a
Merge pull request #301 from hermeznetwork/feature/integration19
Update coordinator, call all api update functions
0c83417arnau committed on Nov 26, 2020
E
Merge pull request #300 from hermeznetwork/feature/l1coord-update
Update L1 coordinator Txs
4d830fdEduard S committed on Nov 25, 2020
E
Merge pull request #299 from hermeznetwork/fix/til-bigint
Til use bigint for amount & loadamount values
58c9be3Eduard S committed on Nov 25, 2020
a
Merge pull request #295 from hermeznetwork/feature/integration17
Redo coordinator structure, connect API to node
fd4e7aca_bennassar committed on Nov 24, 2020
E
Merge pull request #293 from hermeznetwork/feature/swagger-examples
Improve swagger doc
29f6d97Eduard S committed on Nov 24, 2020
E
Merge pull request #297 from hermeznetwork/feature/ethclient-update
Update ethclient & L1CoordinatorTx
486c70eEduard S committed on Nov 24, 2020
E
Merge pull request #296 from hermeznetwork/feature/zkinputs2
Add methods for ZKInputs IntermStates generation
132691bEduard S committed on Nov 23, 2020
a
Merge pull request #292 from hermeznetwork/feature/fixes
Update SQL types, improve SQL *big.Int
bf88eb6a_bennassar committed on Nov 18, 2020
E
Merge pull request #287 from hermeznetwork/feature/api-test-til
Add til to API
0e7d3e7Eduard S committed on Nov 17, 2020
E
Merge pull request #289 from hermeznetwork/feature/zki-hashGlobal
Add HashGlobalInputs for ZKInputs
98aa5d7Eduard S committed on Nov 17, 2020
l
Merge pull request #284 from hermeznetwork/feature/api-db-test-til-tx
HistoryDB TXs til test
4aa6867laisolizq committed on Nov 17, 2020
a
Merge pull request #279 from hermeznetwork/feature/l2db-test-til
Add til test l2db
e0a4b65a_bennassar committed on Nov 16, 2020
a
Merge pull request #280 from hermeznetwork/feature/integration15
Add Sync stats, and report them in DebugAPI
f5c9241a_bennassar committed on Nov 16, 2020
a
Merge pull request #278 from hermeznetwork/feature/integration14
Test synchronizer reorg
7294d76a_bennassar committed on Nov 16, 2020
a
Merge pull request #277 from hermeznetwork/feature/integration13
Fix exit table, set delayed_withdrawn in exits
adedd77arnau committed on Nov 16, 2020
a
Merge pull request #275 from hermeznetwork/feature/api-db-tests-til
Feature/api db tests til
8cc165farnau committed on Nov 11, 2020
a
Merge pull request #274 from hermeznetwork/feature/swagger-review
Swagger review
623c2e5a_bennassar committed on Nov 11, 2020
E
Merge pull request #276 from hermeznetwork/feature/statedb-accounts-root-js-comp
Cmptbility test for Root StateDB Accounts tree
b5c5b49Eduard S committed on Nov 11, 2020
E
Merge pull request #272 from hermeznetwork/feature/update-account-hash
Update Account Hash comp to match js version
3a94363Eduard S committed on Nov 10, 2020
T
Merge pull request #273 from hermeznetwork/feature/api-test
API state endpoint test
37b8260Toni Ramírez committed on Nov 10, 2020
T
Merge pull request #271 from hermeznetwork/feature/api-state-fee
API State RecommendedFee
6ec7a0bToni Ramírez committed on Nov 9, 2020
a
Merge pull request #269 from hermeznetwork/feature/integration12
Process withdrawals in HistoryDB, test withdrawals and vars in sync
e8148e6a_bennassar committed on Nov 9, 2020
a
Merge pull request #270 from hermeznetwork/feature/api-state-metrics
API State Metrics
a1b9720a_bennassar committed on Nov 9, 2020
E
Merge pull request #268 from hermeznetwork/feature/wrapped-in-struct
Refactor api pagination
8190755Eduard S committed on Nov 9, 2020
a
Merge pull request #267 from hermeznetwork/feature/api-state
API add get state
a473070a_bennassar committed on Nov 9, 2020
E
Merge pull request #265 from hermeznetwork/feature/zkinputs1
StateDB group Fee txs and ZKInputs gen of Fee txs & Update tx bytes parsers methods
a4886c9Eduard S committed on Nov 9, 2020
E
Merge pull request #263 from hermeznetwork/feature/wrapped-in-struct
Put api DBs into struct
220fd99Eduard S committed on Nov 6, 2020
a
Merge pull request #264 from hermeznetwork/feature/integration11
Add DebugAPI to Node, fix StateDB
4a29cafarnau committed on Nov 6, 2020
a
Merge pull request #261 from hermeznetwork/feature/til-extra
Move logic to extend til blocks to til
fd9b247arnau committed on Nov 6, 2020
T
Merge pull request #262 from hermeznetwork/feature/api-checks
ItemID to uint64 & check timestamp
f662bebToni Ramírez committed on Nov 6, 2020
a
Merge pull request #259 from hermeznetwork/feature/api-account
Account API
3591e3ca_bennassar committed on Nov 6, 2020
E
Merge pull request #255 from hermeznetwork/feature/zkinputs0
ZKInputs update:
e8aababEduard S committed on Nov 5, 2020
a
Merge pull request #251 from hermeznetwork/feature/api-slots
API add slots endpoints
1a9c96aa_bennassar committed on Nov 5, 2020
l
Merge pull request #260 from hermeznetwork/feature/api-fee-check
Check feeAmount overflow in API
651572claisolizq committed on Nov 5, 2020
a
Merge pull request #254 from hermeznetwork/feature/integration10
Update Synchronizer (node) implementation
9ab5013a_bennassar committed on Nov 5, 2020
a
Merge pull request #253 from hermeznetwork/feature/api-config-refactor
API config refactor
c4004c0a_bennassar committed on Nov 4, 2020
a
Merge pull request #250 from hermeznetwork/feature/integration9
Reorganize smart contract types, udate eth tests, etc.
11dbf67arnau committed on Nov 4, 2020
a
Merge pull request #252 from hermeznetwork/feature/api-exits-update
API add pending withdraws filter on GET /exits
91ef326a_bennassar committed on Nov 3, 2020
a
Merge pull request #248 from hermeznetwork/feature/update-fees
Update fee tables
954b240a_bennassar committed on Nov 3, 2020
E
Merge pull request #245 from hermeznetwork/refactor/api-exits-and-auth
Refactor/api exits and auth
1ad4f7dEduard S committed on Nov 2, 2020
E
Merge pull request #247 from hermeznetwork/feature/til-sets
Add Til set w minimum flow, add balances tests at StateDB ProcessTxs, small fixes at StateDB
8c6f5f2Eduard S committed on Nov 2, 2020
a
Merge pull request #244 from hermeznetwork/feature/db-insert-eth-token
Insert ETH as HistoryDB token
721441barnau committed on Nov 2, 2020
E
Merge pull request #246 from hermeznetwork/feature/api-full-batch
Imp api get full-batches
4524f7aEduard S committed on Oct 30, 2020
E
Merge pull request #241 from hermeznetwork/feature/statedb-tests-up
ProcessTxs fees collct update & tests, and other:
04276a4Eduard S committed on Oct 30, 2020
a
Merge pull request #237 from hermeznetwork/feature/api-bids
API add bids endpoint
8c15a16a_bennassar committed on Oct 28, 2020
E
Merge pull request #236 from hermeznetwork/refactor/api-txs
Refactor/api txs
90db8a1Eduard S committed on Oct 28, 2020
a
Merge pull request #238 from hermeznetwork/feature/integration8
Add collectedFees in TxProcessor, update sync test
2ded8c8arnau committed on Oct 28, 2020
l
Merge pull request #235 from hermeznetwork/feature/api-coordinator-refactor
API Coordinator Refactor
decc499laisolizq committed on Oct 28, 2020
a
Merge pull request #234 from hermeznetwork/feature/integration7
Test L2Txs, ExitTree in synchronizer
49ea875arnau committed on Oct 27, 2020
E
Merge pull request #233 from hermeznetwork/feature/sdb-idxdb-tokenid
StateDB store Idxs with TokenID at the db-key & TxSelector include L1CoordinatorTxs in selections
c1b9b0bEduard S committed on Oct 27, 2020
E
Merge pull request #231 from hermeznetwork/feature/statedb-createdaccounts
ProcessTxs return an array of created accounts
d6d1a9cEduard S committed on Oct 27, 2020
a
Merge pull request #232 from hermeznetwork/feature/api-gettoken-update
API Update tokens endpoint
e5d1143a_bennassar committed on Oct 27, 2020
a
Merge pull request #229 from hermeznetwork/feature/api-getstate
Add struct get state endpoint
b320069a_bennassar committed on Oct 27, 2020
E
Merge pull request #228 from hermeznetwork/feature/fees-to-coord
Add ProcessTxs send fees to Coordinator accounts
23160ceEduard S committed on Oct 27, 2020
a
Merge pull request #227 from hermeznetwork/feature/integration6
Update Synchroinzer and tests
382bcfea_bennassar committed on Oct 26, 2020
E
Merge pull request #223 from hermeznetwork/feature/eth-remove-ERC777
Feature/eth remove erc777
2aa5598Eduard S committed on Oct 26, 2020
E
Merge pull request #226 from hermeznetwork/feature/api-batches
Feature/api batches
d17cc57Eduard S committed on Oct 26, 2020
E
Merge pull request #219 from hermeznetwork/feature/api-account-creation
Impl account creation auth endpoints
0e5aad4Eduard S committed on Oct 26, 2020
E
Merge pull request #225 from hermeznetwork/feature/fees-update
Feature/fees update
b70001fEduard S committed on Oct 26, 2020
E
Merge pull request #220 from hermeznetwork/test/fake-server
Add the ability to run the API forever when testing
721e5e8Eduard S committed on Oct 23, 2020
E
Merge pull request #222 from hermeznetwork/feature/txtransfertoethaddrbjj
Add TxTypeTransferToEthAddr&ToBJJ to StateDB & Til
0cd7179Eduard S committed on Oct 23, 2020
a
Merge pull request #221 from hermeznetwork/feature/til-update
In til, process L1UserTxs when defined, not in batch
bf3bc0darnau committed on Oct 22, 2020
a
Merge pull request #217 from hermeznetwork/feature/integration5
Update missing parts, improve til, and more
23242fbarnau committed on Oct 22, 2020
E
Merge pull request #216 from hermeznetwork/feature/batch-total-fee
Calulate total collected batch fee and fix merkleproof api format
24bca9eEduard S committed on Oct 22, 2020
a
Merge pull request #213 from hermeznetwork/feature/api-coordinators
Coordinators methods for API
9d74a8ea_bennassar committed on Oct 22, 2020
a
Merge pull request #205 from hermeznetwork/feature/api-tx-pool
Implement tx pool endpoints
8047582arnau committed on Oct 22, 2020
E
Merge pull request #215 from hermeznetwork/feature/til-update
Feature/til update
efed84fEduard S committed on Oct 21, 2020
E
Merge pull request #210 from hermeznetwork/feature/api-config-const
Add config endpoint
4ca2124Eduard S committed on Oct 21, 2020
a
Merge pull request #211 from hermeznetwork/feature/update-general
Feature/update general
6a8b454arnau committed on Oct 21, 2020
l
Merge pull request #212 from hermeznetwork/feature/ethclient-simplify
Simplify eth code
3f6b9d9laisolizq committed on Oct 21, 2020
a
Merge pull request #208 from hermeznetwork/feature/debugapi
Extend statedb and use prefixes, add debugapi
edb466carnau committed on Oct 21, 2020
E
Merge pull request #207 from hermeznetwork/feature/tkcio-l1queues
Add L1UserTxs queues system to Transakcio
4d90cd9Eduard S committed on Oct 20, 2020
a
Merge pull request #204 from hermeznetwork/feature/api-gettokens
Add get tokens endpoint
eb54162a_bennassar committed on Oct 19, 2020
a
Merge pull request #201 from hermeznetwork/api-amounts
More realistic example amounts
c67b1dfa_bennassar committed on Oct 16, 2020
E
Merge pull request #199 from hermeznetwork/feature/tkcio-tokenregister
Add transakcio Token Register instructions parser
b6ebbbaEduard S committed on Oct 15, 2020
a
Merge pull request #200 from hermeznetwork/feature/api-gettoken
Add get token endpoint
98255b9a_bennassar committed on Oct 15, 2020
E
Merge pull request #198 from hermeznetwork/fix/rqcompresseddata
Fix/rqcompresseddata
8dbcdafEduard S committed on Oct 15, 2020
E
Merge pull request #197 from hermeznetwork/feature/transakcio-coordtxs
Add transakcio coordinator tx instruction feature
db22d85Eduard S committed on Oct 15, 2020
E
Merge pull request #195 from hermeznetwork/feature/ethclient16-sc
Update ethclient rollup iteration 3
a49d3bfEduard S committed on Oct 14, 2020
E
Merge pull request #194 from hermeznetwork/feature/txsel-noncesorting0
Add TxSel Nonce sort. Fix surplus from refactors
250f1aaEduard S committed on Oct 14, 2020
a
Merge pull request #179 from hermeznetwork/feature/api-exits
Impl exit edpoint and refactor pagination
c145147arnau committed on Oct 14, 2020
E
Merge pull request #192 from hermeznetwork/feature/transakcio
Feature/transakcio
c6d71a4Eduard S committed on Oct 13, 2020
E
Merge pull request #191 from hermeznetwork/feature/fix-pr-187
Fix PR #187
3eec54aEduard S committed on Oct 9, 2020
a
Merge pull request #187 from hermeznetwork/feature/ethclient15-sc
Update ethclient rollup iteration 2
f142e23arnau committed on Oct 9, 2020
a
Merge pull request #186 from hermeznetwork/feature/unnullify
Change pointers to nil in common (remove common.Struct.parameters pointers for Idx & EthAddr. Update common parameters)
3de272aarnau committed on Oct 8, 2020
a
Merge pull request #185 from hermeznetwork/feature/integration2
Feature/integration2
5ec18f0arnau committed on Oct 8, 2020
a
Merge pull request #182 from hermeznetwork/feature/ethclient14-sc
Update ethclient contracts & rollup iteration 1
3d7b71ea_bennassar committed on Oct 7, 2020
l
Merge pull request #181 from hermeznetwork/feature/erc20
Add methods to get ERC20 constants
cedbc07laisolizq committed on Oct 6, 2020
a
Merge pull request #178 from hermeznetwork/feature/codec-funcs
Add L1CoordTx & L2Tx byte parsers functions
15a122aarnau committed on Oct 6, 2020
a
Feature/null refactor (#173)
* WIP: rebase
* Make nullable fields use pointers
49366e3a_bennassar committed on Oct 6, 2020
E
Merge pull request #175 from hermeznetwork/feature/priceupdater-to-db
Connect price updater to historydb
7df9288Eduard S committed on Oct 5, 2020
E
Merge pull request #171 from hermeznetwork/feature/processtx-l2tx-nonces
Add StateDB compute nonces on ProcessTx L2Tx
9e4f020Eduard S committed on Oct 2, 2020
a
Merge pull request #174 from hermeznetwork/big-bigint
Have BigInt be a proper big value that has 18 decimals
e539ebca_bennassar committed on Oct 1, 2020
a
Merge pull request #145 from hermeznetwork/feature/integration
Update test ethclient and coordinator
0362afcarnau committed on Oct 1, 2020
E
Merge pull request #165 from hermeznetwork/feature/txprocessor-l2tx
Update TxProcessor L2Tx logic for case ToIdx==0
d71871cEduard S committed on Oct 1, 2020
a
Merge pull request #163 from hermeznetwork/feature/txid0
Add TxID calculation & New{Layer}Tx Type
938ef84a_bennassar committed on Sep 30, 2020
E
Merge pull request #158 from hermeznetwork/feature/ethclient8-sc
Update ethclient contracts & add wdelayer events
f797e7aEduard S committed on Sep 30, 2020
a
Feature/merge history l2 tables (#156)
* WIP rebase
* Combine both SQL DBs
* API and DB refactor
c6f70f3a_bennassar committed on Sep 29, 2020
l
Merge pull request #157 from hermeznetwork/feature/ethclient6-sc-update
Update ethclient wdelayer & add auction events
8efbb7alaisolizq committed on Sep 28, 2020
a
Merge pull request #150 from hermeznetwork/feature/historydb-sync2
Helper methods for Synchronizer and TX refactor
0c9a6e3a_bennassar committed on Sep 23, 2020
E
Merge pull request #149 from hermeznetwork/feature/idx-6bytes
Idx to 6 bytes (48 bits)
81693a6Eduard S committed on Sep 22, 2020
a
Merge pull request #148 from hermeznetwork/feature/txsel-l2logic
Add TxSelector L2Tx filtering logic
c0336f4a_bennassar committed on Sep 22, 2020
E
Merge pull request #142 from hermeznetwork/feature/api-boilerplate
Add GET histroy-transactions endpoint
b86d219Eduard S committed on Sep 22, 2020
E
Merge pull request #146 from hermeznetwork/feature/statedb-idx-db
Add StateDB set & get Idx by EthAddr & BJJ methods
297a8e3Eduard S committed on Sep 22, 2020
E
Merge pull request #128 from hermeznetwork/feature/l1txbytes
Update common.L1Tx parsers, add test checks
05b273cEduard S committed on Sep 21, 2020
E
Merge pull request #143 from hermeznetwork/feature/ethclient5-sc
Update ethclient auction & add wdelayer
dd85322Eduard S committed on Sep 21, 2020
E
Merge pull request #135 from hermeznetwork/feature/synchronizer-sc
Smart Contracts Data Synchronization
35a558fEduard S committed on Sep 21, 2020
a
Merge pull request #138 from hermeznetwork/feature/impl-l2db
Implement L2DB
1de2ec9arnau committed on Sep 18, 2020
E
Merge pull request #136 from hermeznetwork/feature/ethclient4-sc
Update ethclient
5ad447cEduard S committed on Sep 17, 2020
a
Merge pull request #127 from hermeznetwork/feature/txsel-txsselection-v0
TxSelector GetL2TxSelection & GetL1L2TxSelection integrated with dbs
05d183da_bennassar committed on Sep 16, 2020
a
Merge pull request #129 from hermeznetwork/feature/integration
Feature/integration
a40689farnau committed on Sep 16, 2020
a
Merge pull request #111 from hermeznetwork/feature/L1TxCodec
L1Tx Codec
b0cfcb0arnau committed on Sep 15, 2020
a
Merge pull request #124 from hermeznetwork/feature/ethclient3-sc
Add contracts & ethclient auction
2937bdearnau committed on Sep 14, 2020
E
Merge pull request #114 from hermeznetwork/feature/compute-zkinputs
Feature/compute zkinputs
d416203Eduard S committed on Sep 10, 2020
a
Merge pull request #117 from hermeznetwork/feature/ethclient5
Implement basic auction funcs in test.Client
7f2a5cdarnau committed on Sep 10, 2020
a
Merge pull request #110 from hermeznetwork/feature/node
Implement first iteration of node
ec67075arnau committed on Sep 10, 2020
a
Merge pull request #109 from hermeznetwork/feature/ethclient3
Implement initial version of test.Client
230adfea_bennassar committed on Sep 8, 2020
a
Merge pull request #106 from hermeznetwork/feature/ethclient1
Add ethclient full skeleton
57fd9bdarnau committed on Sep 7, 2020
E
Merge pull request #107 from hermeznetwork/feature/statedb-intermediatestate
StateDB intermediate state reset when opening DB
7701af1Eduard S committed on Sep 7, 2020
k
update zkInputs (#104)
* update zkInputs
* ZKInputs clean uncomment use nolint
Co-authored-by: arnaucube <root@arnaucube.com>
4d02308krlosMata committed on Sep 4, 2020
E
Merge pull request #101 from hermeznetwork/feature/log0
Update log package with fields & file log
c940e6fEduard S committed on Sep 2, 2020
E
Merge pull request #87 from hermeznetwork/feature/test-ethclient
Add mock EthClient for testing
18d0658Eduard S committed on Sep 1, 2020
E
Merge pull request #89 from hermeznetwork/feature/golint
Add lint checks: gofmt, goimports, golint
ddb5604Eduard S committed on Aug 31, 2020
a
Merge pull request #84 from hermeznetwork/feature/update-linters
Add linter checks to GHA & Fix code to pass lints
3bd91eca_bennassar committed on Aug 28, 2020
a
Merge pull request #80 from hermeznetwork/feature/coordinator0
Feature/coordinator0
fe8431ea_bennassar committed on Aug 27, 2020
E
Merge pull request #67 from hermeznetwork/feature/sql-sc-vars
Add sync interface
361af76Eduardo Antuña Díez committed on Aug 26, 2020
a
Merge pull request #77 from hermeznetwork/feature/txs-tests
Feature/txs tests
9c10826a_bennassar committed on Aug 26, 2020
a
Merge pull request #75 from hermeznetwork/feature/exit-tree
Add statedb ExitTree implementation
87a74c4a_bennassar committed on Aug 25, 2020
a
Merge pull request #74 from hermeznetwork/feature/statedb-processtxs
Add abstraction method of processTxs to StateDB
88906bea_bennassar committed on Aug 24, 2020
a
Merge pull request #73 from hermeznetwork/feature/ethclient0
Import & adapt iden/go-iden3-core/eth/client
118ebf7a_bennassar committed on Aug 24, 2020
a
Merge pull request #72 from hermeznetwork/feature/pooll2tx-sig
Add PoolL2Tx verify signature needed methods
c2bbca4a_bennassar committed on Aug 24, 2020
a
Merge pull request #69 from hermeznetwork/feature/txcompresseddata
Add TxCompressedData & V2 with some extra parsers for common
869ab51a_bennassar committed on Aug 21, 2020
a
Merge pull request #66 from hermeznetwork/feature/statedb-cu
Unify StateDB MT{Create/Update}Account
3f63cd7a_bennassar committed on Aug 20, 2020
a
Merge pull request #64 from hermeznetwork/feature/testing-framework
Feature/testing framework language
82d5aaea_bennassar committed on Aug 20, 2020
a
Merge pull request #61 from hermeznetwork/feature/log
Add log system
6c0c528a_bennassar committed on Aug 18, 2020
a
Merge pull request #59 from hermeznetwork/feature/sql-tables4
Update SQL schemas
5d4840carnau committed on Aug 17, 2020
a
Merge pull request #57 from hermeznetwork/feature/statedb-checkpoints
Feature/statedb checkpoints
bf1a648a_bennassar committed on Aug 17, 2020
E
Merge pull request #52 from hermeznetwork/feature/init-coordinator
Initial Coordinator (OpManager) structure
58cf35fEduard S committed on Aug 14, 2020
a
Merge pull request #53 from hermeznetwork/feature/updategha
Remove goarch 386 and go-version 1.13 from GHA
378b7bearnau committed on Aug 14, 2020
a
Merge pull request #50 from hermeznetwork/feature/txselector-int-statedb
Integrate TxSelector with StateDB
9df30afa_bennassar committed on Aug 13, 2020
E
Merge pull request #44 from hermeznetwork/feature/batchbuilder-integratedb
Feature/batchbuilder integratedb
b28b13dEduard S committed on Aug 11, 2020
a
create sql tables (#40)
Co-authored-by: Eduard S <eduard@iden3.io>
428dcd7a_bennassar committed on Aug 11, 2020
a
Merge pull request #38 from hermeznetwork/feature/statedb
Add StateDB & LocalStateDB
1313a5aa_bennassar committed on Aug 11, 2020
E
Merge pull request #31 from hermeznetwork/feature/batchbuilder-init
Feature/batchbuilder init
4bff968Eduard S committed on Aug 6, 2020
a
Merge pull request #27 from hermeznetwork/feature/common-leaf
Add common/Leaf struct & parsers (bigint & byte arrays)
dbbc309a_bennassar committed on Aug 5, 2020
E
Merge pull request #26 from hermeznetwork/feature/register-common-update
Update to follow DB spec
2f93848Eduard S committed on Aug 3, 2020
a
Priceupdater-v0 (#23)
* First price-updater implementation
* Lint corrections
* Structs revision
* Read Write Mutex
* Review price updater and apply small changes
Co-authored-by: Toni Ramírez <toni@iden3.com>
Co-authored-by: Eduard S <eduard@iden3.io>
2c247bfarnau committed on Jul 31, 2020
a
Merge pull request #11 from hermeznetwork/feature/txpool-interface
Definition of txpool interface
819b29darnau committed on Jul 29, 2020
E
Merge pull request #4 from hermeznetwork/feature/common-first-ite
Initial draft of the common structs
09e2653Eduard S committed on Jul 28, 2020
E
Merge pull request #6 from hermeznetwork/fix/imports
Fix import paths
ecf7319Eduard S committed on Jul 24, 2020
E
Merge pull request #2 from hermeznetwork/feature/gha
Add GHA with Tests & Lints
1a50e60Eduard S committed on Jul 24, 2020
a
Merge pull request #1 from hermeznetwork/feature/txselector-base
Add txselector base
8772b05arnau committed on Jul 24, 2020
a
Apply suggestions from code review
Co-authored-by: Eduard S. <eduard@iden3.io>
2109d9farnau committed on Aug 6, 2020
a
Add batchbuilder applyCreateLeaf, applyDeposit, applyTransfer
bcd9f96arnaucube committed on Aug 4, 2020
a
Apply fix method description typos
Co-authored-by: Eduard S. <eduard@iden3.io>
edb8974arnau committed on Aug 10, 2020
a
Update Coordinator & BatchBuilder & TxSelector to new SQL schemas changes
c702442arnaucube committed on Aug 17, 2020
a
Migrate TxProcessors from BatchBuilder to StateDB
Migrate TxProcessors from BatchBuilder to StateDB in order to be used by
BatchBuilder & Synchronizer
cfa441earnaucube committed on Aug 20, 2020
a
Add tx L1&L2 test generation & keys for TestingFramework
Add test-lang Fee & ForceExit option
8eb42c0arnaucube committed on Aug 19, 2020
a
Add TxCompressedData & V2 with some extra parsers for common
a28c81farnaucube committed on Aug 21, 2020
a
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.
7fa658carnaucube committed on Aug 24, 2020
a
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
b4044a2arnaucube committed on Aug 24, 2020
a
Add StateDB txprocessor tests using txtest generators
Add StateDB tx processor tests using tx test generators:
- update statedb/ tx processors
- add statedb tx processors tests
be95de1arnaucube committed on Aug 25, 2020
a
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
e98b511arnaucube committed on Aug 25, 2020
a
Update StateDB to new & ExitInfo struct & BatchNum
Update StateDB to new & ExitInfo struct & BatchNum
Also a small fix at txselector & log packages
9309722arnaucube committed on Aug 26, 2020
a
Update log package with fields & file log
Update log package with fields & file log, and update constants in the
repository code to be MixedCase.
resolves #91, resolves #92, resolves #95
fdaf2c9arnaucube committed on Sep 2, 2020
a
StateDB intermediate state reset when opening DB
StateDB intermediate state reset when opening DB to force getting always last
Checkpoint at last BatchNum, avoiding inconsistent intermediate state.
b1454d4arnaucube committed on Sep 4, 2020
E
Implement first iteration of node
The coordinator implementation has been refactored to allow all the goroutines
to be handled from the node.
475614cEduard S committed on Sep 8, 2020
a
Refactor ZKInputs & add struct initialization
Refactor ZKInputs & add struct initialization & add BJJCompressedTo256BigInts util
a7fe80farnaucube committed on Sep 8, 2020
a
TxSel integrated with L2DB, Add L1CoordTx creation
- GetL2TxSelection & GetL1L2TxSelection integrated with dbs
- Create L1CoordinatorTx of type CreateAccountDeposit when a L2
requires it (and the AccountCreationAuth exists)
41715e4arnaucube committed on Sep 15, 2020
E
Update test.Client, replace some big.Int by int/int64 in eth, fix lints
63be61fEduard S committed on Sep 17, 2020
E
Review synchronizer, rearange some stuff, add notes and TODOs.
9f83fcfEduard S committed on Sep 18, 2020
a
Change endianness to BigEndian :(
Change endianness to BigEndian (ಥ﹏ಥ), spec has been updated to achieve
compatibility with js & smart contracts & circuits implementations.
3013fbaarnaucube committed on Sep 18, 2020
A
Have BigInt be a proper big value that has 18 decimals
cf14f49Alberto Elias committed on Oct 1, 2020
a
Add StateDB compute nonces on ProcessTx L2Tx
Add StateDB compute nonces on ProcessTx L2Tx, and update StateDB for
type TypeSynchronizer, TypeTxSelector, TypeBatchBuilder
3374a47arnaucube committed on Oct 1, 2020
E
Replace all []*Foo by []Foo in sql db return values
- Implement SlicePtrsToSlice and use it in all `meddler.QueryAll` sql db functions to always return []Foo instead of []*Foo
b14495cEduard S committed on Oct 7, 2020
a
Fix PR #187
(#187 PR was done before another PR (#186) was merged into master, and
when 187 was merged to master, was not compiling due changes from #186
not applied yet to #187)
bdbbde4arnaucube committed on Oct 9, 2020
a
Add transakcio set type define, add set load [...]
Add transakcio set type definition, add set loading, move transakcio to
package, adapt branch to last master updates (fix compile due new common
types & git conflicts).
Update tests to pass the test, pending to adapt to new Transakcio
interface.
431df55arnaucube committed on Oct 9, 2020
a
Add TxSel Nonce sort. Fix surplus from refactors
- Add TxSel Nonce sort
- Fix surplus from refactors
- StateDB reuse computation of ToIdx across Synchronizer, TxSelector,
BatchBuilder
1a2f769arnaucube committed on Oct 14, 2020
E
Update importers of eth, use variable length feeIdxCoordinator
9684e7aEduard S committed on Oct 14, 2020
a
Rename Transakcio to Til for a easier usage
Rename Transakcio to Til for a easier usage, also change til.TestContext
to til.Context, and til.NewTestContext to til.NewContext.
265bdf2arnaucube committed on Oct 21, 2020
a
Update Til with small fixes [...]
Update Til with small fixes:
- L2Tx TxID & Type correctness done after Idxs setted
- Added PoolL2Tx signature for Exit type
Common:
- Add common.TxID Marshalers test
34de641arnaucube committed on Oct 21, 2020
A
Calulate total collected batch fee and fix merkleproof api format
f77ea04Arnau B committed on Oct 21, 2020
a
Add TxTypeTransferToEthAddr&ToBJJ to StateDB & Til
Add TxTypeTransferToEthAddr&ToBJJ to StateDB & Til
resolves #203, resolves #209
0ac6c0earnaucube committed on Oct 22, 2020
E
Update Synchroinzer and tests
- Test L1UserTxs in Synchronizer
- Test Batches in Synchronizer
- Add last_idx in `TABLE batch` in HistoryDB
- Minor updates in til to satisfy blockchain constraints
b522230Eduard S committed on Oct 22, 2020
E
Add collectedFees in TxProcessor, update sync test
- In Synchronizer test, test all tx types
4eb2972Eduard S committed on Oct 28, 2020
a
ProcessTxs fees collct update & tests, and other:
- Update StateDB ProcessTxs fees collection
- Update ProcessTxs tests to last StateDB & Til changes
- Til Blockchain L2Txs remove Nonce generation, update tests accordingly
- Update Til Set to test fees
2338b6barnaucube committed on Oct 28, 2020
a
ZKInputs update:
- Add ZKInputs parser to JSON
- Update ProcessTxs to last go-merkletree version changes
- Add StateDB test to generate ZKInputs to check inside a circom circuit
- Small fix at Til CoordinatorTx.LoadAmount=0
7af6371arnaucube committed on Nov 4, 2020
E
Process withdrawals in HistoryDB, test withdrawals and vars in sync
9f5af0aEduard S committed on Nov 9, 2020
a
Cmptbility test for Root StateDB Accounts tree
Checked with commonjs version:
https://github.com/hermeznetwork/commonjs/commit/c8414bd205f8c934bea9caaed6e6c68d5f9ba177
a9f112carnaucube committed on Nov 10, 2020
a
Add HashGlobalInputs for ZKInputs
Add HashGlobalInputs for ZKInputs compatible with js & circom circuits version.
Compatible with hermeznetwork/commonjs at version: c6a1448db5bae4cda839ce36c1f35d8defccc9cd
(https://github.com/hermeznetwork/commonjs/tree/c6a1448db5bae4cda839ce36c1f35d8defccc9cd)
ce772b1arnaucube committed on Nov 9, 2020
E
Update SQL types, improve SQL *big.Int
- In SQL Tables, set rollup_vars.forge_l1_timeout to BIGINT (instead of BYTEA)
- In "bigint" encoding/decoding used with meddler, store the *big.Int as raw
bytes, instead of base64 to be more space efficient
738fa0aEduard S committed on Nov 18, 2020
a
Add methods for ZKInputs IntermStates generation
- Add L1Tx TxCompressedData method
- Add PoolL2Tx TxCompressedDataV2 method
- Update ProcessTxs logic
- Add ZKInputs Intermediate States & Fee parameters calculation
d3a38a3arnaucube committed on Nov 18, 2020
E
Set EffectiveAmount and EffectiveLoadAmount of forged L1UserTxs
665e082Eduard S committed on Nov 30, 2020
E
Update some eth types, update eth dependencies to new changes
329d279Eduard S committed on Dec 3, 2020
a
Update missing LoadAmount to DepositAmount
Related to https://github.com/hermeznetwork/hermez-node/commit/445f26ec9f908f0ced10565121c3556ff1862515
9d0b278arnaucube committed on Dec 9, 2020
a
ZKInputs generation ISFinalAccFee update
- Update IntermediateState FinalAccFee values to fit in the Circom circuit expected inputs
- Add ZKInputs generation test with transactions generated by Til
(TestZKInputs6)
- BatchBuilder: remove redundant MakeCheckpoint call
593a477arnaucube committed on Dec 11, 2020
a
Update StateDB computeEffectiveAmounts
For the case of tx.EthAddr!=tx.FromIdx.EthAddr
0955016arnaucube committed on Dec 16, 2020
A
Fix inconsistency between api doc and code: hermezEthereumAddress => hezEthereumAddress
226c49fArnau B committed on Dec 16, 2020
E
Fix order of L1UserTxs
When the synchronizer queries the unforged L1UserTxs, sort them by position
Swap the order of calls setL1UserTxEffectiveAmounts and addBatch in
AddBlockSCData because otherwise, for reasons I dont understand, the item_id of
the txs doesn't follow the position of the txs.
8a59296Eduard S committed on Dec 17, 2020
a
TxSelector add CoordIdxDB, SelectionConfig, abstract filtering
TxTypeToEthAddr & TxTypeToBJJ
- TxSelector
- Add SelectionConfig for each batch
- Add CoordIdxDB key-value where the CoordinatorIdxs are stored
- Separated method for filtering TxTypeToEthAddr & TxTypeToBJJ
004f852arnaucube committed on Dec 16, 2020
E
Update and integrate price updater
PriceUpdater:
- Pass context so that it can be canceled during an update loop
- Define APITypes to make it explicit which API we are using
56fffdcEduard S committed on Dec 18, 2020
a
mv of babyjub.PublicKey to babyjub.PublicKeyComp
Update usage of `*babyjub.PublicKey` to `babyjub.PublicKeyComp`
- when the key is not defined, internally is used `babyjub.EmptyBJJComp`, which is a `[32]byte` of zeroes of type `babyjub.PublicKeyComp`
- the API continues returning `nil` when the key is not defined
4b10549arnaucube committed on Dec 18, 2020
a
Update ZKInputs for empty batches
- Add TestZKInputsEmpty circom test vectors
- Fix ZKInputsHash OldLastIdx bytearray
2583d35arnaucube committed on Dec 23, 2020
E
Update packr dependency
Update packr to 2.8.1 which fixes this issue:
https://github.com/gobuffalo/packr/issues/261 which I encountered while running
a test with `-race`
a50bda3Eduard S committed on Dec 22, 2020
E
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.
2205fcaEduard S committed on Dec 23, 2020
a
Fix ZKI NTx for MaxTx
On the Circuits uses the name `nTx` (and on the tests `maxTx`), but
Contracts `maxTx`. On Go we had both variables, but really only used
one, now at Go we use `MaxTx` to refer to the maximum number of
transactions.
cf199fdarnaucube committed on Dec 28, 2020
a
Abstract TxProcessor from StateDB
- Abstract TxProcessor from StateDB
- Upgrade to last version of go-merkletree for the key-value DB usage
0cf1ed2arnaucube committed on Dec 28, 2020
E
Fix item_id order in forged l1UserTxs
Also, make sure that all SQL queries that return slices are sorted
02c2ee1Eduard S committed on Dec 28, 2020
a
Abstract KVDB from StateDB
- KVDB contains the Checkpoint & Resets system
- StateDB uses KVDB and adds all the StateDB related methods
68bfbffarnaucube committed on Dec 29, 2020
E
Load ethereum private key
Load an ethereum keystore when the node is started in coordinator mode. The
private key corresponding to the forger address must be imported into the
keystore before running the node in coordinator mode. You can see an examples
in `cli/node/load-sk-example.sh`.
4279118Eduard S committed on Dec 29, 2020
E
Add cli command to wipe the SQL DB
- Refactor the migrations code so that packr is only called (via an init
function in `db/utils.go`).
- When loading the migrations, make sure there is at least one migration,
otherwise panic (this would happen if the node is built incorrectly)
e5fc403Eduard S committed on Dec 30, 2020
E
Add circuit configuration to node config
- Remove MaxL1CoordTxs parameter from the TxSelector because this parameter
doesn't exist
- Use ChainID in l1tx byte encoding
- Pass txprocessor configuration to batch builder via an existing parameter
18c854fEduard S committed on Dec 30, 2020
E
Add config flag to enable/disable meddler logs
- In config, add Debug.MeddlerLogs to enable meddler debug logs. This only
affects the node started via cli, tests swill ran with `meddler.Debug = true`
- Remove unused ethereum client functions and config parameters
- Document all the config parameters
f5d81caEduard S committed on Dec 30, 2020
a
Update Account.PublicKey to Account.BJJ
Update account.PublicKey to account.BJJ for naming consistency with the rest of the code
bf5ab12arnaucube committed on Jan 5, 2021
E
Fix forging L1Batch too early
When scheduling an L1Batch, make sure the previous L1Batch has been
synchronized. Otherwise, an L1Batch will be forged that may not contain all
the L1UserTxs that are supposed to be included.
101a954Eduard S committed on Jan 11, 2021
a
Add ZKI tests Til last batches MinimumFlow0 &other
- Add ZKI tests Til last batches MinimumFlow0
- Fix zki.CurrentNumBatch
- Fix StateDB BatchNum log
0bea7bcarnaucube committed on Jan 11, 2021
a
Add opt to disable print logs but storing to file
By default outputs contains "stdout", which prints the logs at the
output of the process. To add a log file as output, the path should be
added at the outputs array. To avoid printing the logs but storing them
on a file, can use []string{"pathtofile.log"}
dffc7e2arnaucube committed on Jan 12, 2021
a
Abstract txs generation for ZKInputs tests
- TxProcessor move txCompressedDataEmpty inside the if of tp.zki!=nil
- Abstract generation of transactions for ZKInput tests to avoid code
repetition
- used at txprocessor & test/zkproof tests
a16ec17arnaucube committed on Jan 13, 2021
E
Fix ChainID in zkInputs empty TxCmpData
Test TxProcessor zkInputs against a real proof server
75f068bEduard S committed on Jan 12, 2021
E
Document that /tmp should be mounted as tmpfs
Resolve #214
5709263Eduard S committed on Jan 13, 2021
a
TxProc merge multiple exits into single ExitInfo
Fix #497
b20ffd8arnaucube committed on Jan 20, 2021
E
Add test to show txprocessor bug
- Test that two exits for the same account in the same batch should be merged
into one exitInfo with the accumulated balance of both exits, in the
txprocessor output
699b9deEduard S committed on Jan 20, 2021
E
Remove +1 in DefaultSlotSetBidSlotNum
The smart contracts were updated at some point and there have been some changes
in slot calculation. Update these values in the synchronizer and test auction
smart contract implementaiton.
168432cEduard S committed on Jan 15, 2021
E
Fix exit tree nonces
Remove increment in exit tree leaf nonce when there are multiple exits for the
same account in the same batch.
Add a test to verify the correct implementation of exit leafs caused by
multiple exits.
1772422Eduard S committed on Jan 21, 2021
a
Add TokenID to L2Tx
L2Tx.TokenID is not on the data obtained by the Synchronizer from the
blockchain, but is set by the TxProcessor when processing the
transactions in the StateDB.
a899f43arnaucube committed on Jan 27, 2021
a
Check enough funds on sender on TxProc &TxSel
- TxSelector
- Add check enough funds on sender at TxSelector and don't
include the tx in the selection
- TxProcessor
- Add checks that the balance when substracted the
amount/amount+fee never goes below 0
fix #502
bffc0d0arnaucube committed on Jan 26, 2021
a
Update TxID to use eth Keccak256
- Update TxID to use eth Keccak256
- Added more tests to L2Tx TxID calculation to check compatibility with
js version from https://github.com/hermeznetwork/hermezjs/pull/57
c1cd379arnaucube committed on Feb 1, 2021
E
Improve stateDB reliability
- Close StateDB when stopping the node
- Lock the StateDB when doing checkpoints to avoid multiple instances of
oppening the pebble DB at the same time.
8517e6aEduard S committed on Feb 1, 2021
E
Add Last db view in kvdb and statedb
Last db view is an opened pebble db which always contains a checkpoint from the
last batch. Methods to access this last batch are thread safe so that views of
the last checkpoint can be made anywhere and with a consistent view of the
state.
6590c47Eduard S committed on Feb 2, 2021
a
Update ZKInputs test vectors with float40 & other
- Add AmountF new parameter to ZKInputs
- Update ZKInputs test vectors with float40 checked with circom circuits
- Small fix at eth/rollup.go with lenL1L2TxsBytes with new length of
Float40
6a01c0aarnaucube committed on Feb 11, 2021
a
Migrate all packages to use Float40
Migrate all packages to use Float40 & Add more test vectors at common
63151a2arnaucube committed on Feb 10, 2021
a
Add Float40 methods
This commit adds Float40 related methods, and keeps the Float16 version
which will be deleted in a near future once the Float40 migration is
ready.
52d4197arnaucube committed on Feb 8, 2021
E
Replace github.com/marusama/semaphore by golang.org/x/sync
729966fEduard S committed on Feb 15, 2021
E
Add discard cli to discard synced blocks
The command is useful in case the synchronizer reaches an invalid state and you
want to roll back a few blocks and try again (maybe with some fixes in the
code).
7b01f6aEduard S committed on Feb 12, 2021