Skip to content

Commit 7c2e02e

Browse files
jayantkJayant Krishnamurthy
andauthored
[price-service] Document the spy filters in .env.sample (#472)
* document the filters * better doc Co-authored-by: Jayant Krishnamurthy <[email protected]>
1 parent 92c17ad commit 7c2e02e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

third_party/pyth/price-service/.env.sample

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
# Local DevNet:
22
SPY_SERVICE_HOST=0.0.0.0:7072
33

4-
## Filters (if provided) should be valid JSON like below:
4+
# Filters (if provided) should be valid JSON like below:
5+
# These filters tell the spy to only retrieve messages sent from certain chains/contracts.
6+
# See the docker-compose.<network>.yaml files in the price-service directory for the appropriate
7+
# configuration for a testnet/mainnet pyth price-service deployment.
58
SPY_SERVICE_FILTERS=[{"chain_id":1,"emitter_address":"71f8dcb863d176e2c420ad6610cf687359612b6fb392e0642b0ca6b1f186aa3b"}]
69

710
# Number of seconds to sync with spy to be sure to have latest messages

0 commit comments

Comments
 (0)