You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to Cancel a an Auction that I have started for an NFT with an Auctioneer with a time-base auction, but I keep getting AccountOwnedByWrongProgram as error. I've configured the auction to last 1 hour, and I've been using this following instruction:
List an NFT using the sell Instruction (I've based it using this repo file: https://github.com/IshaMandaviya/Auctioneer/blob/cebee6d0e3230613bdd0e0a66703fb64a93b76de/sell.js)
As you can see in step 3, the repo I found is using 18446744073709551615 as buyerPrice to create the TradeState for the listing. I believe they set the max price 2^64 - 1, cause in auctions there’s no fixed price. It rather uses a reserve price.
When I try to Cancel the Auction, the Transaction throws me AccountOwnedByWrongProgram error. I'm using 18446744073709551615 as buyerPrice in all the places it's asking for the argument, except for the FreeTradeState obviously.
I've been trying for a couple days different configurations/arguments for Canceling the Auction, but I cannot mange to get rid of this error. So it gets me thinking if this is some kind of bug on the SDK side.
I'm using the latest libraries of the repos.
Relevant log output
2: "Program log: AnchorError caused by account: token_account. Error Code: AccountOwnedByWrongProgram. Error Number: 3007. Error Message: The given account is owned by a different program than expected."
3: "Program log: Left:"
4: "Program log: 11111111111111111111111111111111"
5: "Program log: Right:"
6: "Program log: TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
Priority this issue should have
Medium (should be fixed soon)
The text was updated successfully, but these errors were encountered:
c4b4d4
changed the title
[Bug]: Cannot Cancel Time-based Auction started by Auctioneer
[Bug]: Error 3007 - Cannot Cancel Time-based Auction started by Auctioneer
Aug 1, 2022
Which package is this bug report for?
auction-house
Which Type of Package is this bug report for?
JS SDK
Issue description
I'm trying to Cancel a an Auction that I have started for an NFT with an Auctioneer with a time-base auction, but I keep getting
AccountOwnedByWrongProgram
as error. I've configured the auction to last 1 hour, and I've been using this following instruction:I've created all the flow as follows:
As you can see in step 3, the repo I found is using 18446744073709551615 as
buyerPrice
to create theTradeState
for the listing. I believe they set the max price 2^64 - 1, cause in auctions there’s no fixed price. It rather uses a reserve price.When I try to Cancel the Auction, the Transaction throws me
AccountOwnedByWrongProgram
error. I'm using 18446744073709551615 asbuyerPrice
in all the places it's asking for the argument, except for theFreeTradeState
obviously.I've been trying for a couple days different configurations/arguments for Canceling the Auction, but I cannot mange to get rid of this error. So it gets me thinking if this is some kind of bug on the SDK side.
I'm using the latest libraries of the repos.
Relevant log output
Priority this issue should have
Medium (should be fixed soon)
The text was updated successfully, but these errors were encountered: