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
Eduard S
0277210c39
Extend ethclient test, implement new TxID spec
- Implement new TxID spec that distinguishes L1UserTx and L1CoordinatorTx
- Replace some type []*Foo by []Foo
- Fix HistoryDB & L2DB bug: in case of error, a rollback was applied and the returned error was nil
- Reorder inserts in historydb.NewHistoryDB() to follow foreign key dependencies
- Add initial synchronizer test with test.Client (for now, only tested l1UserTxs, blocks, addToken)
- Update L1UserTx event in test.Client
4 years ago
Eduard S
1a85f15d27
Fix conflicts and update dependencies of ethclient
4 years ago
Eduard S
650911cda3
Add methods to get ERC20 constants
4 years ago
a_bennassar
49366e3fa4
Feature/null refactor ( #173 )
* WIP: rebase
* Make nullable fields use pointers
4 years ago
Eduard S
0fc4930652
Update test ethclient and coordinator
4 years ago
laisolizq
7a3407a561
Update ethclient wdelayer & add auction events
4 years ago
Eduard S
1386f4b5e1
Pass tokenAddress to AuctionClient constructor
4 years ago
arnaucube
3013fbacb6
Change endianness to BigEndian :(
Change endianness to BigEndian (ಥ﹏ಥ), spec has been updated to achieve
compatibility with js & smart contracts & circuits implementations.
4 years ago
laisolizq
729f37c912
Update ethclient auction & add wdelayer
4 years ago
Eduard S
63be61f527
Update test.Client, replace some big.Int by int/int64 in eth, fix lints
4 years ago
Eduard S
852cd762d3
Add reverts, forge in test ethClient, update auction
4 years ago
Eduard S
56fe0fb05f
Implement basic auction funcs in test.Client
4 years ago
Eduard S
bcd93fee36
Implement initial version of test.Client
4 years ago
Eduard S
003c353f05
Add ethclient full skeleton
4 years ago
arnaucube
c523b4af70
Add mock EthClient for testing
4 years ago