-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* store: Improve querying by using solana 1.8 return_data * Regenerate anchor-go bindings * store: Add accessors for querying over CPI * Start working on a hello-world example * Fix tests by using the new query format * Add a e2e test that tests hello-world with the store contract
- Loading branch information
Showing
28 changed files
with
3,314 additions
and
340 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
.anchor | ||
.DS_Store | ||
target | ||
**/*.rs.bk | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[programs.localnet] | ||
hello_world = "Fg6PaFpoGXkYsidMpWTK6W2BeZ7FEfcYkg476zPFsLnS" | ||
|
||
[registry] | ||
url = "https://anchor.projectserum.com" | ||
|
||
[provider] | ||
cluster = "localnet" | ||
# wallet = "~/.config/solana/id.json" | ||
wallet = "../../id.json" | ||
|
||
[scripts] | ||
test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts" | ||
|
||
[[test.genesis]] | ||
address = "A7Jh2nb1hZHwqEofm4N8SXbKTj82rx7KUfjParQXUyMQ" | ||
program = "../../target/deploy/store.so" | ||
|
||
[[test.genesis]] | ||
address = "2F5NEkMnCRkmahEAcQfTQcZv1xtGgrWFfjENtTwHLuKg" | ||
program = "../../target/deploy/access_controller.so" |
Oops, something went wrong.