As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [local-cluster]

The tag has no usage guidance.

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

How to add funded accounts during solana-genesis for local cluster

What is the process to add 10 or so accounts during solana-genesis with a pre-determined amount of lamports for use with a local cluster? I am not using test-validator or multi-node demo.
T3chie's user avatar
  • 21
0 votes
0 answers
11 views

How to get private cluster to finalize non-vote TX?

I have a private cluster running on two remote rigs. One is the bootstrap validator that is created with genesis and is funded. I can get it to vote using --no-wait-for-vote-to-start-leader but only ...
T3chie's user avatar
  • 21
0 votes
1 answer
12 views

Solana bootstrap-validator cannot run as expected when create a local cluster

I follow the instructions of Benchmark a Cluster (https://docs.solana.com/cluster/bench-tps). After I executed this line: NDEBUG=1 ./multinode-demo/bootstrap-validator.sh, according to the ...
Shizheng's user avatar
1 vote
1 answer
28 views

syntax --primordial-accounts-file <FILENAME>

I am trying to start my own development cluster and would like to stake additional nodes during genesis. I need to use the flag --primordial-accounts-file <FILENAME> but need to know the proper ...
T3chie's user avatar
  • 21
1 vote
1 answer
39 views

bootstrap validator not voting when using solana-genesis or not detected as bootstrap validator

I am starting a new development cluster and have a new solana-genesis config but am failing to get the bootstrap validator to vote. Using this script, the genesis.bin file is created. My bootstrap ...
T3chie's user avatar
  • 21
1 vote
1 answer
60 views

getting error on communication between solana-test-validator and solana balance

Hi All, After running solana-test-validator on arch linux, I tried to test solana balance which is showing following error. Error: RPC request error: cluster version query failed: error sending ...
sanjeet kumar's user avatar
2 votes
1 answer
58 views

Error downloading the ComputeBudget program to use on local validator

Per the Solana Cookbook, I'd like to set a transaction priority by using fees. transaction.add( ComputeBudgetProgram.setComputeUnitLimit({ units: 1_000_000, }) ); transaction.add( ...
mikemaccana's user avatar
  • 1,071
1 vote
0 answers
93 views

Single-node validator stuck on "Haven't landed a vote, so skipping my leader slot"

What are the steps to getting a single-node validator in a private network (using the solana-validator binary) running? The current setup I'm doing is solana-genesis \ --enable-warmup-epochs \ --...
Kevin Ji's user avatar
  • 185
1 vote
1 answer
156 views

Error: failed to get recent blockhash: FetchError: request to http://localhost:8899/ failed, reason: connect ECONNREFUSED ::1:8899

I am not sure what is the reason behind this error i get this error at random. I have set the anchor.toml file to localnet
Pratik.js's user avatar
  • 1,432
1 vote
1 answer
70 views

Anchor unit tests wont work on localnet

Sorry for the noob question. Im trying to test a program that I deployed locally, however when running anchor run test, I receive the following error. Error: failed to get recent blockhash: FetchError:...
TLS's user avatar
  • 45
4 votes
1 answer
104 views

Transaction not getting confirmed on local cluster

I am trying to create a local cluster using scrips available on solana repository. I am testing using v1.11.9. I use the script multinode-demo/setup.sh to create a genesis block. Then i use the ...
Galactus Godmode's user avatar
2 votes
1 answer
43 views

Cloning Existing Mints

I am developing a program that takes an existing mint as payment for services, is it possible to not only clone this Mint but then mint the tokens to accounts in my localnet testing? Example: Clone $...
Jack's user avatar
  • 91
1 vote
0 answers
63 views

How to run multiple validator instances on localhost to not falling behind

I try to run solana validator at my laptop. I would like to start with the test validator and join two or three solana validators. I follow the guide from here https://github.com/mvines/validator-...
chalda's user avatar
  • 372
2 votes
1 answer
32 views

Is there a way for the contract to test what cluster (mainnet, devnet, testnet) it is on?

In my project, I have some code that is unable to run on testnet, so I want to just pass sample data there. I'm wondering if it's possible to detect the environment so that I do not have to run ...
web3man's user avatar
  • 87
2 votes
1 answer
95 views

Private Node drops transactions while solana-test-validator does not

I am trying to run a custom benchmark for Solana and have noticed the following odd (or maybe not) behaviour. I create a single node cluster by following the instructions in: https://docs.solana.com/...
al96's user avatar
  • 41