Skip to content

Commit

Permalink
upgrade to anchor 0.28.0
Browse files Browse the repository at this point in the history
  • Loading branch information
callensm committed Jul 5, 2023
1 parent 60ca83d commit 9571d87
Show file tree
Hide file tree
Showing 7 changed files with 171 additions and 74 deletions.
106 changes: 65 additions & 41 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ default = []
opt-level = "s"

[dependencies]
anchor-client = "0.27.0"
anchor-client = "0.28.0"
anyhow = "1.0"
clap = { version = "4.0", features = ["derive"] }
dialoguer = "0.10"
Expand Down
3 changes: 2 additions & 1 deletion cli/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ pub fn create_program_client(config: &Config) -> (Program<Rc<Keypair>>, Rc<Keypa
config.keypair.clone(),
CommitmentConfig::confirmed(),
)
.program(xnft::ID),
.program(xnft::ID)
.unwrap(),
config.keypair.clone(),
)
}
Expand Down
10 changes: 5 additions & 5 deletions programs/xnft/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "xnft"
version = "0.2.3"
version = "0.2.4"
description = "Protocol for minting and managing xNFTs"
license = "GPL-3.0-only"
edition = "2021"
Expand All @@ -18,11 +18,11 @@ cpi = ["no-entrypoint"]
cli = ["no-entrypoint", "serde"]

[dependencies]
anchor-lang = "0.27.0"
anchor-spl = { version = "0.27.0", features = ["metadata"] }
mpl-token-metadata = { version = "1.9.0", features = ["no-entrypoint"] }
anchor-lang = "0.28.0"
anchor-spl = { version = "0.28.0", features = ["metadata"] }
mpl-token-metadata = { version = "1.12.0", features = ["no-entrypoint"] }
serde = { version = "1.0", optional = true }
solana-security-txt = "1.0"
solana-security-txt = "1.1"

[dev-dependencies]
itertools = "0.10"
Expand Down
6 changes: 3 additions & 3 deletions typescript/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coral-xyz/xnft",
"version": "0.2.56",
"version": "0.2.57",
"license": "GPL-3.0-only",
"description": "Node.js client for the xNFT protocol",
"repository": {
Expand Down Expand Up @@ -42,10 +42,10 @@
"postpack": "rm LICENSE README.md"
},
"dependencies": {
"@coral-xyz/anchor": "^0.27.0",
"@coral-xyz/anchor": "^0.28.0",
"@metaplex-foundation/js": "^0.18.3",
"@solana/spl-token": "^0.3.7",
"@solana/web3.js": "^1.74.0",
"@solana/web3.js": "^1.77.3",
"semver": "^7.3.8",
"zod": "^3.21.4"
},
Expand Down
4 changes: 2 additions & 2 deletions typescript/src/xnft.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export type Xnft = {
version: "0.2.3";
version: "0.2.4";
name: "xnft";
constants: [
{
Expand Down Expand Up @@ -1433,7 +1433,7 @@ export type Xnft = {
};

export const IDL: Xnft = {
version: "0.2.3",
version: "0.2.4",
name: "xnft",
constants: [
{
Expand Down
Loading

0 comments on commit 9571d87

Please sign in to comment.