Eduard S
54562c0367
Implement CalcFeeAmount, Resolve #140
4 years ago
Eduard S
a2bda1890d
Simplify eth code
4 years ago
arnau
edb466c996
Merge pull request #208 from hermeznetwork/feature/debugapi
Extend statedb and use prefixes, add debugapi
4 years ago
laisolizq
f90de219ac
Add config endpoint
4 years ago
Eduard S
4d90cd9a02
Merge pull request #207 from hermeznetwork/feature/tkcio-l1queues
Add L1UserTxs queues system to Transakcio
4 years ago
arnaucube
e89f89102c
Add L1 Queues system for tx generation in Trnskcio
4 years ago
Eduard S
44c70dfbcb
Replace cp -r in StateDB by checkpoints, Resolve #93
4 years ago
Eduard S
88ddbbcddc
Delete tmp folders from tests, Resolve #105
4 years ago
Eduard S
96ceb014bf
Implement an eficient memory storage, Resolve #120
4 years ago
Eduard S
6afbda5302
Extend statedb and use prefixes, add debugapi
In statedb:
- Store all values using prefixes for keys to allow iteration
- Add methods MTGetRoot, GetAccounts
Implement debugapi, an http server with debugging endpoints:
- debugAPI.GET("sdb/batchnum", a.handleCurrentBatch)
- debugAPI.GET("sdb/mtroot", a.handleMTRoot)
- debugAPI.GET("sdb/accounts", a.handleAccounts)
- debugAPI.GET("sdb/accounts/:Idx", a.handleAccount)
4 years ago
a_bennassar
eb54162fb8
Merge pull request #204 from hermeznetwork/feature/api-gettokens
Add get tokens endpoint
4 years ago
laisolizq
043710112d
Add get tokens endpoint
4 years ago
a_bennassar
c67b1df8cd
Merge pull request #201 from hermeznetwork/api-amounts
More realistic example amounts
4 years ago
Alberto Elias
b2f0b2e314
Updates request and load amounts
4 years ago
Eduard S
b6ebbbaf95
Merge pull request #199 from hermeznetwork/feature/tkcio-tokenregister
Add transakcio Token Register instructions parser
4 years ago
arnaucube
a6006ebde7
Add transakcio Token Register instructions parser
4 years ago
Alberto Elias
ce283d4419
More realistic example amounts
4 years ago
a_bennassar
98255b99be
Merge pull request #200 from hermeznetwork/feature/api-gettoken
Add get token endpoint
4 years ago
laisolizq
63a4f3c8b6
Add get token endpoint
4 years ago
Eduard S
8dbcdaf4ea
Merge pull request #198 from hermeznetwork/fix/rqcompresseddata
Fix/rqcompresseddata
4 years ago
Eduard S
db22d8538e
Merge pull request #197 from hermeznetwork/feature/transakcio-coordtxs
Add transakcio coordinator tx instruction feature
4 years ago
arnaucube
d7a1ba19b9
Fix PoolL2Tx.RqTxCompressedData
4 years ago
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
4 years ago
Eduard S
a49d3bfa67
Merge pull request #195 from hermeznetwork/feature/ethclient16-sc
Update ethclient rollup iteration 3
4 years ago
Eduard S
9684e7ae47
Update importers of eth, use variable length feeIdxCoordinator
4 years ago
laisolizq
a405ab3a20
Update ethclient rollup iteration 3
4 years ago
Eduard S
250f1aa119
Merge pull request #194 from hermeznetwork/feature/txsel-noncesorting0
Add TxSel Nonce sort. Fix surplus from refactors
4 years ago
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
4 years ago
arnau
c145147e6e
Merge pull request #179 from hermeznetwork/feature/api-exits
Impl exit edpoint and refactor pagination
4 years ago
Arnau B
fe7d38843e
Impls exit endpoints and change pagination to cursor
4 years ago
Eduard S
c6d71a48af
Merge pull request #192 from hermeznetwork/feature/transakcio
Feature/transakcio
4 years ago
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.
4 years ago
arnaucube
b40bccfc00
Add Transakcio block&batch txs generationfrom code
4 years ago
arnaucube
182e3d36f5
Add GeneratePoolL2Txs for a parsed set
4 years ago
arnaucube
06ae1897d8
Add Transakcio new parser for the new lang spec
4 years ago
Eduard S
3eec54a7e6
Merge pull request #191 from hermeznetwork/feature/fix-pr-187
Fix PR #187
4 years ago
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 )
4 years ago
arnau
f142e23c45
Merge pull request #187 from hermeznetwork/feature/ethclient15-sc
Update ethclient rollup iteration 2
4 years ago
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)
4 years ago
Arnau B
5097939b12
Avoid using pointers in common
4 years ago
Eduard S
d1002721f7
Remove nolints
4 years ago
Eduard S
cbc46db6da
Update test ethclient, rename rollup var
4 years ago
laisolizq
1c54beca5a
Update ethclient rollup iteration 2
4 years ago
arnau
5ec18f0378
Merge pull request #185 from hermeznetwork/feature/integration2
Feature/integration2
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
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
a_bennassar
3d7b71e1fd
Merge pull request #182 from hermeznetwork/feature/ethclient14-sc
Update ethclient contracts & rollup iteration 1
4 years ago
Eduard S
1a85f15d27
Fix conflicts and update dependencies of ethclient
4 years ago
laisolizq
cedbc07b7f
Merge pull request #181 from hermeznetwork/feature/erc20
Add methods to get ERC20 constants
4 years ago
laisolizq
202b98b3e6
Update ethclient contracts & rollup iteration 1
4 years ago