Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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: 1 addition & 1 deletion Dockerfile.sink
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ ENV SUBSTREAMS_ENDPOINTS_CONFIG_TRON="mainnet.tron.streamingfast.io:443"
ENV ON_MODULE_HASH_MISMATCH="warn"

# Create entrypoint script - dynamically find the .spkg file
RUN printf '#!/bin/bash\nset -e\n\nSPKG=$(ls /app/request-network-tron-*.spkg 2>/dev/null | head -1)\nif [ -z "$SPKG" ]; then\n echo "ERROR: No .spkg file found in /app/"\n exit 1\nfi\necho "Using package: $SPKG"\n\n# Setup the database schema first\necho "Setting up database schema..."\nsubstreams-sink-sql setup "$DSN" "$SPKG" || true\n\n# Run the sink\necho "Starting sink..."\nexec substreams-sink-sql run --on-module-hash-mismatch=${ON_MODULE_HASH_MISMATCH:-warn} "$DSN" "$SPKG"\n' > /entrypoint.sh && \
RUN printf '#!/bin/bash\nset -e\n\nSPKG=$(ls /app/request-network-tron-*.spkg 2>/dev/null | head -1)\nif [ -z "$SPKG" ]; then\n echo "ERROR: No .spkg file found in /app/"\n exit 1\nfi\necho "Using package: $SPKG"\n\n# Setup the database schema first\necho "Setting up database schema..."\nsubstreams-sink-sql setup "$DSN" "$SPKG" || true\n\n# Run the sink\necho "Starting sink..."\nexec substreams-sink-sql run --on-module-hash-mistmatch=${ON_MODULE_HASH_MISMATCH:-warn} "$DSN" "$SPKG"\n' > /entrypoint.sh && \
Comment thread
rodrigopavezi marked this conversation as resolved.
chmod +x /entrypoint.sh

# Health check
Expand Down
2 changes: 1 addition & 1 deletion tron/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tron/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "request-network-tron"
version = "0.1.0"
version = "0.1.1"
edition = "2021"
repository = "https://github.com/RequestNetwork/payments-substream"
license = "MIT"
Expand Down
2 changes: 1 addition & 1 deletion tron/substreams.yaml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
specVersion: v0.1.0
package:
name: request_network_tron
version: v0.1.0
version: v0.1.1
url: https://github.com/RequestNetwork/payments-substream
doc: |
Request Network TRON Substreams module for indexing ERC20FeeProxy payment events.
Expand Down
Loading