Skip to content
This repository has been archived by the owner on Mar 16, 2023. It is now read-only.

pyth-neon depends on old version of [email protected] which is not tagged on GitHub #8

Open
jordan-public opened this issue Mar 12, 2023 · 0 comments

Comments

@jordan-public
Copy link

pyth-neon depends on old version of [email protected] which is not tagged on GitHub

Consequently I get the following compile error (with the latest version of pyth-sdk-solidity):

Error: 
Compiler run failed
error[9582]: TypeError: Member "status" not found or not visible after argument-dependent lookup in struct PythStructs.PriceFeed memory.
  --> lib/pyth-neon/contracts/PythOracle.sol:21:17:
   |
21 |         require(priceFeed.status == PythStructs.PriceStatus.TRADING, "current price unavailable");
   |                 ^^^^^^^^^^^^^^^^
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant