Arnau B
233ecc4704
Refactor api exits
4 years ago
Arnau B
8c9d13ffa5
Refactor account creation auth endpoints
4 years ago
Arnau B
cbeca0f76e
Insert ETH as HistoryDB token
4 years ago
Arnau B
e0e3299d9f
Imp api get full-batches
4 years ago
laisolizq
aa6cb6f818
API add bids endpoint
4 years ago
Arnau B
a329d894d2
Refactor api txs
4 years ago
ToniRamirezM
b521a77fc5
API Coordinator Refactor
4 years ago
laisolizq
bc34f3456b
API Update tokens endpoint
4 years ago
laisolizq
82ee7c6aa7
Add struct get state endpoint
4 years ago
Arnau B
28c0164525
Impl api get batch(es)
4 years ago
Arnau B
7c8f380637
Add apitypes to avoid parsing from/to DB
4 years ago
Arnau B
ede6c33a18
Impl account creation auth endpoints
4 years ago
Arnau B
9971f13646
Add the ability to run the API forever when testing
4 years ago
ToniRamirezM
f314498a26
Coordinators methods for API
4 years ago
Arnau B
f77ea04c2e
Calulate total collected batch fee and fix merkleproof api format
4 years ago
Arnau B
006bbf3321
Implement tx pool endpoints
4 years ago
laisolizq
f90de219ac
Add config endpoint
4 years ago
Eduard S
88ddbbcddc
Delete tmp folders from tests, Resolve #105
4 years ago
laisolizq
043710112d
Add get tokens endpoint
4 years ago
Alberto Elias
b2f0b2e314
Updates request and load amounts
4 years ago
Alberto Elias
ce283d4419
More realistic example amounts
4 years ago
laisolizq
63a4f3c8b6
Add get token endpoint
4 years ago
Arnau B
fe7d38843e
Impls exit endpoints and change pagination to cursor
4 years ago
Arnau B
5097939b12
Avoid using pointers in common
4 years ago
Eduard S
b14495cfcc
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
4 years ago
a_bennassar
49366e3fa4
Feature/null refactor ( #173 )
* WIP: rebase
* Make nullable fields use pointers
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
Alberto Elias
cf14f495c3
Have BigInt be a proper big value that has 18 decimals
4 years ago
arnaucube
9bb4a4ec1b
Add TxID calculation & New{Layer}Tx Type
Add TxID calculation & New{Layer}Tx Type
New{Layer}Tx methods that compute the `TxID` & `TxType` values from the
transaction values:
- NewL1Tx
- NewL2Tx
- NewPoolL2Tx
Add TxID Scanner & Valuer for database/sql
HistoryDB & L2DB & API packages tests will need to be addapted to the
TestTransaction generation once is done.
4 years ago
a_bennassar
c6f70f3177
Feature/merge history l2 tables ( #156 )
* WIP rebase
* Combine both SQL DBs
* API and DB refactor
4 years ago
ToniRamirezM
ac677694fe
Helper methods for Synchronizer and TX refactor
4 years ago
Arnau B
85fe885265
Add GET histroy-transactions endpoint
4 years ago