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

tron native support #216

Merged
merged 40 commits into from
Oct 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 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
46930d7
update cancel_unfreezeV2_amount definition
tmcgroul Sep 29, 2024
fd79a53
handle empty block responses
tmcgroul Sep 30, 2024
bd3abb7
fixes
tmcgroul Oct 1, 2024
74a2d53
rewrite tron-stream to tron-processor
tmcgroul Oct 4, 2024
929b698
adjust tron-usdt example
tmcgroul Oct 4, 2024
e35d0d8
change data chunk naming pattern
tmcgroul Oct 4, 2024
eb47d4b
add missing dependency to substrate-ingest
tmcgroul Oct 4, 2024
0a2d50f
changes
tmcgroul Oct 4, 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@subsquid/substrate-ingest",
"comment": "add typescript to dev dependencies",
"type": "patch"
}
],
"packageName": "@subsquid/substrate-ingest"
}
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-processor/tron_2024-10-04-16-35.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@subsquid/tron-processor",
"comment": "",
"type": "none"
}
],
"packageName": "@subsquid/tron-processor"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@subsquid/util-internal-archive-layout",
"comment": "make getShortHash use last bytes",
"type": "major"
}
],
"packageName": "@subsquid/util-internal-archive-layout"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@subsquid/util-internal-dump-cli",
"comment": "change data chunk naming pattern",
"type": "major"
}
],
"packageName": "@subsquid/util-internal-dump-cli"
}
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