Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use InitAuctionManagerV2() instruction #194

Open
nurav97 opened this issue Apr 8, 2022 · 0 comments
Open

Unable to use InitAuctionManagerV2() instruction #194

nurav97 opened this issue Apr 8, 2022 · 0 comments
Labels

Comments

@nurav97
Copy link

nurav97 commented Apr 8, 2022

get the following custom error code 0x33 when creating instruction for InitAuctionManagerV2 dont know what is wrong . need your help finding out what the error code means

also if their is a list of error code any where please share


Error: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: custom program error: 0x33
at index.browser.esm.js:7391:13
at Generator.next ()
at asyncGeneratorStep (asyncToGenerator.js:3:1)
at _next (asyncToGenerator.js:25:1)
at ZoneDelegate.invoke (zone.js:400:1)
at Object.onInvoke (core.js:28692:1)
at ZoneDelegate.invoke (zone.js:399:1)
at Zone.run (zone.js:160:1)
at zone.js:1318:1
at ZoneDelegate.invokeTask (zone.js:434:1)

code that causes error

`const tx=new metaPlex.programs.metaplex.InitAuctionManagerV2({feePayer:wallet.publicKey},{
vault: vault,
auction: auction,
store: store,
auctionManager: auctionManagerPDA,
auctionManagerAuthority: wallet.publicKey,
acceptPaymentAccount: account.publicKey,
tokenTracker: newTokenTracker,
amountType: metaPlex.programs.core.TupleNumericType.U8,
lengthType: metaPlex.programs.core.TupleNumericType.U8,
maxRanges: new BN(10)

 })

 console.log("auction manager ",tx);

 const txResponse = await new metaPlex.Connection(network, "confirmed").sendTransaction(tx, [wallet.payer])`

thank you in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant