Skip to content

Commit

Permalink
Project import generated by Copybara.
Browse files Browse the repository at this point in the history
GitOrigin-RevId: 5ef744439689185ee32a0fea7eeebd83cbb97d18
  • Loading branch information
Copybara authored and actions-user committed Aug 11, 2023
1 parent fbef37e commit 55d558c
Show file tree
Hide file tree
Showing 113 changed files with 14,413 additions and 2,238 deletions.
4 changes: 2 additions & 2 deletions examples/feeds/01_feed_client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ no-log-ix-name = []
cpi = ["no-entrypoint"]

[dependencies]
# switchboard-solana = "0.28.0"
switchboard-solana = { version = "0.28.0", path = "../../../rust/switchboard-solana" }
# switchboard-solana = "0.28.4"
switchboard-solana = { version = "0.28.4", path = "../../../rust/switchboard-solana" }
bytemuck = "1.13.1"
8 changes: 4 additions & 4 deletions examples/feeds/01_feed_client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"@coral-xyz/anchor": "^0.28.0",
"@coral-xyz/borsh": "^0.28.0",
"@project-serum/borsh": "^0.2.5",
"@solana/spl-token": "^0.3.6",
"@solana/web3.js": "^1.77.3",
"@switchboard-xyz/common": "latest",
"@solana/spl-token": "^0.3.8",
"@solana/web3.js": "^1.78.3",
"@switchboard-xyz/common": "^2.3.0",
"@switchboard-xyz/oracle": "latest",
"@switchboard-xyz/solana.js": "workspace:latest",
"@switchboard-xyz/solana.js": "^2.5.0",
"chalk": "^4.1.2",
"dotenv": "^16.0.1",
"yargs": "^17.5.1"
Expand Down
4 changes: 2 additions & 2 deletions examples/feeds/02_spl_native/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ name = "native_feed_parser"
no-entrypoint = []

[dependencies]
# switchboard-solana = "0.28.0"
switchboard-solana = { version = "0.28.0", path = "../../../rust/switchboard-solana" }
# switchboard-solana = "0.28.4"
switchboard-solana = { version = "0.28.4", path = "../../../rust/switchboard-solana" }
4 changes: 2 additions & 2 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": "latest",
"@switchboard-xyz/common": "^2.3.0",
"@switchboard-xyz/oracle": "latest",
"@switchboard-xyz/solana.js": "workspace:latest"
"@switchboard-xyz/solana.js": "^2.5.0"
},
"devDependencies": {
"@types/chai": "^4.3.0",
Expand Down
18 changes: 9 additions & 9 deletions examples/functions/01_basic_oracle/Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,27 @@ seeds = false
skip-lint = false

[programs.localnet]
basic_oracle = "BkTMjFhosJ1xKtLMV2xchGtnTDBABLJ45aXzs7x9FdeX"
basic_oracle = "APWppEwwfddbooTUijn3oAVnQH6jkLDxW4JrTMbBoQXJ"

[programs.devnet]
basic_oracle = "BkTMjFhosJ1xKtLMV2xchGtnTDBABLJ45aXzs7x9FdeX"
basic_oracle = "APWppEwwfddbooTUijn3oAVnQH6jkLDxW4JrTMbBoQXJ"

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

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

[test]
startup_wait = 15000

[test.validator]
url = "https://api.devnet.solana.com"

[test]
startup_wait = 15000

[[test.validator.clone]] # sb devnet oracle programID
address = "SW1TCH7qEPTdLsDHRgPuMQjbQxKdH2aBStViMFnt64f"

Expand All @@ -46,4 +46,4 @@ address = "sbattyXrzedoNATfc4L31wC9Mhxsi1BmFhTiN8gDshx"
address = "5ExuoQR69trmKQfB95fDsUGsUrrChbGq9PFgt8qouncz"

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

0 comments on commit 55d558c

Please sign in to comment.