Skip to content

Commit

Permalink
bump to token metadata 3.1, metaboss_lib 0.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelvanderwaal committed Oct 10, 2023
1 parent 422bbd3 commit df5adad
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions Cargo.lock

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

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ indicatif = { version = "0.16.2", features = ["rayon"] }
jib = "0.4.1"
lazy_static = "1.4.0"
log = "0.4.17"
metaboss_lib = "0.12.0"
mpl-token-metadata = { version = "3.0.0", features = ["serde"] }
metaboss_lib = "0.13.0"
mpl-token-metadata = { version = "3.1.0", features = ["serde"] }
num_cpus = "1.15.0"
phf = { version = "0.10", features = ["macros"] }
ratelimit = "0.4.4"
Expand Down
4 changes: 2 additions & 2 deletions src/create/methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ pub fn create_metadata(args: CreateMetadataArgs) -> Result<()> {
.mint(mint_pubkey)
.mint_authority(keypair.pubkey())
.payer(keypair.pubkey())
.update_authority(keypair.pubkey())
.update_authority(keypair.pubkey(), true)
.data(data_v2)
.is_mutable(!args.immutable)
.instruction();
Expand Down Expand Up @@ -157,7 +157,7 @@ pub fn create_fungible(args: CreateFungibleArgs) -> Result<()> {
.mint(mint.pubkey())
.mint_authority(keypair.pubkey())
.payer(keypair.pubkey())
.update_authority(keypair.pubkey())
.update_authority(keypair.pubkey(), true)
.data(data.into())
.is_mutable(!args.immutable)
.instruction();
Expand Down
2 changes: 1 addition & 1 deletion src/mint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ pub fn mint(
.mint(mint.pubkey())
.mint_authority(funder.pubkey())
.payer(funder.pubkey())
.update_authority(funder.pubkey())
.update_authority(funder.pubkey(), true)
.is_mutable(!immutable)
.data(data_v2);

Expand Down

0 comments on commit df5adad

Please sign in to comment.