Skip to main content

Questions tagged [local-cluster]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
0 answers
16 views

bench-tps not working on v1.18.5

I have been locally testing some changes using cluster bootstrap command ./multinode-demo/bootstrap-validator.sh --gossip-host <public_ip>. On the client side on another machine I usually use ...
Huzaifa Rahman's user avatar
2 votes
1 answer
179 views

How can I check the transaction logs in `anchor test`?

If my Anchor instruction handler has some log messages: msg!("The number is: {}, the color is: {}", number, color); I know I can check the Solana logs either using solana logs: Transaction ...
mikemaccana's user avatar
  • 1,845
0 votes
1 answer
119 views

run a local node fail: solana-test-validator fail

I use wsl2 in windows11: ubuntu 20.04. And I set the proxy in the ~/.bashrc: export https_proxy="http://127.0.0.1:7890" export http_proxy="http://127.0.0.1:7890" I follow this ...
LEVI_104's user avatar
4 votes
1 answer
259 views

Why can't I see block 1 on my local validator?

I have solana-test-validator running locally. And from https://explorer.solana.com, I can pick 'Custom RPC URL' and see the stats for my local validator. Clicking on the link for the current slot, I ...
mikemaccana's user avatar
  • 1,845
0 votes
1 answer
234 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
40 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
64 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,406
0 votes
1 answer
107 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
27 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
30 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
72 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
65 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
229 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
512 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
220 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,845
1 vote
0 answers
177 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
240 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,624
1 vote
1 answer
351 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
  • 55
4 votes
1 answer
484 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
104 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
226 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
  • 667
2 votes
1 answer
54 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
300 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