Questions tagged [local-cluster]
The local-cluster tag has no usage guidance.
15
questions
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.
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 ...
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 ...
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 ...
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 ...
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 ...
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(
...
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 \
--...
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
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:...
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 ...
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 $...
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-...
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 ...
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/...