Skip to content

Commit

Permalink
Use current Anchor and solana-program in favorites and escrow (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemaccana authored Jul 26, 2024
1 parent f757498 commit 30b57bb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
4 changes: 2 additions & 2 deletions basics/favorites/anchor/programs/favorites/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ default = []
idl-build = ["anchor-lang/idl-build"]

[dependencies]
anchor-lang = {version = "0.30.0", features = ["init-if-needed"]}
solana-program = "=1.18.5"
anchor-lang = {version = "0.30.1", features = ["init-if-needed"]}
solana-program = "=2.0.3"
2 changes: 2 additions & 0 deletions basics/favorites/anchor/tests/favorites.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ describe('Favorites', () => {
// Use the cluster and the keypair from Anchor.toml
const provider = anchor.AnchorProvider.env();
anchor.setProvider(provider);

// See https://github.com/coral-xyz/anchor/issues/3122
const user = (provider.wallet as anchor.Wallet).payer;
const someRandomGuy = anchor.web3.Keypair.generate();
const program = anchor.workspace.Favorites as Program<Favorites>;
Expand Down
6 changes: 3 additions & 3 deletions tokens/escrow/anchor/programs/escrow/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@ no-log-ix-name = []
idl-build = ["anchor-lang/idl-build", "anchor-spl/idl-build"]

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

0 comments on commit 30b57bb

Please sign in to comment.