Arnau B
f77ea04c2e
Calulate total collected batch fee and fix merkleproof api format
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