Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
1
vote
1
answer
257
views
How to locally test interaction with external contracts (chainlink and pyth oracles )?
I have a Solana smart contract (written with Anchor) that interacts with Pyth and Chainlink Solana oracles. In EVM world, we would either redeploy the necessary contracts locally in the test start-up …
2
votes
How to locally test interaction with external contracts (chainlink and pyth oracles )?
I was able to solve the issue by making use of Anchor.toml [test.validator.clone] attribute (docs)
First I clone the necessary program solana program dump --url devnet HEvSKofvBgfaexv23kMabbYqxasxU3m …
1
vote
1
answer
332
views
How to measure test coverage for Anchor program?
How do I measure test coverage for an Anchor program?
If I write my tests in typescript, then there are no code coverage reports
If I write my tests in Rust (similar as specified here), and use the c …