Thanks @tejas_pyth, I’m trying to run price pusher but cannot submit the transaction (it’s keep retrying until timeout)
Here’s the logs:
pnpm run start solana \
--endpoint https://api.mainnet-alpha.sonic.game \
--keypair-file ~/.config/solana/id.json \
--shard-id 0 \
--price-config-file ./price-config.yaml \
--price-service-endpoint https://hermes.pyth.network/ \
--pyth-contract-address pythWSnswVUd12oZpeFP8e9CVaEqJg25g1Vtc2biRsT \
--pushing-frequency 30 \
--polling-frequency 5
> @pythnetwork/price-pusher@9.3.1 start /Users/antono/workspace/yolofi/pyth-crosschain/apps/price_pusher
> node lib/index.js solana --endpoint https\://api.mainnet-alpha.sonic.game --keypair-file /Users/antono/.config/solana/id.json --shard-id 0 --price-config-file ./price-config.yaml --price-service-endpoint https\://hermes.pyth.network/ --pyth-contract-address pythWSnswVUd12oZpeFP8e9CVaEqJg25g1Vtc2biRsT --pushing-frequency 30 --polling-frequency 5
using deprecated parameters for the initialization function; pass a single object instead
Warning: fragment with name GasCostsFragment already exists.
graphql-tag enforces all fragment names across your application to be unique; read more about
this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names
Warning: fragment with name chainInfoFragment already exists.
graphql-tag enforces all fragment names across your application to be unique; read more about
this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names
{"level":30,"time":1745917132856,"pid":8820,"hostname":"192.168.1.9.non-exists.ptr.local","msg":"Metrics server started on port 9090"}
{"level":30,"time":1745917132891,"pid":8820,"hostname":"192.168.1.9.non-exists.ptr.local","module":"Metrics","msg":"Metrics server started on port 9090"}
{"level":30,"time":1745917167009,"pid":8820,"hostname":"192.168.1.9.non-exists.ptr.local","module":"Controller","msg":"SONIC/USD (b2748e718cf3a75b0ca099cb467aea6aa8f7d960b381b3970769b5a2d6be26dc) is not available on the target network. Pushing the price."}
{"level":30,"time":1745917167009,"pid":8820,"hostname":"192.168.1.9.non-exists.ptr.local","module":"Controller","msg":"PYTH/USD (0bbf28e9a841a1cc788f6a361b17ca072d0ea3098a1e5df1c3922d06719579ff) is not available on the target network. Pushing the price."}
{"level":30,"time":1745917167009,"pid":8820,"hostname":"192.168.1.9.non-exists.ptr.local","module":"Controller","msg":"USDC/USD (eaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a) is not available on the target network. Pushing the price."}
{"level":30,"time":1745917167009,"pid":8820,"hostname":"192.168.1.9.non-exists.ptr.local","module":"Controller","msg":"USDT/USD (2b89b9dc8fdf9f34709a5b106b472f0f39bb6ca9ce04b0fd7f2e971688e2e53b) is not available on the target network. Pushing the price."}
{"level":30,"time":1745917167009,"pid":8820,"hostname":"192.168.1.9.non-exists.ptr.local","module":"Controller","priceIds":[{"id":"b2748e718cf3a75b0ca099cb467aea6aa8f7d960b381b3970769b5a2d6be26dc","alias":"SONIC/USD"},{"id":"0bbf28e9a841a1cc788f6a361b17ca072d0ea3098a1e5df1c3922d06719579ff","alias":"PYTH/USD"},{"id":"eaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a","alias":"USDC/USD"},{"id":"2b89b9dc8fdf9f34709a5b106b472f0f39bb6ca9ce04b0fd7f2e971688e2e53b","alias":"USDT/USD"}],"msg":"Some of the checks triggered pushing update. Will push the updates for some feeds."}
Retrying transaction 0 of 4 with signature: 5YA3vy94fiQBGCxMCVhCdKyJcApXubYUvSaReyGHRGQSuDa1pSykLNe3aPxZp1mJ4asLEdv8apuP6FbF5nC9chQN Retry count: 0
Retrying transaction 0 of 4 with signature: 5YA3vy94fiQBGCxMCVhCdKyJcApXubYUvSaReyGHRGQSuDa1pSykLNe3aPxZp1mJ4asLEdv8apuP6FbF5nC9chQN Retry count: 1
Retrying transaction 0 of 4 with signature: 5YA3vy94fiQBGCxMCVhCdKyJcApXubYUvSaReyGHRGQSuDa1pSykLNe3aPxZp1mJ4asLEdv8apuP6FbF5nC9chQN Retry count: 2
Retrying transaction 0 of 4 with signature: 5YA3vy94fiQBGCxMCVhCdKyJcApXubYUvSaReyGHRGQSuDa1pSykLNe3aPxZp1mJ4asLEdv8apuP6FbF5nC9chQN Retry count: 3
Retrying transaction 0 of 4 with signature: 5YA3vy94fiQBGCxMCVhCdKyJcApXubYUvSaReyGHRGQSuDa1pSykLNe3aPxZp1mJ4asLEdv8apuP6FbF5nC9chQN Retry count: 4
Retrying transaction 0 of 4 with signature: 5YA3vy94fiQBGCxMCVhCdKyJcApXubYUvSaReyGHRGQSuDa1pSykLNe3aPxZp1mJ4asLEdv8apuP6FbF5nC9chQN Retry count: 5
Retrying transaction 0 of 4 with signature: 5YA3vy94fiQBGCxMCVhCdKyJcApXubYUvSaReyGHRGQSuDa1pSykLNe3aPxZp1mJ4asLEdv8apuP6FbF5nC9chQN Retry count: 6
Retrying transaction 0 of 4 with signature: 5YA3vy94fiQBGCxMCVhCdKyJcApXubYUvSaReyGHRGQSuDa1pSykLNe3aPxZp1mJ4asLEdv8apuP6FbF5nC9chQN Retry count: 7
Retrying transaction 0 of 4 with signature: 5YA3vy94fiQBGCxMCVhCdKyJcApXubYUvSaReyGHRGQSuDa1pSykLNe3aPxZp1mJ4asLEdv8apuP6FbF5nC9chQN Retry count: 8
Retrying transaction 0 of 4 with signature: 5YA3vy94fiQBGCxMCVhCdKyJcApXubYUvSaReyGHRGQSuDa1pSykLNe3aPxZp1mJ4asLEdv8apuP6FbF5nC9chQN Retry count: 9
Retrying transaction 0 of 4 with signature: 5YA3vy94fiQBGCxMCVhCdKyJcApXubYUvSaReyGHRGQSuDa1pSykLNe3aPxZp1mJ4asLEdv8apuP6FbF5nC9chQN Retry count: 10
Retrying transaction 0 of 4 with signature: 5YA3vy94fiQBGCxMCVhCdKyJcApXubYUvSaReyGHRGQSuDa1pSykLNe3aPxZp1mJ4asLEdv8apuP6FbF5nC9chQN Retry count: 11
Retrying transaction 0 of 4 with signature: 5YA3vy94fiQBGCxMCVhCdKyJcApXubYUvSaReyGHRGQSuDa1pSykLNe3aPxZp1mJ4asLEdv8apuP6FbF5nC9chQN Retry count: 12
Retrying transaction 0 of 4 with signature: 5YA3vy94fiQBGCxMCVhCdKyJcApXubYUvSaReyGHRGQSuDa1pSykLNe3aPxZp1mJ4asLEdv8apuP6FbF5nC9chQN Retry count: 13
Retrying transaction 0 of 4 with signature: 5YA3vy94fiQBGCxMCVhCdKyJcApXubYUvSaReyGHRGQSuDa1pSykLNe3aPxZp1mJ4asLEdv8apuP6FbF5nC9chQN Retry count: 14
Retrying transaction 0 of 4 with signature: 5YA3vy94fiQBGCxMCVhCdKyJcApXubYUvSaReyGHRGQSuDa1pSykLNe3aPxZp1mJ4asLEdv8apuP6FbF5nC9chQN Retry count: 15
Retrying transaction 0 of 4 with signature: 5YA3vy94fiQBGCxMCVhCdKyJcApXubYUvSaReyGHRGQSuDa1pSykLNe3aPxZp1mJ4asLEdv8apuP6FbF5nC9chQN Retry count: 16
Retrying transaction 0 of 4 with signature: 5YA3vy94fiQBGCxMCVhCdKyJcApXubYUvSaReyGHRGQSuDa1pSykLNe3aPxZp1mJ4asLEdv8apuP6FbF5nC9chQN Retry count: 17
Retrying transaction 0 of 4 with signature: 5YA3vy94fiQBGCxMCVhCdKyJcApXubYUvSaReyGHRGQSuDa1pSykLNe3aPxZp1mJ4asLEdv8apuP6FbF5nC9chQN Retry count: 18
This is my price config file:
- alias: SONIC/USD
id: '0xb2748e718cf3a75b0ca099cb467aea6aa8f7d960b381b3970769b5a2d6be26dc'
time_difference: 60
price_deviation: 0.5
confidence_ratio: 1
early_update:
time_difference: 30
price_deviation: 0.5
confidence_ratio: 0.1
- alias: PYTH/USD
id: '0x0bbf28e9a841a1cc788f6a361b17ca072d0ea3098a1e5df1c3922d06719579ff'
time_difference: 60
price_deviation: 1
confidence_ratio: 1
early_update:
time_difference: 30
price_deviation: 0.5
confidence_ratio: 0.1
- alias: USDC/USD
id: '0xeaa020c61cc479712813461ce153894a96a6c00b21ed0cfc2798d1f9a9e9c94a'
time_difference: 60
price_deviation: 0.5
confidence_ratio: 1
- alias: USDT/USD
id: '0x2b89b9dc8fdf9f34709a5b106b472f0f39bb6ca9ce04b0fd7f2e971688e2e53b'
time_difference: 60
price_deviation: 0.5
confidence_ratio: 1