Frequently Asked Questions (FAQ)

My node is running but is not visible by peers

Check that you opened the 35000 port in your firewall settings and the node listens to it:

sudo netstat -tulpn

I receive {“code”:32003,”message”:”state query failed: ValueNotFound("Failed to find base key at path: Key::Account(…)")”} when checking the balance

Make sure that you are using the hex representation of the correct public key, and that the key is funded.

I receive “ApiError::Transfer [14]” in my bid transaction status

Make sure you bid less than you have in your account. In case you bid all you have then you didn’t leave anything to pay for the transaction execution, make sure to leave fund to pay for transaction.

I do not see my bid in the auction info

Make sure that:

If the request was correct, check the transaction status to ensure it went through. Sending a transaction to the network does not mean that the transaction processed successfully. It’s important to check to see that the contract executed properly:

casper-client get-deploy --node-address http://<KNOWN_VALIDATOR_IP>:7777 <DEPLOY_HASH> | jq .result.execution_results

Replace <DEPLOY_HASH> with the deploy hash of the transaction you want to check.

How do I estimate execution cost?

The chainspec.toml file contains costs for every function call or operation, as well as memory and space usage. However, it is rather complicated to estimate the cost that way.

Right now, estimation would be done by exercising contracts against the Testnet. Casperlabs team intends to do this exercise for all the important contracts they provide. The results will end up as an addendum to online documentation.

The setup instructions have CASPER_VERSION=1_0_0 but the current version on the test net is different (i.e. 1.2.0). Should I change this value to reflect the latest version and directly install that version?

No. Do the normal installation for version 1.0.0 up to the start your node step, then stage the upgrades in order, one by one, let your node catch up with the network, then do the bonding. (Instructions already cover all of these steps.)

I did the bonding request as instructed, but it failed with the status of “Out of gas error”.

Increase the value of the --payment-amount parameter in the bonding request. As of version 1.2.0, bids and delegations cost ~3 CSPR.

Can I move my node to a different machine/location/IP-address?

Yes. You may follow these steps: