laisolizq
043710112d
Add get tokens endpoint
2020-10-19 10:14:18 +02:00
a_bennassar
98255b99be
Merge pull request #200 from hermeznetwork/feature/api-gettoken
...
Add get token endpoint
2020-10-15 15:14:18 +02:00
laisolizq
63a4f3c8b6
Add get token endpoint
2020-10-15 14:25:04 +02:00
Eduard S
8dbcdaf4ea
Merge pull request #198 from hermeznetwork/fix/rqcompresseddata
...
Fix/rqcompresseddata
2020-10-15 11:59:38 +02:00
Eduard S
db22d8538e
Merge pull request #197 from hermeznetwork/feature/transakcio-coordtxs
...
Add transakcio coordinator tx instruction feature
2020-10-15 11:52:45 +02:00
arnaucube
d7a1ba19b9
Fix PoolL2Tx.RqTxCompressedData
2020-10-14 18:30:58 +02:00
arnaucube
17ff917a20
Add transakcio coordinator tx instruction feature
...
Transakcio:
- Transaction generation to fail when Transfer to an account that don't exist (not created yet)
- Add CreateAccountDepositCoordinator instruction feature
- Updated lang.go instruction type parser approach for more simplicity of code
- Remove `*testing.T` from transactions generation methods, use `log.Fatal` instead
2020-10-14 17:17:28 +02:00
Eduard S
a49d3bfa67
Merge pull request #195 from hermeznetwork/feature/ethclient16-sc
...
Update ethclient rollup iteration 3
2020-10-14 16:33:21 +02:00
Eduard S
9684e7ae47
Update importers of eth, use variable length feeIdxCoordinator
2020-10-14 16:07:18 +02:00
laisolizq
a405ab3a20
Update ethclient rollup iteration 3
2020-10-14 13:22:34 +02:00
Eduard S
250f1aa119
Merge pull request #194 from hermeznetwork/feature/txsel-noncesorting0
...
Add TxSel Nonce sort. Fix surplus from refactors
2020-10-14 11:45:46 +02:00
arnaucube
1a2f769b5d
Add TxSel Nonce sort. Fix surplus from refactors
...
- Add TxSel Nonce sort
- Fix surplus from refactors
- StateDB reuse computation of ToIdx across Synchronizer, TxSelector,
BatchBuilder
2020-10-14 11:38:40 +02:00
arnau
c145147e6e
Merge pull request #179 from hermeznetwork/feature/api-exits
...
Impl exit edpoint and refactor pagination
2020-10-14 11:16:03 +02:00
Arnau B
fe7d38843e
Impls exit endpoints and change pagination to cursor
2020-10-14 10:06:28 +02:00
Eduard S
c6d71a48af
Merge pull request #192 from hermeznetwork/feature/transakcio
...
Feature/transakcio
2020-10-13 11:36:59 +02:00
arnaucube
431df55120
Add transakcio set type define, add set load [...]
...
Add transakcio set type definition, add set loading, move transakcio to
package, adapt branch to last master updates (fix compile due new common
types & git conflicts).
Update tests to pass the test, pending to adapt to new Transakcio
interface.
2020-10-09 20:00:43 +02:00
arnaucube
b40bccfc00
Add Transakcio block&batch txs generationfrom code
2020-10-09 12:49:12 +02:00
arnaucube
182e3d36f5
Add GeneratePoolL2Txs for a parsed set
2020-10-09 12:49:12 +02:00
arnaucube
06ae1897d8
Add Transakcio new parser for the new lang spec
2020-10-09 12:49:12 +02:00
Eduard S
3eec54a7e6
Merge pull request #191 from hermeznetwork/feature/fix-pr-187
...
Fix PR #187
2020-10-09 12:48:47 +02:00
arnaucube
bdbbde47bf
Fix PR #187
...
(#187 PR was done before another PR (#186 ) was merged into master, and
when 187 was merged to master, was not compiling due changes from #186
not applied yet to #187 )
2020-10-09 12:36:02 +02:00
arnau
f142e23c45
Merge pull request #187 from hermeznetwork/feature/ethclient15-sc
...
Update ethclient rollup iteration 2
2020-10-09 12:17:06 +02:00
arnau
3de272a75b
Merge pull request #186 from hermeznetwork/feature/unnullify
...
Change pointers to nil in common (remove common.Struct.parameters pointers for Idx & EthAddr. Update common parameters)
2020-10-08 21:34:33 +02:00
Arnau B
5097939b12
Avoid using pointers in common
2020-10-08 16:42:16 +02:00
Eduard S
d1002721f7
Remove nolints
2020-10-08 16:40:49 +02:00
Eduard S
cbc46db6da
Update test ethclient, rename rollup var
2020-10-08 16:37:43 +02:00
laisolizq
1c54beca5a
Update ethclient rollup iteration 2
2020-10-08 13:18:34 +02:00
arnau
5ec18f0378
Merge pull request #185 from hermeznetwork/feature/integration2
...
Feature/integration2
2020-10-08 12:51:10 +02:00
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
2020-10-07 17:03:39 +02:00
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
2020-10-07 16:41:51 +02:00
a_bennassar
3d7b71e1fd
Merge pull request #182 from hermeznetwork/feature/ethclient14-sc
...
Update ethclient contracts & rollup iteration 1
2020-10-07 11:59:11 +02:00
Eduard S
1a85f15d27
Fix conflicts and update dependencies of ethclient
2020-10-06 18:16:59 +02:00
laisolizq
cedbc07b7f
Merge pull request #181 from hermeznetwork/feature/erc20
...
Add methods to get ERC20 constants
2020-10-06 17:16:22 +02:00
laisolizq
202b98b3e6
Update ethclient contracts & rollup iteration 1
2020-10-06 12:15:16 +02:00
Eduard S
650911cda3
Add methods to get ERC20 constants
2020-10-06 11:39:41 +02:00
arnau
15a122a6a0
Merge pull request #178 from hermeznetwork/feature/codec-funcs
...
Add L1CoordTx & L2Tx byte parsers functions
2020-10-06 11:12:58 +02:00
a_bennassar
49366e3fa4
Feature/null refactor ( #173 )
...
* WIP: rebase
* Make nullable fields use pointers
2020-10-06 10:34:49 +02:00
laisolizq
aef6da38af
Add codec functions
2020-10-05 17:00:10 +02:00
Eduard S
7df9288977
Merge pull request #175 from hermeznetwork/feature/priceupdater-to-db
...
Connect price updater to historydb
2020-10-05 16:58:49 +02:00
Eduard S
9e4f020c2b
Merge pull request #171 from hermeznetwork/feature/processtx-l2tx-nonces
...
Add StateDB compute nonces on ProcessTx L2Tx
2020-10-02 11:59:31 +02:00
arnaucube
3374a4754d
Add StateDB compute nonces on ProcessTx L2Tx
...
Add StateDB compute nonces on ProcessTx L2Tx, and update StateDB for
type TypeSynchronizer, TypeTxSelector, TypeBatchBuilder
2020-10-02 11:54:58 +02:00
Arnau B
f653ff8a73
Connect price updater to historydb
2020-10-02 10:13:48 +02:00
a_bennassar
e539ebc679
Merge pull request #174 from hermeznetwork/big-bigint
...
Have BigInt be a proper big value that has 18 decimals
2020-10-01 18:33:08 +01:00
Alberto Elias
cf14f495c3
Have BigInt be a proper big value that has 18 decimals
2020-10-01 19:29:13 +02:00
arnau
0362afc194
Merge pull request #145 from hermeznetwork/feature/integration
...
Update test ethclient and coordinator
2020-10-01 18:10:57 +02:00
Eduard S
0fc4930652
Update test ethclient and coordinator
2020-10-01 11:34:59 +02:00
Eduard S
d71871c8b7
Merge pull request #165 from hermeznetwork/feature/txprocessor-l2tx
...
Update TxProcessor L2Tx logic for case ToIdx==0
2020-10-01 11:10:36 +02:00
arnaucube
11c45cfc2f
Update TxProcessor L2Tx logic for case ToIdx==0
2020-10-01 10:47:44 +02:00
a_bennassar
938ef84b9b
Merge pull request #163 from hermeznetwork/feature/txid0
...
Add TxID calculation & New{Layer}Tx Type
2020-09-30 17:22:03 +01:00
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.
2020-09-30 15:37:13 +02:00