Cronos Testnet
Pre-requisites
Supported OS
We officially support macOS, Windows, and Linux only. Other platforms may work but there is no guarantee. We will extend our support to other operating systems after we have stabilised our current architecture.
Prepare your machine
To run Cronos Tesnet nodes, you will need a machine with the following minimum requirements to run different types of nodes:
Pruned node (setting pruning=everything)
Storage: ~25G*
RAM: 4 GB (LevelDB) or 64G RAM (RocksDB)***
CPU: 4-core
Default full node (setting pruning=default)
Storage: ~1.5T**
RAM: 4 GB (LevelDB) or 64G RAM (RocksDB)***
CPU: 4-core
Archive node (setting pruning=nothing)
Storage: ~2.8T**
RAM: 4 GB (LevelDB) or 64G RAM (RocksDB)***
CPU: 4-core
*Only in case of state-sync enabled. ** e.g. Note that size of snapshots will keep growing. *** Note that during a state-sync the node might require higher RAM than 3GB but, returns to normal after state-sync has finished.
Step 0 : Notes on Testnet Network upgrade
This is a detailed documentation for setting up a full node on Cronos testnet cronostestnet_338-3
.
Before we start, please note that there are several binary upgrades along with the testnet:
~ 1553700
Sync-up with the blockchain until it reaches the target upgrade block height 1553700
;
Please note that panic: UPGRADE "v0.7.0" NEEDED at height: 1553700
is the expected error message when we hit that block.
1553700
Then continue to sync from block 1553700
;
1869000
Start the node again and continue to sync from block1869000
;
2483600
Start the node again
4904100
Start the node again
5138880
Start the node again
6134000
6969900
14046800
17382000
20142500
20142500
22200000
Step 1. Get the Cronos Testnet binary
To simplify the following step, we will be using Linux (Intel x86) for illustration. Binary for
To install released Cronos testnet binaries from github:
Afterwards, you can check the version of
cronosd
by
Step 2. Configure cronosd
cronosd
Step 2-0 (Optional) Clean up the old blockchain data
If you have joined
cronostestnet_338-2
before, you would have to clean up the old blockchain data and start over again, it can be done by running:Remove the old Genesis file:
Before kick-starting your node, we will have to configure your node so that it connects to the Cronos Testnet:
Step 2-1 Initialize cronosd
cronosd
First of all, you can initialize cronosd by:
This
moniker
will be the displayed id of your node when connected to the Cronos network. When providing the moniker value, make sure you drop the square brackets since they are not needed. The example below shows how to initialize a node namedpegasus-node
:
Step 2-2 Configure cronosd
Download and replace the Cronos Testnet
genesis.json
by:Verify sha256sum checksum of the downloaded
genesis.json
. You should seeOK!
if the sha256sum checksum matches.
For network configuration, in
~/.cronos/config/config.toml
, validator nodes need to modify the configurations ofpersistent_peers
,create_empty_blocks_interval
andtimeout_commit
. For non-validator full nodes, onlypersistent_peers
modification is required:
Step 3. Run everything
CAUTION: This page only shows the minimal setup for validator / full node.
Once cronosd
has been configured, we are ready to start the node and sync the blockchain data.
Start cronosd, e.g.:
(Optional for Linux) Start cronosd with systemd service, e.g.:
It should begin fetching blocks from the other peers. Please wait until it is fully synced before moving onto the next step.
You can query the node syncing status by
If the above command returns
false
, It means that your node is fully synced; otherwise, it returnstrue
and implies your node is still catching up.One can check the current block height by querying the public full node by:
and you can check your node's progress (in terms of block height) by
Last updated
Was this helpful?