-
Notifications
You must be signed in to change notification settings - Fork 77
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
Fix placeBid errors #172
base: main
Are you sure you want to change the base?
Fix placeBid errors #172
Conversation
It's possible that the revoke operation is not necessary at all if the source account is closed right away, but I am not 100% sure about this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems fine, should be accepted ASAP.
@basvanberckel thanks for the PR, as it really fixed (partially) the issue we were facing. Do you know who can move forward this PR to be accepted? I noticed it was already approved by 3 reviewers, and I wonder if @yamijuan can review and accept it or who can do the last approval? Thanks in advance !! |
Trying to placeBid or InstantSale Im facing same issue with the UnitializedAccount:
Maybe the PR could fix it? Thanks |
@checho1989 where you able to solve this issue, i am getting the same error |
@nurav97 be sure that in anyplace your are using the SDK you do have the An example (it is part of this PR):
|
@turcol i made that change but i am now getting custom Error failed to send transaction: Transaction simulation failed: Error processing Instruction 5: custom program error: 0x1f i have also set flag in transaction.ts to skipPreflight:true but still the preflight check is happning i want to check the same error on explorer to check if i get any more info in the logs about this error do you have any idea about why i am getting the error or the preflight is not setting to true |
Fixes both errors in metaplex-foundation/js#155
The bidder pot account should be created, it should be a PDA passed to the program.
The revoke instruction for the transfer approval is sent after the transfer account is already closed. This reverses that order.