fix(gateway): set mainnet VECTOR_ZERO_TIME_MS + ref-script UTxOs in compose
Without VECTOR_ZERO_TIME_MS the live tx builder defaults to the testnet genesis, placing PostEscrow validity bounds ~51 days in the future (Ogmios 3118). Escrow spends (Accept/Reclaim) also need ESCROW_REF_UTXO. Mirror buyer/supplier mainnet env. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -27,6 +27,13 @@ services:
|
|||||||
NETWORK_ID: "1"
|
NETWORK_ID: "1"
|
||||||
GATEWAY_PORT: "8080"
|
GATEWAY_PORT: "8080"
|
||||||
GATEWAY_DB_DIR: /repo/data/gateway
|
GATEWAY_DB_DIR: /repo/data/gateway
|
||||||
|
# Mainnet chain genesis (slot↔wallclock). MUST match buyer/supplier or
|
||||||
|
# PostEscrow validity bounds land ~51 days off and Ogmios rejects (code 3118).
|
||||||
|
VECTOR_ZERO_TIME_MS: "1756485600000"
|
||||||
|
# On-chain reference-script UTxOs (escrow spending validator) used by
|
||||||
|
# Accept/Reclaim/Submit. Same values the buyer/suppliers use on mainnet.
|
||||||
|
ESCROW_REF_UTXO: c8d84c6d67ec67a1efe5e9c6c06d53020e05d1bb96d1c55ecb1eb7d5010c4d54#0
|
||||||
|
ADVERT_REF_UTXO: c8d84c6d67ec67a1efe5e9c6c06d53020e05d1bb96d1c55ecb1eb7d5010c4d54#1
|
||||||
volumes:
|
volumes:
|
||||||
- gateway-mainnet-data:/repo/data/gateway
|
- gateway-mainnet-data:/repo/data/gateway
|
||||||
healthcheck:
|
healthcheck:
|
||||||
|
|||||||
Reference in New Issue
Block a user