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

This account may not be used to pay transaction fees #336

Open
Aviksaikat opened this issue Dec 16, 2024 · 1 comment
Open

This account may not be used to pay transaction fees #336

Aviksaikat opened this issue Dec 16, 2024 · 1 comment

Comments

@Aviksaikat
Copy link

Aviksaikat commented Dec 16, 2024

Hi I'm getting this when trying to run anchor deploy on devnet & testnet while testing
https://github.com/solana-developers/program-examples/tree/main/tokens/create-token

Error: Account allocation failed: RPC response error -32002: Transaction simulation failed: This account may not be used to pay transaction fees 
There was a problem deploying: Output { status: ExitStatus(unix_wait_status(256)), stdout: "", stderr: "" }.

I have 16 SOLs on devnet

  • Anchor.toml
[toolchain]

[features]
resolution = true
skip-lint = false

[programs.localnet]
test = "HkP6uxB55uMYkfNAT2A2bjpZwRZz64f2nxta8mtnz4mM"

[registry]
url = "https://api.apr.dev"

[provider]
cluster = "devnet"
wallet = "~/.config/solana/id.json"

[scripts]
test = "yarn run ts-mocha -p ./tsconfig.json -t 1000000 tests/**/*.ts"


[test]
startup_wait = 10000
shutdown_wait = 10000

[test.validator]
bind_address = "0.0.0.0"
url = "https://api.mainnet-beta.solana.com"
ledger = ".anchor/test-ledger"
rpc_port = 8899

[[test.validator.clone]]
address = "metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s"
@adpthegreat

This comment was marked as abuse.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@Aviksaikat @adpthegreat and others