diff --git a/clients/js/src/generated/errors/mplBubblegum.ts b/clients/js/src/generated/errors/mplBubblegum.ts index 8aac233c..87e50c90 100644 --- a/clients/js/src/generated/errors/mplBubblegum.ts +++ b/clients/js/src/generated/errors/mplBubblegum.ts @@ -591,6 +591,19 @@ export class InvalidTokenStandardError extends ProgramError { codeToErrorMap.set(0x1798, InvalidTokenStandardError); nameToErrorMap.set('InvalidTokenStandard', InvalidTokenStandardError); +/** InvalidCanopySize: Canopy size should be set bigger for this tree */ +export class InvalidCanopySizeError extends ProgramError { + readonly name: string = 'InvalidCanopySize'; + + readonly code: number = 0x1799; // 6041 + + constructor(program: Program, cause?: Error) { + super('Canopy size should be set bigger for this tree', program, cause); + } +} +codeToErrorMap.set(0x1799, InvalidCanopySizeError); +nameToErrorMap.set('InvalidCanopySize', InvalidCanopySizeError); + /** * Attempts to resolve a custom program error from the provided error code. * @category Errors diff --git a/clients/rust/src/generated/errors/mpl_bubblegum.rs b/clients/rust/src/generated/errors/mpl_bubblegum.rs index 789e089a..87dc4019 100644 --- a/clients/rust/src/generated/errors/mpl_bubblegum.rs +++ b/clients/rust/src/generated/errors/mpl_bubblegum.rs @@ -133,6 +133,9 @@ pub enum MplBubblegumError { /// 6040 (0x1798) - Only NonFungible standard is supported #[error("Only NonFungible standard is supported")] InvalidTokenStandard, + /// 6041 (0x1799) - Canopy size should be set bigger for this tree + #[error("Canopy size should be set bigger for this tree")] + InvalidCanopySize, } impl solana_program::program_error::PrintProgramError for MplBubblegumError { diff --git a/idls/bubblegum.json b/idls/bubblegum.json index 43a837a2..b8486c77 100644 --- a/idls/bubblegum.json +++ b/idls/bubblegum.json @@ -2280,6 +2280,11 @@ "code": 6040, "name": "InvalidTokenStandard", "msg": "Only NonFungible standard is supported" + }, + { + "code": 6041, + "name": "InvalidCanopySize", + "msg": "Canopy size should be set bigger for this tree" } ], "metadata": { diff --git a/package.json b/package.json index 3fce0772..7a79e645 100644 --- a/package.json +++ b/package.json @@ -21,5 +21,5 @@ "@metaplex-foundation/shank-js": "^0.1.5", "typescript": "^4.9.4" }, - "packageManager": "pnpm@8.2.0" + "packageManager": "pnpm@8.9.0" }