Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
1 answer
21 views

How To Reset AnchorUtils.loadEnv() Wrong Keypath From Other Projects

I have in the past been able to compile and deploy these switchboard example projects to devnet: https://github.com/switchboard-xyz/sb-on-demand-examples/tree/main/sb-randomness-on-demand Now when I ...
Jim's user avatar
  • 165
1 vote
1 answer
20 views

Solana counter example success on localnet but failed on devnet: Attempt to debit an account but found no record of a prior credit

I'm working on Counter example of Solana. Everything works well on localnetwork, but when I try on devnet I got the message Transaction simulation failed: Attempt to debit an account but found no ...
Akkien's user avatar
  • 11
3 votes
2 answers
388 views

Creating Address Lookup Table in localnet fails with "invalid instruction data" error

As the title says, I'm unable to create an Address Lookup Table in localnet. I'm trying to create it in an anchor test and using the following code (which works in devnet/mainnet): const slot = await ...
meditatingsloth's user avatar
0 votes
1 answer
297 views

failed: Invoked an instruction with data that is too large (12884932884 > 10240)'

failed: Invoked an instruction with data that is too large (12884932884 > 10240)' i have this error when i try run test in my anchor program, but this only using local validator when i try using ...
Jesus Silva's user avatar
3 votes
1 answer
247 views

Problems to deploy program with Anchor 0.28.0 to localnet

I am upgrading my programs to anchor 0.28.0 but I am not able to deploy anymore. The transactions do not finalize. (devnet works fine) These are my versions: solana --version solana-cli 1.16.0 (src:...
Jonas H.'s user avatar
  • 7,209