Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/grant 1 #5

Closed
wants to merge 26 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
23e4e80
chore(deps) upgrade dependencies, fix typo
tmrdlt Feb 16, 2024
bbd31fa
feat: add history tables and implement history importer task
tmrdlt Mar 5, 2024
768b1b6
feat: add scheduling, resolve todos, cleanup & improve
tmrdlt Mar 6, 2024
ee8e1ed
feat: replace lossless-json with int-as-string parameter
tmrdlt Mar 6, 2024
b45e6e6
feat: add run task function handling isSyncRunning logic
tmrdlt Mar 6, 2024
b8b11ac
refactor: change location of clients module + minor codestyle things
tmrdlt Mar 6, 2024
a761069
refactor: revert schema change
tmrdlt Mar 6, 2024
191af7c
fix: error print on task lvl
tmrdlt Mar 7, 2024
19eca59
feat(importer): skip if recent error. insert initial liquidity on fir…
tmrdlt Mar 12, 2024
3176069
refactor: implement PR feedback
tmrdlt Mar 12, 2024
71d55d7
refactor: remove unnecessary async in function def
tmrdlt Mar 12, 2024
cf26ec0
refactor(importer): thoroughly use Encoded string types everywhere
tmrdlt Mar 12, 2024
99d8cf1
fix(importer): fix block run, when other operation is still running
tmrdlt Mar 12, 2024
feba728
refactor(importer): don't always refetch last microblock
tmrdlt Mar 12, 2024
20b5ffe
refactor(importer): simplify is first run check
tmrdlt Mar 12, 2024
c1bdd15
feat(importer): fetch only as many pages as needed
tmrdlt Mar 13, 2024
54f696a
feat: implemented history validation task
tmrdlt Mar 7, 2024
2becdf9
fix: readd function after rebase
tmrdlt Mar 12, 2024
271adab
refactor(validator): resolve todos, move sorting to db
tmrdlt Mar 12, 2024
e173b55
fix(validator): adjustments after rebase
tmrdlt Mar 13, 2024
99f9db2
refactor(validator): improving typing of hashOrKbi param
tmrdlt Mar 13, 2024
0f4f5ac
refactor(validator): feedback: improve cron notation, avoid double await
tmrdlt Mar 13, 2024
ac98475
feat: add init and pair liquidity info history migrations
tmrdlt Mar 13, 2024
10f42dc
fix(validator): fix cronjob frequency
tmrdlt Mar 13, 2024
f7620dd
ci: add github action to lint and prettify on PR lvl
tmrdlt Mar 13, 2024
a262462
feat: allow only running one task (importer or validator) at a time
tmrdlt Mar 13, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 30 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: Code Check

on:
push:
branches:
- main
pull_request: {}

concurrency:
group: ${{ github.job }}-${{ github.ref }}
cancel-in-progress: true

jobs:
lint:
runs-on: ubuntu-latest
name: Lint
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Lint
run: npm run lint:check
- name: Prettier
run: npm run format:check
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
$ npm install
```

## Databse
## Database
```
# after any schema definition change run
$ npm install
Expand Down
Loading
Loading