Skip to content

Commit

Permalink
Project import generated by Copybara.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: a54f824c1816bcedee95284afd276aaa37a98d80
  • Loading branch information
Copybara authored and actions-user committed Nov 28, 2023
1 parent da69aa6 commit 0f235ba
Show file tree
Hide file tree
Showing 255 changed files with 29,416 additions and 5,647 deletions.
6 changes: 3 additions & 3 deletions examples/feeds/01_feed_client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
"@project-serum/borsh": "^0.2.5",
"@solana/spl-token": "^0.3.8",
"@solana/web3.js": "^1.78.3",
"@switchboard-xyz/common": "^2.3.3",
"@switchboard-xyz/oracle": "latest",
"@switchboard-xyz/solana.js": "^2.5.0",
"@switchboard-xyz/common": "*",
"@switchboard-xyz/oracle": "*",
"@switchboard-xyz/solana.js": "*",
"chalk": "^4.1.2",
"dotenv": "^16.0.1",
"yargs": "^17.5.1"
Expand Down
6 changes: 3 additions & 3 deletions examples/feeds/02_spl_native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"dependencies": {
"@coral-xyz/anchor": "^0.28.0",
"@solana/web3.js": "^1.77.3",
"@switchboard-xyz/common": "^2.3.3",
"@switchboard-xyz/oracle": "latest",
"@switchboard-xyz/solana.js": "^2.5.0"
"@switchboard-xyz/common": "*",
"@switchboard-xyz/oracle": "*",
"@switchboard-xyz/solana.js": "*"
},
"devDependencies": {
"@types/chai": "^4.3.0",
Expand Down
16 changes: 8 additions & 8 deletions examples/functions/01_basic_oracle/Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ seeds = false
skip-lint = false

[programs.localnet]
basic_oracle = "APWppEwwfddbooTUijn3oAVnQH6jkLDxW4JrTMbBoQXJ"
basic_oracle = "8cagvrMvnhcVpVuAxYajqBGSrrjCbhJBL3954UjttwuJ"

[programs.devnet]
basic_oracle = "APWppEwwfddbooTUijn3oAVnQH6jkLDxW4JrTMbBoQXJ"
basic_oracle = "8cagvrMvnhcVpVuAxYajqBGSrrjCbhJBL3954UjttwuJ"

[provider]
# cluster = "Localnet"
# wallet = "~/.config/solana/id.json"
# cluster = "https://api.devnet.solana.com"
# wallet = "~/switchboard_environments_v2/devnet/upgrade_authority/upgrade_authority.json"
cluster = "https://api.mainnet-beta.solana.com"
wallet = "~/switchboard_environments_v2/mainnet/upgrade_authority/upgrade_authority.json"
cluster = "https://api.devnet.solana.com"
wallet = "~/switchboard_environments_v2/devnet/upgrade_authority/upgrade_authority.json"
# cluster = "https://api.mainnet-beta.solana.com"
# wallet = "~/switchboard_environments_v2/mainnet/upgrade_authority/upgrade_authority.json"

[scripts]
test = "pnpm exec ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"

init = "pnpm exec tsx ./scripts/devnet.ts"

[test.validator]
url = "https://api.devnet.solana.com"
Expand All @@ -48,4 +48,4 @@ address = "sbattyXrzedoNATfc4L31wC9Mhxsi1BmFhTiN8gDshx"
address = "5ExuoQR69trmKQfB95fDsUGsUrrChbGq9PFgt8qouncz"

[[test.validator.clone]] # sb devnet attestation State
address = "5MFs7RGTjLi1wtKNBFRtuLipCkkjs4YQwRRU9sjnbQbS"
address = "5MFs7RGTjLi1wtKNBFRtuLipCkkjs4YQwRRU9sjnbQbS"
Loading

0 comments on commit 0f235ba

Please sign in to comment.