Skip to main content

Questions tagged [solana-test-validator]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
10 views

How to debug a bpf program deployed by test-validator?

I want to debug a bpf program deployed to solana-test-validator. besides the solana-test-validator, i have pulled a github project: https://github.com/hashblock/solana-cli-program-template which ...
Dexter's user avatar
  • 1
1 vote
1 answer
13 views

solana-sys-tuner not found

I build solana with v1.18.15 version, and run ./scripts/cargo-install-all.sh /storage but solana-sys-tuner not found in /storage/bin. How do I install solana-sys-tuner? Is my solana version wrong? ...
Christ's user avatar
  • 33
1 vote
0 answers
8 views

solana -ud gossip | grep <Validator Address> does not show anything on devnet

it's my first time posting anything on stackexchange, so please ignore any mistakes I make. I am trying to run a validator node on solana devnet. The node is working fine: solana -ud gossip | grep ...
Moeez Qureshi's user avatar
2 votes
1 answer
19 views

How to prevent RocksDB from growing?

I'm running a local devnet node and try to prevent RocksDB from growing indefinitely. It currently occupies around 750gb. Which configuration parameter do I need to set to limit db size? This is how I ...
Alexey Kalmykov's user avatar
1 vote
1 answer
19 views

'invalid account data' error when using Immutable Owner extension and Non-transferable extensions together

Following guides, https://solana.com/developers/guides/token-extensions/non-transferable#build-instructions and https://solana.com/developers/guides/token-extensions/immutable-owner#conclusion They ...
AndrewZzzz's user avatar
3 votes
1 answer
50 views

Anchor.toml clone programs - error : This program may not be used for executing instructions

Tested with: Solana 18 (checked with 0.18.2, 0.18.10, and 0.18.14) Anchor 0.29.0 Loading programs with Anchor.toml with an address like this: ## Wormhole Core Bridge [[test.validator.clone]] ...
GregoryWhale's user avatar
1 vote
2 answers
56 views

command not found: solana-test-validator

After I installed solana-cli version 1.18.1, I tried to run the validator locally in the root directory but the command is not found. Did I miss something? My machine is a Mac M1. (base) MacBook-Pro-...
hanlong ye's user avatar
0 votes
0 answers
3k views

Troubleshooting Tapswap task approval

I have tried doing the task on the tapswap dashboard,I connected my Solana wallet which was successful,I also joined Tapswap on X,I also visited the Tapswap website which was all successful,but then ...
Mary mary's user avatar
0 votes
3 answers
84 views

Error Deploying Solana Nodes on OVH Machines: QUIC Connection Timed Out

I've been deploying 2 solana nodes (1 RPC and 1 Validator) on OVH machines, but I've encountered the following error: 2024-05-14T11:06:39.244108182Z WARN solana_perf] CUDA is disabled [2024-05-14T11:...
dariusjvc's user avatar
1 vote
1 answer
54 views

How to setup local solana validator RPC for a team about 5 PC

I want to setup a local solana validator RPC for my team, Devnet sometime gets bottleneck or something else, so I want to setup a localnet for my team. Any one can help me.
RichardPhan's user avatar
1 vote
0 answers
43 views

Solana too many requests

I want to send multiple transactions, and I am using multiple recent block hashes in my code. With some time public RPCs get exhausted. Are there good alternatives for doing something like 100 API ...
SKS's user avatar
  • 21
0 votes
1 answer
24 views

Recent Block Hash Issue with Multiple transactions

I want to do multiple transactions at one, When I tried to execute the transactions it shows that block-hash not found, I guess due to expiration of the block. How can I overcome this issue? Sometimes ...
Anon's user avatar
  • 111
0 votes
1 answer
59 views

Cant run RPC because of this error in validator.sh

keep getting this error message when I run the command /home/sol/bin/validator.sh to start my node. error: Found argument '--acount-index' which wasn't expected, or isn't valid in this context Did you ...
zamaniac's user avatar
1 vote
1 answer
14 views

Can I deploy SPL and ATA programs to the same address on a fork of Solana

I’m working on an SVM based network, and having the token and ata programs at different ids causes a lot of manual changes needed. Is it possible to deploy these to the same address as mainnet without ...
michaelb's user avatar
0 votes
0 answers
32 views

debug error on mac m1 "doesn't contain any 'host' platform architectures"

, I have done every thing on solana site said (https://solana.com/docs/programs/debugging) to try to debug and can't continue cuz this error appears , the same with a other notebook with intel ...
julio vera's user avatar
0 votes
1 answer
29 views

can anyone tell me why i am getting this error when i trying to create a token

i am getting this error Error in create mint Error: failed to send transaction: Transaction simulation failed: Error processing Instruction 0: custom program error: 0x1 import { useConnection, ...
Money's user avatar
  • 1
0 votes
1 answer
35 views

Can't run local validator on MAC

Hello I'm getting the following error: Error: failed to start validator: Failed to create ledger at test-ledger: io error: Error checking to unpack genesis archive: Archive error: extra entry found: &...
Soldevrookie's user avatar
1 vote
1 answer
48 views

solana-test-validator fails with 'Archive error: extra entry found' [duplicate]

I'm getting an error while running solana-test-validator Ledger location: test-ledger Log: test-ledger/validator.log Error: failed to start validator: Failed to create ledger at test-ledger: io error: ...
Shanith K K's user avatar
1 vote
1 answer
82 views

Solana validator doesnt start on port 8899 using it as rpc

I am trying to start an full rpc on mainnet. I keep getting these logs. what is rebuilt storages for 134832/414439 slots with 0 collisions Apr 19 07:23:14 vultr validator.sh[28731]: [2024-04-19T07:23:...
NIkos Dimitrakopoulos's user avatar
0 votes
1 answer
28 views

declared program id mismatch

We copied a solana program from a youtube vid. The program id : Ecr5UgGyJTnKraLRPYBXrK9RD7DfoVDYfSioVksnnfjA is this one. We copied it and deployed it on our own and here is what we got. program id : ...
SACRED- ESP's user avatar
0 votes
0 answers
48 views

Error: AccountNotFound: on Solana CLI

So I setup Solana CLI on Ubuntu (Windows sub system WSL2). I started up my solana-test-validator Then I opened up a new Linux terminal instance and set solana config set --url localhost Finally I ...
Mark's user avatar
  • 43
1 vote
1 answer
55 views

Transaction confirmation expires on test-validator

Using a local validator to run some tests against the Squads v4 program, and encountering issues when confirming transactions. The file in question can be found here: https://github.com/Squads-...
Joey Meere's user avatar
  • 1,410
1 vote
0 answers
137 views

Transaction history is not available from this node : Solana validator RPC setup

Even though i have successfully setup solana-validator(mainnet) RPC(--no-voting) node in my computer and the newwork catchup also success as solana-validator --ledger /mnt/ledger monitor also shows ...
ppegu's user avatar
  • 111
0 votes
1 answer
42 views

How to do Proof of Authority?

Hey I would like to make a test net with a closed validator set, specified in the genesis config. Does Solana support proof of authority? Or is there another way to accomplish this? Thanks
E Clipse's user avatar
0 votes
1 answer
82 views

solana-test-validator not working. (tried the approach in the similar question) and logging a different error

As stated in the docs, I have succesfully installed, cargo rust and all the required dependencies, However I am unable to run the test validator, this is the error logged, Error: failed to start ...
Shivansh's user avatar
1 vote
1 answer
144 views

CPI "Unknown program 11111111111111111111111111111111" error

yo im experiementing with CPI calls on devnet (running test validator locally), and I get this "Unknown program 11111111111111111111111111111111" error with An account required by the ...
4cAsrSgN9r's user avatar
1 vote
2 answers
113 views

Solana-test-validator airdrop request fails

I am connected to the solana-test-validator. When I request an airdrop it fails with Error: airdrop request failed. This can happen when the rate limit is reached. I have search around and have been ...
Zac Marley's user avatar
0 votes
0 answers
26 views

concurrent merkle tree doc unclear

I've recently started getting interested into the solana bc and its ecosystem, but i find the current doc very unclear and im looking for someone who could explain to me the inner workings of ...
4cAsrSgN9r's user avatar
1 vote
0 answers
45 views

Solana Program Test with installed geyser plugin

For the program I'm writing I need to "fast forward" the validator clock for some of my tests. I noticed that warp_slot is available in solana-program-test however I can't seem to find or ...
Anthony Anderson's user avatar
0 votes
0 answers
27 views

Client Error: program with keypair (../program/target/deploy/helloworld-keypair.json) is not executable

I'm trying to run the client program after deploying https://github.com/dmakarov/simple-solana-program.git on localhost testnet. Deployment works fine cargo build-sbf --manifest-path=program/Cargo....
A. K.'s user avatar
  • 175
0 votes
1 answer
378 views

Cannot start test validator - error failed to create ledger

Running into an error trying to start test validator. Please advise. Thanks. I'm on MacOS ➜ test-ledger solana --version solana-cli 1.18.4 (src:356c6a38; feat:3352961542, client:SolanaLabs) > dev ...
momofifi's user avatar
1 vote
1 answer
43 views

solana local chain

i try to running solana in local my environment with help of solana-test-validator and its running in local environment absolute fine. but i have some doubt it create its own genesis config with ...
Dick grayson's user avatar
0 votes
0 answers
27 views

Solana-test-validator error

➜ ~ solana-test-validator Notice! No wallet available. solana airdrop localnet SOL after creating one Ledger location: test-ledger Log: test-ledger/validator.log Error: failed to start validator: ...
Saksham Chaudhary's user avatar
0 votes
1 answer
493 views

Yellowstone Geyser GRPC Error FailedtoLoadPlugin

When launching my validator (self hosted, working for more than a month and updated to a plugin matching version (1.17.20)) the validator first load then return an error. The plugin is https://github....
SCcagg5's user avatar
  • 111
6 votes
2 answers
578 views

'Archive error: extra entry found' on solana-test-validator

failed to start validator: Failed to create ledger at test-ledger: io error: Error checking to unpack genesis archive: Archive error: extra entry found: "._genesis.bin" Regular/failed to ...
Dastageer Sayed's user avatar
0 votes
1 answer
41 views

solana-test-validator looses history on restart

I am running a solana-test-validator locally. When shutting it down and restarting it, the balances for accounts persist - so I am sure that not everything was reset. However, transactions which were ...
Butzelino's user avatar
1 vote
1 answer
70 views

Solana Rust: Signature verification failed

I'm getting Solana transaction signature verification error. I tried many methods but my result is always same, which is "false" Below is my code: let node_client = RpcClient::new("...
deadlium's user avatar
1 vote
1 answer
131 views

Errors when trying out Confidential Transfer token extension on solana-test-validator

I am getting errors when trying the confidential transfer token extension. Followed the instructions given in the documentation. First tried it on the testnet, it worked fine till the create account ...
Soumith Basina's user avatar
0 votes
0 answers
55 views

Connection Reset Error on Solana Transactions

I'm currently facing a challenge with my Solana project, and I'm reaching out to seek your expertise. In my setup, I'm sending 4000 transactions to a cluster involving an RPC and a validator using ...
dariusjvc's user avatar
0 votes
1 answer
63 views

Request for Assistance: Retrieving Parsed Transaction Data in Rust for Solana Test Validator

Currently, I am running a Solana test validator, and it's functioning perfectly. However, I am facing a challenge when it comes to retrieving transaction data in Rust. In the "@solana/web3.js&...
deadlium's user avatar
1 vote
1 answer
84 views

NFT Minting failing on Localhost / MPL Metadata (solana-test-validator with meta clone)

I'm running a local test validator via: solana-test-validator --ledger=".anchor/test-ledger" --clone="metaqbxxUerdq28cj1RbAWkYQm3ybzjb6a8bt518x1s" --url="https://api.mainnet-...
Simon Thomas's user avatar
1 vote
0 answers
254 views

Using Raydium locally - Address Lookup Table fails with "Transaction address table lookup uses an invalid index"

I'm trying to use the Raydium SDK locally with solana-test-validator but transactions involving the LOOKUP_CACHE defined in the SDK fail with the message SendTransactionError: failed to send ...
ChrisK's user avatar
  • 11
0 votes
1 answer
179 views

Localnet transaction stuck finalizing

I attempted to run my test using anchor on Localnet but got my test stuck like this ⠤ [0/1] Finalizing transaction ...
Kombi's user avatar
  • 1
3 votes
1 answer
140 views

How do I get a local debugger in a running `solana-test-validator`

I'm trying to debug an issue with the Solana JSON RPC, which I can reproduce using the solana-test-validator locally. I've built the solana-labs/solana repo locally using ./cargo build. I'm able to ...
Callum M's user avatar
  • 3,130
1 vote
1 answer
137 views

How can I monitor my validator, other than using validator logs?

I want to monitor my validator for development purpose. I want to see debug logs debug!("CUDA ECDSA for {}", valid_packet_count); debug!("allocating out.."); And this trace logs ...
Abhishek Faliya's user avatar
0 votes
0 answers
106 views

Unable to update Validator Commission

Getting stuck here trying to update a validators commission. Any help would be much appreciated solana vote-update-commission -k authorized-withdrawer-keypair.json --fee-payer validator-keypair.json ...
phillyphan's user avatar
1 vote
1 answer
252 views

not found in solana validators, however, found in solana gossip

I've been running a Solana validator, and I've noticed that my validator is not showing up when I run the 'solana validators' command. However, the 'solana gossip' command shows my validator as active....
hikari's user avatar
  • 11
0 votes
2 answers
72 views

Duplicate slot : At this point manual intervention is needed to make progress

Pruning expired primary index 0 up to slot 0 (max requested: 248834748) thread 'solReplayStage' panicked at 'We have tried to repair duplicate slot: 248834747 more than 10 times and are unable to ...
Arpit Yadav - Shyft.to's user avatar
2 votes
2 answers
85 views

Unable to run solana Hello World program in WSL

I have been following Josh's DevBox video to get started with Solana. In WSL environment, I did all the process, but at the end while executing npm run start, it comes up with Segmentation Fault. Any ...
ispostback's user avatar
1 vote
0 answers
63 views

illegal hardware instruction solana-test-validator

When running solana-test-validator on terminal I got this error. shivangrawat@shivangs-MacBook-Air solana % solana-test-validator --faucet-sol argument ignored, ledger already exists Ledger location: ...
Shivang Rawat's user avatar