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

sql backend w/ receipt log indexing #883

Merged
merged 85 commits into from
May 31, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
85 commits
Select commit Hold shift + click to select a range
34e4f54
Receipt log sql indexer
tgmichel Oct 21, 2022
8e56f99
Wip unify worker and backend
tgmichel Oct 25, 2022
2a23149
Wip lay out service
tgmichel Oct 26, 2022
50a510e
Remove old crate
tgmichel Oct 26, 2022
8248984
mapping sync works (wip genesis)
tgmichel Oct 26, 2022
fa0bb5c
Genesis block indexing
tgmichel Oct 27, 2022
baf725c
General rpc update to async
tgmichel Oct 27, 2022
2cd155d
WIP filter logs sql
tgmichel Nov 3, 2022
487642d
Fix mapping-sync tests
tgmichel Nov 3, 2022
d269e21
WIP filter logs sql
tgmichel Nov 3, 2022
d41542c
Test filter_logs
tgmichel Nov 4, 2022
dcea8dd
Fix tests
tgmichel Nov 4, 2022
25a7992
Make it build and pass tests again
tgmichel Nov 4, 2022
b4461fe
Use sql backend in rpc
tgmichel Nov 8, 2022
fcbfd4b
Run ts tests with sql + ci
tgmichel Nov 8, 2022
8b9f408
Merge branch 'master' into tgm-fc-log-indexer
tgmichel Nov 10, 2022
22a10ff
Fix key-value
tgmichel Nov 10, 2022
9d7045e
editorconfig
tgmichel Nov 10, 2022
f25de3d
taplo
tgmichel Nov 10, 2022
bd2f945
clippy
tgmichel Nov 10, 2022
f00932c
Always fire interval first
tgmichel Nov 11, 2022
f1b9104
Merge branch 'master' into tgm-fc-log-indexer
tgmichel Feb 16, 2023
8f67251
Try move indexing
tgmichel Nov 11, 2022
e85646e
Always fire interval first
tgmichel Nov 11, 2022
9a0931c
await on logs task
tgmichel Nov 15, 2022
63d4f70
wal journal mode
tgmichel Nov 15, 2022
c50f35f
Additional logging
tgmichel Nov 16, 2022
a4c23e2
Add pragmas + optimize vec insert
tgmichel Nov 17, 2022
fd5596e
More logs
tgmichel Nov 17, 2022
f4c2d26
More logs
tgmichel Nov 17, 2022
be8cc24
Move block metadata state read to blocking thread
tgmichel Nov 17, 2022
553d3ef
Tweak filter_logs query
tgmichel Nov 21, 2022
b9c475c
Update indexes
tgmichel Nov 29, 2022
7fc6a56
Additional metadata logging
tgmichel Dec 21, 2022
9943e38
Fix trailing wildcard bug + add more tests
tgmichel Dec 27, 2022
332a425
Improve topic input sanitization
tgmichel Dec 28, 2022
583d0fa
Move `block_number` column from `logs` to `blocks`
tgmichel Dec 28, 2022
a6a547a
Add and handle `is_canon` column
tgmichel Dec 29, 2022
4f8b7da
Use ethereum digest in sync worker tests
tgmichel Feb 16, 2023
68e8dfe
Proper way of handling canonicalization + tests
tgmichel Dec 30, 2022
8ab55d7
Add progress handler timeout for sqlx queries
nbaztec Jan 3, 2023
0a2f73c
improve query building
nbaztec Jan 6, 2023
8aa3440
add cli params to tweak sql, fixes non canon import bug and sql query
nbaztec Jan 19, 2023
8aee612
add tests, fix redundant cloning
nbaztec Jan 20, 2023
e48eccc
improve docs and tests
nbaztec Jan 23, 2023
4e4cd33
fix gaps in sync
nbaztec Jan 24, 2023
b227389
Fix tests
tgmichel Feb 16, 2023
dc3ee4f
formatting
tgmichel Feb 17, 2023
a1c5e67
Merge branch 'master' into tgm-fc-log-indexer
tgmichel Feb 17, 2023
d290a97
editorconfig
tgmichel Feb 17, 2023
72dfbc8
fmt
tgmichel Feb 17, 2023
7e9b3c8
add sql backend pool size config
nbaztec Feb 20, 2023
abaeb11
Tmp disable threads pragma
tgmichel Feb 20, 2023
e1e6c76
Revert "Tmp disable threads pragma"
tgmichel Feb 20, 2023
5ed630a
Try CI fix, low cache, pool size and greater timeout
tgmichel Feb 20, 2023
fc084ac
revert timeout param
nbaztec Feb 21, 2023
4ce734e
add support for purge, move db in sql directory
nbaztec Feb 22, 2023
d4586da
bump
nbaztec Feb 22, 2023
6776db1
fix resume indexing, create indices at start, use spawn_blocking
nbaztec Feb 27, 2023
950a423
simplify num_ops_timeout type, add docs
nbaztec Feb 27, 2023
8e86bb3
use channles for indexing operations
nbaztec Mar 2, 2023
5973d1f
fix bugs, loop for check missing blocks, set canon query
nbaztec Mar 3, 2023
0f75517
cleanup, add docs
nbaztec Mar 3, 2023
38ee14b
fix filter query
nbaztec Mar 3, 2023
4948a7f
insert null for missing topics, check unindexed blocks
nbaztec Mar 6, 2023
f86199e
fix tests, add worker config
nbaztec Mar 6, 2023
ffc21be
merge with v0.9.38
nbaztec Mar 30, 2023
07fdcfd
merge master
nbaztec Mar 30, 2023
da5308d
fmt
nbaztec Mar 30, 2023
a006a84
fmt
nbaztec Mar 30, 2023
b5b31f8
fmt
nbaztec Mar 30, 2023
0ab0e09
clippy
nbaztec Mar 30, 2023
26af861
clippy
nbaztec Mar 30, 2023
b214e88
cleanup
nbaztec Mar 31, 2023
8f1bc27
use upstream sqlx
nbaztec Apr 5, 2023
a877b5e
lint
nbaztec Apr 5, 2023
a67174c
merge master
nbaztec Apr 13, 2023
092bad7
remove nightly feature
nbaztec Apr 19, 2023
a9df993
apply code suggestions
nbaztec Apr 20, 2023
811c9cb
Merge branch 'master' into tgm-fc-log-indexer
nbaztec May 16, 2023
7c0f200
Merge branch 'master' into tgm-fc-log-indexer
nbaztec May 16, 2023
a153293
rebase
tgmichel May 22, 2023
63aeb8c
disallow SyncStrategy::Normal for the time being
nbaztec May 22, 2023
b79534f
emit notifications from sql backend
tgmichel May 22, 2023
67ce0f8
update tests
tgmichel May 22, 2023
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
2 changes: 2 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ jobs:
run: cd ts-tests && npm run fmt-check
- name: Run functional tests
run: cd ts-tests && npm run build && npm run test
- name: Run functional tests (sql)
run: cd ts-tests && npm run build && npm run test-sql

lint:
name: 'Run lints'
Expand Down
Loading