a1b6cb08d8
add: wip jetstream durable consumer
2023-03-02 09:12:39 +00:00
1ddff06502
feat (wip): add in-built chain subscription
...
* BREAKING: remove events interface -> use jetstream struct
* in-built chain subscription to update otx status
* potential fix for tasks: defer rollback nonce error detection
2023-03-01 17:13:23 +00:00
4dfc1725cb
feat: add in-built db migrator
...
- fix docker builds
- fix binary builds
2023-03-01 11:19:57 +00:00
add7f2a442
refactor: ctx propagation, api handlers
...
* use context timeout middleware for correct ctx propagation
* Fix bind error handling
* Fix validation error handling
* Fix HTTP error handling (4XX)
* tasker client now accepts ctx
* add recovery and body size middleware
2023-02-24 16:46:46 +00:00
40cb86f522
feat: add otx tracking API, add enums, minor fixes
...
* otx can nw be tracked at /api/track/:trackingId
* moved queries to queries folder
* fixed validation error check in ErrorHandler
* added enum package with enum types
* updated migrations: added enum tables
2023-02-21 17:35:41 +00:00
cf1f9f34c3
refactor: task handlers, emitter, tx signer, et.c.
...
* fallback to custom ethereum checksum validator -> https://github.com/go-playground/validator/issues/1073
* decouple jetsream emitter to separate package
* refactor task handlers into individual files
* add error handler for echo to capture unexpected errors and log them
* move handler dependencies into single struct container -> custodialContainer
* replace signer to use EIP 1559 signer -> celoutils v1
* Add 1 minutes timeout to all custodial tasks
2023-02-20 09:56:30 +00:00
4d13a14dc2
refactor: breaking API changes
...
Squashed commit of the following:
commit 05e1396121
Author: Mohammed Sohail <sohailsameja@gmail.com>
Date: Wed Feb 15 10:03:44 2023 +0300
feat: add status types to dispatcher
commit 397cd78ca9
Author: Mohammed Sohail <sohailsameja@gmail.com>
Date: Wed Feb 15 09:39:31 2023 +0300
deps: bump -> cic-celo-sdk
commit f2ba079232
Author: Mohammed Sohail <sohailsameja@gmail.com>
Date: Sun Feb 12 16:53:53 2023 +0300
snapshot: 12-ebening
commit 4f7909e4ee
Author: Mohammed Sohail <sohailsameja@gmail.com>
Date: Sun Feb 12 12:50:43 2023 +0300
xnapshot: 12-02
commit 773474cad9
Author: Mohammed Sohail <sohailsameja@gmail.com>
Date: Thu Feb 9 14:23:37 2023 +0300
update: deps initializers
commit 8a0880fcfc
Author: Mohammed Sohail <sohailsameja@gmail.com>
Date: Thu Feb 9 10:42:15 2023 +0300
wip: refactor taskers
commit 8676450122
Author: Mohammed Sohail <sohailsameja@gmail.com>
Date: Fri Feb 3 12:29:27 2023 +0300
refactor: decouple sql queries, remove transfer
* add inline docs
* removed transfer taks in prep for re-write
commit b4c09cd11a
Author: Mohammed Sohail <sohailsameja@gmail.com>
Date: Thu Feb 2 12:29:43 2023 +0000
refactor: cmd/service/* and api
2023-02-15 10:05:43 +03:00