arnaubennassar
54508b0ba6
Add forge delay to api get state
3 years ago
arnaubennassar
4acfeb0ad9
Add API metric for time to forge L1 tx
3 years ago
arnaucube
63151a285c
Migrate all packages to use Float40
Migrate all packages to use Float40 & Add more test vectors at common
3 years ago
arnaucube
a8f6891aea
Add PoolL2Tx.Info about the status of the tx
PoolL2Tx.Info contains information about the status & State of the
transaction. As for example, if the Tx has not been selected in the last
batch due not enough Balance at the Sender account, this reason would
appear at this parameter.
This will help the client (wallet, batchexplorer, etc) to reason why a
L2Tx is not selected in the forged batches.
3 years ago
Arnau B
dd1657847e
Fix api resopnse format for recommended fee
3 years ago
ToniRamirezM
170da500db
Remove big.Int from state API
3 years ago
ToniRamirezM
ce6a271448
Remove bigints from API
3 years ago
Arnau B
b4d8e68730
Swagger improvements
3 years ago
Arnau B
a32f75db78
empty array instead of 404
3 years ago
Arnau B
6cd292b937
Include addrs in exit responses
3 years ago
Arnau B
6058d3c41a
Fix next forgers api response
3 years ago
Arnau B
6e7f860d61
Add forged txs in batch endpoints response
3 years ago
Arnau B
bc5fa92898
Add bootCoord to coord table, get coord by forgerAddr
3 years ago
Arnau B
8083e4fec3
Fix format of the MTP for exit endpoint
3 years ago
Eduard S
a7351992cd
Make coordinator more responsive
- API:
- Replace `emergencyModeStaringTime` by `emercengyModeStartingBlock`
- Synchronizer:
- Track emergency mode starting block
- cli/node
- Add working coordinator config
- coordinator:
- Retry handler for synchronizer stats in case of error (instead of
waiting for the next block to try again)
- On init, trigger an initial call to the handler for synced block
before waiting for the synchronizer, to force the coordinator to start
its logic even if there's no new block right after the node has been
started (very useful for running in testnet where the frequency of
blocks is variable)
- Merge Msg for synced block and updated vars into one: `MsgSyncBlock`.
3 years ago
Eduard S
d1ced80e62
Update API with new buckets synchronization
3 years ago
jleebee
2d85a4d6b9
Update swagger.yml
3 years ago
arnaucube
9d0b278d50
Update missing LoadAmount to DepositAmount
Related to 445f26ec9f
3 years ago
Arnau B
e1d34e3796
Add amount success and load amount success
3 years ago
Arnau B
445f26ec9f
Rename load amount to deposit amount
4 years ago
Arnau B
5fd258ee07
Use flags for effective amounts in SQL schema
4 years ago
laisolizq
75c6d8f14e
Updates API to new changes
4 years ago
Arnau B
3e3eb3ffe6
Update API mock server URL for swagger UI
4 years ago
Arnau B
5991752e30
Improve swagger doc
4 years ago
Arnau B
86029ca7de
Improve swagger doc
4 years ago
Arnau B
ce1218e28a
Integrate til into api
4 years ago
ToniRamirezM
6919b561a5
Swagger Review
Swagger Review
4 years ago
laisolizq
43e9bee9db
API state endpoint test
4 years ago
Arnau B
d2e9196fba
Refactor api pagination
4 years ago
laisolizq
22f0a45118
ItemID to uint64 & check timestamp
4 years ago
ToniRamirezM
b840ceb57a
Account API
4 years ago
laisolizq
5012b82914
API add slots endpoints
4 years ago
laisolizq
2cf41d3707
API config refactor
4 years ago
laisolizq
04d969c274
API add pending withdraws filter on GET /exits
4 years ago
laisolizq
aa6cb6f818
API add bids endpoint
4 years ago
Arnau B
a329d894d2
Refactor api txs
4 years ago
laisolizq
82ee7c6aa7
Add struct get state endpoint
4 years ago
Arnau B
28c0164525
Impl api get batch(es)
4 years ago
Arnau B
7c8f380637
Add apitypes to avoid parsing from/to DB
4 years ago
Arnau B
ede6c33a18
Impl account creation auth endpoints
4 years ago
Arnau B
9971f13646
Add the ability to run the API forever when testing
4 years ago
ToniRamirezM
f314498a26
Coordinators methods for API
4 years ago
Arnau B
f77ea04c2e
Calulate total collected batch fee and fix merkleproof api format
4 years ago
Arnau B
006bbf3321
Implement tx pool endpoints
4 years ago
laisolizq
f90de219ac
Add config endpoint
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
Arnau B
fe7d38843e
Impls exit endpoints and change pagination to cursor
4 years ago
a_bennassar
49366e3fa4
Feature/null refactor ( #173 )
* WIP: rebase
* Make nullable fields use pointers
4 years ago