serum-vial icon indicating copy to clipboard operation
serum-vial copied to clipboard

--markets-json option has no effect

Open yuduan0220 opened this issue 2 years ago • 2 comments

Hi, I'm trying to use --markets-json with my custom markets.json file to limit the serum-vial to listen to only a subset of markets, however this option seems to be not working.

The command I use: npx serum-vial --endpoint <my_rpc_endpoint> --markets-json <absolute_path_to_my_json_file>

The json file contains: [ { "address": "9wFFyRfZBsuAha4YcuxcXLKwMxJR43S7fPfQLusDBzvT", "deprecated": false, "name": "SOL/USDC", "programId": "9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin" } ]

yuduan0220 avatar Jun 01 '22 18:06 yuduan0220

try relative path?

thaaddeus avatar Jun 02 '22 06:06 thaaddeus

Thank you, relative path works fine, that's strange, why absolute path didn't work?

yuduan0220 avatar Jun 02 '22 06:06 yuduan0220