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

batch-processor: support hot blocks #344

Closed
wants to merge 43 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
8b97251
implement tron-dump
tmcgroul Oct 31, 2023
d2743b2
implement tron-ingest
tmcgroul Nov 2, 2023
b912808
update interfaces
tmcgroul Nov 7, 2023
8eddd7b
describe tron-dump target in Dockerfile
tmcgroul Nov 9, 2023
4ed9050
make tron-processor compilable
tmcgroul Nov 15, 2023
c58f07c
try to index tron usdt
tmcgroul Nov 15, 2023
8c0a000
decode tron log data
tmcgroul Nov 16, 2023
8ee7f39
describe all entities fields
tmcgroul Nov 21, 2023
f70f318
extract tron-data-raw from tron-dumper
tmcgroul Nov 22, 2023
119e4e5
make tron-dump dependant on tron-data-raw
tmcgroul Nov 22, 2023
a2f7ff8
make tron-ingest to use tron-data-raw
tmcgroul Nov 24, 2023
5f9b287
extract interfaces into tron-data package
tmcgroul Nov 25, 2023
223ba34
refactor tron-processor
tmcgroul Nov 25, 2023
71ef65c
Merge branch 'master' into tron
tmcgroul Nov 25, 2023
b160805
configure dockerfile for tron-ingest
tmcgroul Nov 25, 2023
b160218
Merge branch 'master' into tron
tmcgroul Dec 1, 2023
5af8775
add prometheus metrics to tron-dump
tmcgroul Dec 1, 2023
c49ecf1
add ts as a dependency
tmcgroul Jan 4, 2024
cf3cabf
make transaction result optional
tmcgroul Jan 4, 2024
61acbfb
skip transaction info for a genesis block
tmcgroul Jan 4, 2024
63def6e
update types
tmcgroul Jan 26, 2024
deeb2f3
Merge branch 'master' into tron
tmcgroul Sep 20, 2024
15b7618
prepare tron stream
tmcgroul Sep 24, 2024
49b1e02
set finality confirmation to 0
tmcgroul Sep 24, 2024
9c7fb1d
adjust tron-usdt test project
tmcgroul Sep 24, 2024
61d2f81
clean up artifacts
tmcgroul Sep 24, 2024
80bdc8e
validate archive data
tmcgroul Sep 25, 2024
efcc3b1
Merge branch 'master' into tron
tmcgroul Sep 25, 2024
84dee66
add changes
tmcgroul Sep 25, 2024
5f9b596
delete chain-status-service from Dockerfile
tmcgroul Sep 25, 2024
fa3907d
review adjustments
tmcgroul Sep 27, 2024
1958010
validate data from http api
tmcgroul Sep 28, 2024
dbfb951
save
belopash Sep 25, 2024
e3cf9d3
save
belopash Sep 25, 2024
fcb34a5
save
belopash Sep 26, 2024
5e961f9
save
belopash Sep 26, 2024
521925b
save
belopash Sep 26, 2024
b3b2109
save
belopash Sep 26, 2024
4e34e4a
save
belopash Sep 26, 2024
91169a1
save
belopash Sep 27, 2024
f3b112d
save
belopash Sep 27, 2024
a8299a4
fix
belopash Sep 30, 2024
89c36b5
replace internal errors with assertions
belopash Sep 30, 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
18 changes: 18 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,24 @@ COPY --from=substrate-metadata-service-builder /squid/common/deploy /squid
ENTRYPOINT ["node", "/squid/substrate/substrate-metadata-service/bin/run.js"]


FROM builder AS tron-dump-builder
RUN node common/scripts/install-run-rush.js deploy --project @subsquid/tron-dump


FROM node AS tron-dump
COPY --from=tron-dump-builder /squid/common/deploy /squid
ENTRYPOINT ["node", "/squid/tron/tron-dump/bin/run.js"]


FROM builder AS tron-ingest-builder
RUN node common/scripts/install-run-rush.js deploy --project @subsquid/tron-ingest


FROM node AS tron-ingest
COPY --from=tron-ingest-builder /squid/common/deploy /squid
ENTRYPOINT ["node", "/squid/tron/tron-ingest/bin/run.js"]


FROM builder AS fuel-dump-builder
RUN node common/scripts/install-run-rush.js deploy --project @subsquid/fuel-dump

Expand Down
10 changes: 10 additions & 0 deletions common/changes/@subsquid/tron-data/tron_2024-09-25-13-23.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@subsquid/tron-data",
"comment": "",
"type": "none"
}
],
"packageName": "@subsquid/tron-data"
}
10 changes: 10 additions & 0 deletions common/changes/@subsquid/tron-dump/tron_2024-09-25-13-23.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@subsquid/tron-dump",
"comment": "",
"type": "none"
}
],
"packageName": "@subsquid/tron-dump"
}
10 changes: 10 additions & 0 deletions common/changes/@subsquid/tron-ingest/tron_2024-09-25-13-23.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@subsquid/tron-ingest",
"comment": "",
"type": "none"
}
],
"packageName": "@subsquid/tron-ingest"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@subsquid/tron-normalization",
"comment": "",
"type": "none"
}
],
"packageName": "@subsquid/tron-normalization"
}
10 changes: 10 additions & 0 deletions common/changes/@subsquid/tron-objects/tron_2024-09-25-13-23.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@subsquid/tron-objects",
"comment": "",
"type": "none"
}
],
"packageName": "@subsquid/tron-objects"
}
10 changes: 10 additions & 0 deletions common/changes/@subsquid/tron-stream/tron_2024-09-25-13-23.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@subsquid/tron-stream",
"comment": "",
"type": "none"
}
],
"packageName": "@subsquid/tron-stream"
}
4 changes: 3 additions & 1 deletion common/config/rush/deploy.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,9 @@
"@subsquid/solana-ingest",
"@subsquid/substrate-dump",
"@subsquid/substrate-ingest",
"@subsquid/substrate-metadata-service"
"@subsquid/substrate-metadata-service",
"@subsquid/tron-dump",
"@subsquid/tron-ingest"
],

/**
Expand Down
Loading
Loading