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 |
Should be used for all things relating to the Anchor Framework.
0
votes
IDL.json for Voting
You can find the anchor program for this example at examples.anchor-lang.
Just run anchor build from the project directory and find the idl file in target/idl folder. …
5
votes
Accepted
Error: ANCHOR_PROVIDER_URL is not defined
Possible explanation
Assuming that you are using the default anchor configuration for testing your scripts, which is set in Anchor.toml as,
test = "yarn run ts-mocha -p . … /tsconfig.json -t 1000000 tests/**/*.ts"
this might be because anchor is unable to parse the environment variables which it reads from Anchor.toml during this function call in the test file. …