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

Cancelling Bid Issue with Auctioneer[Bug]: #837

Open
samia-invozone opened this issue Oct 20, 2022 · 1 comment
Open

Cancelling Bid Issue with Auctioneer[Bug]: #837

samia-invozone opened this issue Oct 20, 2022 · 1 comment
Labels

Comments

@samia-invozone
Copy link

samia-invozone commented Oct 20, 2022

Which package is this bug report for?

auction-house

Which Type of Package is this bug report for?

Rust Contract

Issue description

  1. I'm trying to cancel the highest bid & it got canceled successfully.
  2. If we cancel the highest bid, then the 2nd highest bidder is not able to execute sale.
  3. It seems when canceling the highest bid in Auctioneer, the highest bid on the listing config doesn't update which restricts new bids from being lower than the highest bid even though it was canceled. e.g if I decide to bid at 100 sol and cancel my bid then the next person still needs to bid higher than 100 sol even if the bid is canceled.

Here are the transaction list of 1st bidder, 2nd bidder, Cancel bid & New bid. You can see now the error on placing a new bid
https://solscan.io/tx/2NsSjMMxLBCfCLmgdL4D3sNmiwfGP3WcazfZxhqgKGKptTJUJbdH2T7Ahof99DrNPQWtWBebXFAcE2VMLGFJFQaM?cluster=devnet
https://solscan.io/tx/4P6x7VCMhEnprS9QFQTeL9eMb2RJfCtBQdUk2as2CkSf134LovLgjZxhxsWN4HHitUBhdBRFfTgwfhTzQEwTwnhP?cluster=devnet
https://solscan.io/tx/3wHet1i3JiyDtQGy3QkTzVpHdNajGsYucXH1n3dDqnkcUk6besUg7EBfkYyW8f3poHiJdekGB1Q62JqEpaWu7JxV?cluster=devnet
https://solscan.io/tx/4aVdqEQY4WhtEGXdfjBfWgNkxTXL7zmDwsypoSgTYoAmDExepQWndKutNLBVJJBMpLffwehmB1gAts2C1Ym1LadA?cluster=devnet

Relevant log output

custom program error: 0xbc4

Priority this issue should have

High (immediate attention needed)

@blockiosaurus
Copy link
Contributor

Thanks for pointing this out! Situations like this are why we've added the ability to prevent the highest bidder from canceling. However, I'll add exploration of alternatives to our list of things to look into and leave this ticket open.

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

2 participants