Skip to content

Commit 30b57bb

Browse files
authored
Use current Anchor and solana-program in favorites and escrow (#107)
1 parent f757498 commit 30b57bb

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

basics/favorites/anchor/programs/favorites/Cargo.toml

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ default = []
1717
idl-build = ["anchor-lang/idl-build"]
1818

1919
[dependencies]
20-
anchor-lang = {version = "0.30.0", features = ["init-if-needed"]}
21-
solana-program = "=1.18.5"
20+
anchor-lang = {version = "0.30.1", features = ["init-if-needed"]}
21+
solana-program = "=2.0.3"

basics/favorites/anchor/tests/favorites.ts

+2
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ describe('Favorites', () => {
1010
// Use the cluster and the keypair from Anchor.toml
1111
const provider = anchor.AnchorProvider.env();
1212
anchor.setProvider(provider);
13+
14+
// See https://github.com/coral-xyz/anchor/issues/3122
1315
const user = (provider.wallet as anchor.Wallet).payer;
1416
const someRandomGuy = anchor.web3.Keypair.generate();
1517
const program = anchor.workspace.Favorites as Program<Favorites>;

tokens/escrow/anchor/programs/escrow/Cargo.toml

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ no-log-ix-name = []
1717
idl-build = ["anchor-lang/idl-build", "anchor-spl/idl-build"]
1818

1919
[dependencies]
20-
anchor-lang = { version = "0.30.0", features = ["init-if-needed"]}
21-
anchor-spl = "0.30.0"
22-
solana-program = "=1.18.5"
20+
anchor-lang = { version = "0.30.1", features = ["init-if-needed"]}
21+
anchor-spl = "0.30.1"
22+
solana-program = "=2.0.3"

0 commit comments

Comments
 (0)