diff --git a/experiments/cross-chain-bridge/localnet/app-rewards-harness.mjs b/experiments/cross-chain-bridge/localnet/app-rewards-harness.mjs index 9ab3d7e..11244e3 100644 --- a/experiments/cross-chain-bridge/localnet/app-rewards-harness.mjs +++ b/experiments/cross-chain-bridge/localnet/app-rewards-harness.mjs @@ -61,13 +61,25 @@ const EVIDENCE_FILE = process.env.OZ_EVIDENCE_FILE ?? null const REWARD_TIMEOUT_MS = Number(process.env.OZ_REWARD_TIMEOUT_S ?? 900) * 1000 const TRAFFIC_TIMEOUT_MS = Number(process.env.OZ_TRAFFIC_TIMEOUT_S ?? 300) * 1000 const POLL_INTERVAL_MS = 5000 +// Scan ingests a transaction from the SV participant after the submitting +// participant has committed it. This bounds the wait for that ingestion. +const SCAN_TIMEOUT_MS = 120 * 1000 const LEDGER_TOKEN = process.env.OZ_LEDGER_TOKEN_FILE ? readFileSync(process.env.OZ_LEDGER_TOKEN_FILE, 'utf8').trim() : null +// Templates of Splice's `splice-amulet` Daml package, addressed by package +// name (`#::