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 Buy NFT Due to Rent Exempt Error #222

Open
kespinola opened this issue May 17, 2022 · 1 comment
Open

Unable to Buy NFT Due to Rent Exempt Error #222

kespinola opened this issue May 17, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@kespinola
Copy link
Collaborator

Issue

When going to buy an NFT from espi marketplace get a transaction simulation error about account not having enough funds to keep rent exempt.

next-dev.js?3515:32 Transaction simulation failed: Transaction leaves an account with a lower balance than rent-exempt minimum 
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk invoke [1]
    Program log: Instruction: PublicBuy
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk consumed 32979 of 200000 compute units
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk success
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk invoke [1]
    Program log: Instruction: PrintBidReceipt
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk consumed 12302 of 200000 compute units
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk success
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk invoke [1]
    Program log: Instruction: ExecuteSale
    Program 11111111111111111111111111111111 invoke [2]
    Program 11111111111111111111111111111111 success
    Program 11111111111111111111111111111111 invoke [2]
    Program 11111111111111111111111111111111 success
    Program 11111111111111111111111111111111 invoke [2]
    Program 11111111111111111111111111111111 success
    Program 11111111111111111111111111111111 invoke [2]
    Program 11111111111111111111111111111111 success
    Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]
    Program log: Instruction: Transfer
    Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 2712 of 129880 compute units
    Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk consumed 75852 of 200000 compute units
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk success
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk invoke [1]
    Program log: Instruction: PrintPurchaseReceipt
    Program log: Transfer 2234160 lamports to the new account
    Program 11111111111111111111111111111111 invoke [2]
    Program 11111111111111111111111111111111 success
    Program log: Allocate space for the account 4gWCee5arRu44hYPxxcD2G1N4V6Jn53i5zQ1VuEqKZoy
    Program 11111111111111111111111111111111 invoke [2]
    Program 11111111111111111111111111111111 success
    Program log: Assign the account to the owning program
    Program 11111111111111111111111111111111 invoke [2]
    Program 11111111111111111111111111111111 success
    Program log: Completed assignation!
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk consumed 44605 of 200000 compute units
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk success
window.console.error @ next-dev.js?3515:32
next-dev.js?3515:32 Transaction simulation failed: Transaction leaves an account with a lower balance than rent-exempt minimum 
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk invoke [1]
    Program log: Instruction: PublicBuy
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk consumed 32979 of 200000 compute units
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk success
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk invoke [1]
    Program log: Instruction: PrintBidReceipt
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk consumed 12302 of 200000 compute units
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk success
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk invoke [1]
    Program log: Instruction: ExecuteSale
    Program 11111111111111111111111111111111 invoke [2]
    Program 11111111111111111111111111111111 success
    Program 11111111111111111111111111111111 invoke [2]
    Program 11111111111111111111111111111111 success
    Program 11111111111111111111111111111111 invoke [2]
    Program 11111111111111111111111111111111 success
    Program 11111111111111111111111111111111 invoke [2]
    Program 11111111111111111111111111111111 success
    Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA invoke [2]
    Program log: Instruction: Transfer
    Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA consumed 2712 of 129880 compute units
    Program TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA success
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk consumed 75852 of 200000 compute units
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk success
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk invoke [1]
    Program log: Instruction: PrintPurchaseReceipt
    Program log: Transfer 2234160 lamports to the new account
    Program 11111111111111111111111111111111 invoke [2]
    Program 11111111111111111111111111111111 success
    Program log: Allocate space for the account 4gWCee5arRu44hYPxxcD2G1N4V6Jn53i5zQ1VuEqKZoy
    Program 11111111111111111111111111111111 invoke [2]
    Program 11111111111111111111111111111111 success
    Program log: Assign the account to the owning program
    Program 11111111111111111111111111111111 invoke [2]
    Program 11111111111111111111111111111111 success
    Program log: Completed assignation!
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk consumed 44605 of 200000 compute units
    Program hausS13jsjafwWwGqZTUQRmWyvyxn9EQpqMwV1PBBmk success

http://localhost:3000/nfts/7TDxjP4nnmZ6nKBQiP4h531FbwSMUBTBWbXyb8mREzp9

@kespinola kespinola added the bug Something isn't working label May 17, 2022
@kevinrodriguez-io
Copy link

Just stumbled upon this today and this might happen whenever someone has to pay for royalties and the account is left on zero or less at the end of the transaction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants