Questions tagged [local-cluster]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
77 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
1 vote
1 answer
25 views

How long do warmup epochs take to be at normal speed?

I am running a global private cluster and have --enable-warmup-epochs enabled in my genesis. How long does it take to get to normal speed? The helpfile shows: --enable-warmup-epochs When enabled ...
T3chie's user avatar
  • 85
5 votes
1 answer
32 views

Automatically include my Solana program in local validator?

Is it possible to start a local validator with my Solana program already deployed? Or do I have to do 2 separate commands? One first starting the validator, another for deploying?
Burger Bob's user avatar
  • 1,124
0 votes
1 answer
59 views

local cluster vote-account no root slot

Trying to create a global private cluster from genesis and can't get a second or third vote-account prepared in order to have a second and third validator vote on the cluster. This is from the second ...
T3chie's user avatar
  • 85
0 votes
0 answers
15 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
  • 85
0 votes
0 answers
20 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
  • 85
1 vote
1 answer
42 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
41 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
  • 85
1 vote
1 answer
94 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
  • 85
1 vote
1 answer
151 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
99 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,297
1 vote
0 answers
117 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
213 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,534
1 vote
1 answer
146 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
171 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
57 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
2 votes
0 answers
109 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
  • 382
2 votes
1 answer
40 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
119 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