Eduard S
29f6d975d1
Merge pull request #293 from hermeznetwork/feature/swagger-examples
Improve swagger doc
3 years ago
Arnau B
86029ca7de
Improve swagger doc
4 years ago
Eduard S
486c70e935
Merge pull request #297 from hermeznetwork/feature/ethclient-update
Update ethclient & L1CoordinatorTx
3 years ago
Eduard S
132691bb43
Merge pull request #296 from hermeznetwork/feature/zkinputs2
Add methods for ZKInputs IntermStates generation
3 years ago
laisolizq
f775af8890
Update ethclient & L1CoordinatorTx
4 years ago
arnaucube
d3a38a3ee1
Add methods for ZKInputs IntermStates generation
- Add L1Tx TxCompressedData method
- Add PoolL2Tx TxCompressedDataV2 method
- Update ProcessTxs logic
- Add ZKInputs Intermediate States & Fee parameters calculation
4 years ago
a_bennassar
bf88eb60b8
Merge pull request #292 from hermeznetwork/feature/fixes
Update SQL types, improve SQL *big.Int
4 years ago
Eduard S
738fa0ac30
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
4 years ago
Eduard S
0e7d3e72fd
Merge pull request #287 from hermeznetwork/feature/api-test-til
Add til to API
4 years ago
Eduard S
98aa5d791f
Merge pull request #289 from hermeznetwork/feature/zki-hashGlobal
Add HashGlobalInputs for ZKInputs
4 years ago
Arnau B
ce1218e28a
Integrate til into api
4 years ago
arnaucube
ce772b1d19
Add HashGlobalInputs for ZKInputs
Add HashGlobalInputs for ZKInputs compatible with js & circom circuits version.
Compatible with hermeznetwork/commonjs at version: c6a1448db5
(c6a1448db5
)
4 years ago
laisolizq
b3b23473b6
Add til api test first commit
4 years ago
laisolizq
4aa686797d
Merge pull request #284 from hermeznetwork/feature/api-db-test-til-tx
HistoryDB TXs til test
4 years ago
a_bennassar
e0a4b656fe
Merge pull request #279 from hermeznetwork/feature/l2db-test-til
Add til test l2db
4 years ago
ToniRamirezM
93d67ff699
HistoryDB TXs til test
4 years ago
laisolizq
1925110fda
Add til test l2db
4 years ago
a_bennassar
f5c92418f2
Merge pull request #280 from hermeznetwork/feature/integration15
Add Sync stats, and report them in DebugAPI
4 years ago
Eduard S
6c0d48f4a2
Add Sync stats, and report them in DebugAPI
4 years ago
a_bennassar
7294d766cd
Merge pull request #278 from hermeznetwork/feature/integration14
Test synchronizer reorg
4 years ago
Eduard S
457ff94bfa
Test synchronizer reorg
4 years ago
arnau
adedd77956
Merge pull request #277 from hermeznetwork/feature/integration13
Fix exit table, set delayed_withdrawn in exits
4 years ago
Eduard S
e731b79e96
Fix exit table, set delayed_withdrawn in exits
- In exit table, `instant_withdrawn`, `delayed_withdraw_request`, and
`delayed_withdrawn` were referencing batch_num. But these actions happen
outside a batch, so they should reference a block_num.
- Process delayed withdrawns:
- In Synchronizer, first match a Rollup delayed withdrawn request, with the
WDelayer deposit (via TxHash), and store the owner and token associated
with the delayed withdrawn.
- In HistoryDB: store the owner and token of a delayed withdrawal request
in the exit_tree, and set delayed_withdrawn when the withdraw is done in
the WDelayer.
- Update dependency of sqlx to master
- Last release of sqlx is from 2018 October, and it doesn't support
`NamedQuery` with a slice of structs, which is used in this commit.
4 years ago
arnau
8cc165f562
Merge pull request #275 from hermeznetwork/feature/api-db-tests-til
Feature/api db tests til
4 years ago
Arnau B
bed25d424a
Use til for batches and blocks at historydb
4 years ago
a_bennassar
623c2e5ace
Merge pull request #274 from hermeznetwork/feature/swagger-review
Swagger review
4 years ago
Eduard S
b5c5b49fb3
Merge pull request #276 from hermeznetwork/feature/statedb-accounts-root-js-comp
Cmptbility test for Root StateDB Accounts tree
4 years ago
ToniRamirezM
6919b561a5
Swagger Review
Swagger Review
4 years ago
arnaucube
a9f112c4ce
Cmptbility test for Root StateDB Accounts tree
Checked with commonjs version:
c8414bd205
4 years ago
Eduard S
3a94363daf
Merge pull request #272 from hermeznetwork/feature/update-account-hash
Update Account Hash comp to match js version
4 years ago
arnaucube
def6f46d75
Update Account Hash comp to match js version
4 years ago
Toni Ramírez
37b82604da
Merge pull request #273 from hermeznetwork/feature/api-test
API state endpoint test
4 years ago
laisolizq
43e9bee9db
API state endpoint test
4 years ago
Toni Ramírez
6ec7a0b55d
Merge pull request #271 from hermeznetwork/feature/api-state-fee
API State RecommendedFee
4 years ago
laisolizq
9edf9d2168
API State RecommendedFee
4 years ago
a_bennassar
e8148e66ff
Merge pull request #269 from hermeznetwork/feature/integration12
Process withdrawals in HistoryDB, test withdrawals and vars in sync
4 years ago
Eduard S
9f5af0aa07
Process withdrawals in HistoryDB, test withdrawals and vars in sync
4 years ago
a_bennassar
a1b9720e77
Merge pull request #270 from hermeznetwork/feature/api-state-metrics
API State Metrics
4 years ago
ToniRamirezM
55a78fbd72
API State Metrics
4 years ago
Eduard S
8190755d49
Merge pull request #268 from hermeznetwork/feature/wrapped-in-struct
Refactor api pagination
4 years ago
a_bennassar
a473070f65
Merge pull request #267 from hermeznetwork/feature/api-state
API add get state
4 years ago
laisolizq
cc6446e019
API add get state
4 years ago
Arnau B
d2e9196fba
Refactor api pagination
4 years ago
Eduard S
a4886c99ef
Merge pull request #265 from hermeznetwork/feature/zkinputs1
StateDB group Fee txs and ZKInputs gen of Fee txs & Update tx bytes parsers methods
4 years ago
arnaucube
900494fd8e
StateDB group Fee txs and ZKInputs gen of Fee txs
4 years ago
arnaucube
fac8577bad
Update tx bytes parsers methods
4 years ago
Eduard S
220fd992c5
Merge pull request #263 from hermeznetwork/feature/wrapped-in-struct
Put api DBs into struct
4 years ago
arnau
4a29cafcb7
Merge pull request #264 from hermeznetwork/feature/integration11
Add DebugAPI to Node, fix StateDB
4 years ago
Eduard S
5b6639a947
Add DebugAPI to Node, fix StateDB
- Allow starting the DebugAPI from the node via config
- In StateDB:
- Make checkpoints when ProcessTxs() succeeds
- Remove extra hardcoded `statedb` path that was redundant
- Replace hardcoded `[:4]` by `[:]` when parsing idx, which failed because
idx is 6 bytes length now.
- Extra: In node, use waitgroup instead of `stoppedXXX` channels to wait for
syncrhonizer goroutines to finish.
4 years ago
Arnau B
1112ded933
Put api DBs into struct
4 years ago