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
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