Browse Source

update cnft-burn

John 1 year ago
parent
commit
7c175822b5

+ 3 - 3
compression/cnft-burn/Anchor.toml

@@ -1,17 +1,17 @@
 [toolchain]
 
 [features]
-seeds = false
+resolution = true
 skip-lint = false
 
 [programs.devnet]
-cnft_burn = "FbeHkUEevbhKmdk5FE5orcTaJkCYn5drwZoZXaxQXXNn"
+cnft_burn = "FcLCJkSvwQQTDfCde5LdC4DSZAqSyb2AWM9US3wF5Fp7"
 
 [registry]
 url = "https://api.apr.dev"
 
 [provider]
-cluster = "devnet"
+cluster = "Devnet"
 wallet = "~/.config/solana/id.json"
 
 [scripts]

+ 3 - 3
compression/cnft-burn/programs/cnft-burn/Cargo.toml

@@ -14,10 +14,10 @@ cpi = ["no-entrypoint"]
 no-entrypoint = []
 no-idl = []
 no-log-ix-name = []
-idl-build = ["anchor-lang/idl-build", "anchor-spl/idl-build"]
+idl-build = ["anchor-lang/idl-build"]
 
 [dependencies]
 anchor-lang = "0.30.0"
-mpl-bubblegum = {version="1.1.0" }
+mpl-bubblegum = "1.3.0"
 spl-account-compression = { version="0.3.0",features = ["no-entrypoint","cpi"] }
-ahash = "=0.8.6"
+ahash = "=0.8.7"

+ 1 - 1
compression/cnft-burn/programs/cnft-burn/src/lib.rs

@@ -1,6 +1,6 @@
 use anchor_lang::prelude::*;
 
-declare_id!("FbeHkUEevbhKmdk5FE5orcTaJkCYn5drwZoZXaxQXXNn");
+declare_id!("FcLCJkSvwQQTDfCde5LdC4DSZAqSyb2AWM9US3wF5Fp7");
 
 #[derive(Clone)]
 pub struct SPLCompression;

+ 1 - 1
compression/cnft-burn/tests/cnft-burn.ts

@@ -11,7 +11,7 @@ import {
   SPL_NOOP_PROGRAM_ID,
 } from "@solana/spl-account-compression";
 
-// Replace this with your custom RPC endpoint
+// Replace this with your custom RPC endpoint that supports cNFT indexing
 export const RPC_PATH = "https://api.devnet.solana.com";
 
 describe("cnft-burn", () => {