Coder Social home page Coder Social logo

Comments (8)

acheroncrypto avatar acheroncrypto commented on July 21, 2024

Hey, same as #193 (comment).

Deploying programs require making transactions but devnet doesn't accept transactions currently. It should be fixed soon.

from solana-playground.

kaiqiangh avatar kaiqiangh commented on July 21, 2024

Hey, same as #193 (comment).

Deploying programs require making transactions but devnet doesn't accept transactions currently. It should be fixed soon.

Hi,

I am still facing the similar issue that is unable to deploy program on devnet.

image

from solana-playground.

acheroncrypto avatar acheroncrypto commented on July 21, 2024

Can you share browser console logs(F12)?

from solana-playground.

kaiqiangh avatar kaiqiangh commented on July 21, 2024

Here is the screenshot. The error message is "Transaction simulation failed: This account may not be used to pay transaction fees", but my address on devnet has enough SOL balance.

image

from solana-playground.

acheroncrypto avatar acheroncrypto commented on July 21, 2024

This error happens when your account is not owned by the System program. Anchor added a check for it in coral-xyz/anchor#2284 but it's still possible to initialize wallet accounts as program accounts since Solana doesn't differentiate them in protocol level. You can check the owner of your account by running

solana account <ADDRESS>

in the terminal.

from solana-playground.

kaiqiangh avatar kaiqiangh commented on July 21, 2024

yeah, you are right. My address is not owned by the System program. Is it possible to change the ownership? I do not find any solution for that. Thanks

from solana-playground.

acheroncrypto avatar acheroncrypto commented on July 21, 2024

It should be possible to recover from this by creating a transaction to send funds from that wallet but paying the fee from another wallet. You can create another wallet account and use them in a TS file with pg.wallets.

Also, I'm curious to know how you changed the owner of your wallet account.

from solana-playground.

kaiqiangh avatar kaiqiangh commented on July 21, 2024

It should be possible to recover from this by creating a transaction to send funds from that wallet but paying the fee from another wallet. You can create another wallet account and use them in a TS file with pg.wallets.

Also, I'm curious to know how you changed the owner of your wallet account.

I forgot what I did to cause this issue. I would try the way you mentioned. Thanks a million.

from solana-playground.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.