Skip to content
Closed
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 crates/config/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ impl Config {
if self.tap.rav_request.timestamp_buffer_secs < Duration::from_secs(10) {
tracing::warn!(
"Your `tap.rav_request.timestamp_buffer_secs` value it too low. \
You may discart receipts in case of any synchronization issues, \
You may discard receipts in case of any synchronization issues, \
a recommended value is about 30 seconds."
);
}
Expand Down
12 changes: 9 additions & 3 deletions setup-test-network.sh
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ if [ ! -d "local-network" ]; then
git clone https://github.com/semiotic-ai/local-network.git
cd local-network
# Checkout to a branch with no dipper
git checkout suchapalaver/main-no-dipper
git checkout suchapalaver/test/horizon
cd ..
fi

Expand Down Expand Up @@ -233,15 +233,21 @@ timeout 30 bash -c 'until docker ps | grep indexer | grep -q healthy; do sleep 5
timeout 30 bash -c 'until docker ps | grep tap-agent | grep -q healthy; do sleep 5; done'

echo "Building gateway image..."
source local-network/.env
docker build -t local-gateway:latest ./local-network/gateway

echo "Running gateway container..."
docker run -d --name gateway \
--network local-network_default \
-p 7700:7700 \
-v $(pwd)/local-network/.env:/opt/.env:ro \
-v $(pwd)/local-network/contracts.json:/opt/contracts.json:ro \
-v "$(pwd)/local-network/contracts.json":/opt/contracts.json:ro \
-e RUST_LOG=info,graph_gateway=trace \
-e ACCOUNT0_SECRET="$ACCOUNT0_SECRET" \
-e ACCOUNT0_ADDRESS="$ACCOUNT0_ADDRESS" \
-e GATEWAY_API_KEY="$GATEWAY_API_KEY" \
-e GRAPH_NODE_GRAPHQL="$GRAPH_NODE_GRAPHQL" \
-e REDPANDA_KAFKA="$REDPANDA_KAFKA" \
-e INDEXER_SERVICE="$INDEXER_SERVICE" \
--restart on-failure:3 \
local-gateway:latest

Expand Down
Loading