Skip to content

Commit

Permalink
chore: manual cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
gallynaut committed Aug 7, 2023
1 parent 7e1b952 commit fe57783
Show file tree
Hide file tree
Showing 10 changed files with 19 additions and 20 deletions.
2 changes: 1 addition & 1 deletion examples/feeds/01_feed_client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@solana/web3.js": "^1.77.3",
"@switchboard-xyz/common": "latest",
"@switchboard-xyz/oracle": "latest",
"@switchboard-xyz/solana.js": "latest",
"@switchboard-xyz/solana.js": "workspace:latest",
"chalk": "^4.1.2",
"dotenv": "^16.0.1",
"yargs": "^17.5.1"
Expand Down
2 changes: 1 addition & 1 deletion examples/feeds/02_spl_native/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@solana/web3.js": "^1.77.3",
"@switchboard-xyz/common": "latest",
"@switchboard-xyz/oracle": "latest",
"@switchboard-xyz/solana.js": "latest"
"@switchboard-xyz/solana.js": "workspace:latest"
},
"devDependencies": {
"@types/chai": "^4.3.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/functions/01_basic_oracle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@solana/web3.js": "^1.78.0",
"@switchboard-xyz/common": "latest",
"@switchboard-xyz/oracle": "latest",
"@switchboard-xyz/solana.js": "latest"
"@switchboard-xyz/solana.js": "workspace:latest"
},
"devDependencies": {
"@types/bn.js": "^5.1.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/functions/02_liquidity_oracle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@solana/web3.js": "^1.78.0",
"@switchboard-xyz/common": "latest",
"@switchboard-xyz/oracle": "latest",
"@switchboard-xyz/solana.js": "latest"
"@switchboard-xyz/solana.js": "workspace:latest"
},
"devDependencies": {
"@types/bn.js": "^5.1.0",
Expand Down
2 changes: 1 addition & 1 deletion examples/functions/03_candles_oracle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@solana/web3.js": "^1.78.0",
"@switchboard-xyz/common": "latest",
"@switchboard-xyz/oracle": "latest",
"@switchboard-xyz/solana.js": "latest"
"@switchboard-xyz/solana.js": "workspace:latest"
},
"devDependencies": {
"@types/bn.js": "^5.1.0",
Expand Down
6 changes: 3 additions & 3 deletions examples/functions/04_randomness_callback/Anchor.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ custom_randomness_request = "Csx5AU83fPiaSChJUBZg2cW9GcCVVwZ4rwFqDA2pomX2"
url = "https://api.apr.dev"

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

[scripts]
Expand Down Expand Up @@ -44,4 +44,4 @@ address = "sbattyXrzedoNATfc4L31wC9Mhxsi1BmFhTiN8gDshx"
address = "5ExuoQR69trmKQfB95fDsUGsUrrChbGq9PFgt8qouncz"

[[test.validator.clone]] # sb devnet programState
address = "5MFs7RGTjLi1wtKNBFRtuLipCkkjs4YQwRRU9sjnbQbS"
address = "5MFs7RGTjLi1wtKNBFRtuLipCkkjs4YQwRRU9sjnbQbS"
2 changes: 1 addition & 1 deletion examples/functions/04_randomness_callback/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@coral-xyz/anchor": "^0.28.0",
"@solana/spl-token": "^0.3.8",
"@switchboard-xyz/common": "latest",
"@switchboard-xyz/solana.js": "latest",
"@switchboard-xyz/solana.js": "workspace:latest",
"@types/dotenv": "^8.2.0",
"dotenv": "^16.3.1"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,5 @@ path = "src/main.rs"
[dependencies]
tokio = "^1"
futures = "0.3"
# switchboard-utils = { version = "0.8.0" }
# switchboard-solana = "0.28.0"
switchboard-solana = { version = "0.28.0", path = "../../../../rust/switchboard-solana" }
switchboard-solana = "0.28.0"
# switchboard-solana = { version = "0.28.0", path = "../../../../rust/switchboard-solana" }
2 changes: 1 addition & 1 deletion examples/vrf/01_vrf_client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"@solana/web3.js": "^1.77.3",
"@switchboard-xyz/common": "latest",
"@switchboard-xyz/oracle": "latest",
"@switchboard-xyz/solana.js": "latest",
"@switchboard-xyz/solana.js": "workspace:latest",
"chalk": "^4.1.2",
"dotenv": "^16.0.1",
"yargs": "^17.5.1"
Expand Down
14 changes: 7 additions & 7 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fe57783

Please sign in to comment.