Currently, users set an array of market-ids in the .env file. If the IDs don't match what is in pricefeed or the wallet isn't authorized to post prices, transactions will fail. Instead, we can query pricefeed to get the market IDs that the input wallet is an oracle for.
Currently, users set an array of market-ids in the
.envfile. If the IDs don't match what is inpricefeedor the wallet isn't authorized to post prices, transactions will fail. Instead, we can querypricefeedto get the market IDs that the input wallet is an oracle for.