-
Notifications
You must be signed in to change notification settings - Fork 52
Cannot run sol-contract example #83
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for reporting the issue and sorry for the confusion. We recently updated the Pyth SDK interface causing this issue. I have created a related PR and I expect to have the issue fixed soon, after the PR is merged. |
PR for reference #84 |
@yhzhang0128 tried your branch 'adapt-api', still getting error 'failed to select a version for the requirement |
Hi @5elfle5, can you please update your solana cli tools to the latest version? This solves the issue you are facing now. (#85 describes more). Please reopen the issue if you are facing any other problems. |
error
no method named
get_current_pricefound for struct
PriceFeedin the current scope
examples/sol-contract/src/processor.rs:87:33
let result1 = feed1.get_current_price().ok_or(ProgramError::Custom(3))?;
If I rollback to commit 'An example contract for solana (#72)' I can go one step further:
error
error: failed to select a version for the requirement time = "^0.3"
candidate versions found which didn't match: 0.3.15, 0.3.14, 0.3.13,
The text was updated successfully, but these errors were encountered: