How To Join IRISnet Testnet : Fuxi-8000

Happy validating

Sophie Huang
IRISnet Blog
4 min readJan 15, 2019

--

At Jan. 16, IRIShub dev team released version v0.10.0. This new version upgrades dependency to Tendermint v0.27.3. There are the following changes:

BREAKING CHANGES:

  • Add burn token cmd and lcd api
  • Add the sync tx broadcast type as the default mode in iriscli
  • Add token stats query cmd and lcd interface
  • Add iris export --height to export the snapshot of any block height even beyond the maximum cached historical version
  • Remove the record module
  • Refactor and redefined all the gov/slashing/service/stake/distribution and gasPrice params

Bug Fixes:

  • Withdraw commission on self bond removal
  • Use address instead of bond height / intratxcounter for deduplication
  • Removal of mandatory self-delegation reward
  • Fix bug of the tx result tags
  • Fix absence proof verification
  • Avoid to export account with no coin
  • Correctly reset jailed-validator bond height / unbonding height on export-for-zero-height
  • If a validator is jailed, distribute no reward to it
  • Fix issue that miss checking the first one in Coins

Fuxi-8000 Value Proposition

In fuxi-7000 testnet, IRIShub v0.9.0 was tested and it contains many breaking changes. Besides the architecture modifications that we have already talked about, the most exciting feature is the new runtime smooth software upgrade process. However the upgrade was not successful. Log is here:https://github.com/irisnet/irishub/issues/999

Fuxi-8000 will be the last two testnet before launch of IRISnet Betanet. In Fuxi-8000, it’s designed to simulate some real world senarios on on-chain software upgrade and transaction load. The two main features to be tested are:

  • On-chain software upgrade workflow of different types
  • Simulation of massive trasaction load for a short period, 500 tps at peak

Types of Software Upgrade:

Voluntary: When there is a non-breaking path release of IRIShub software, validator could upgrade to newer version and restart their nodes.

Smooth: Runtime software upgrade where Tendermint will collect version signals from block headers and tell if the pre-defined threshold is passed. When the target is met, new logic will be activated.

Patch: When there is a consensus failure, like apphash conflicts, then a patch could be deployed with class III upgrade. Tendermint will replay last block to recover application state.

Restart: When the changes in iris is no longer backward compatible, this type of upgrade is needed. We export a snapshop of blockchain and use it as genesis file for a new chain.

Fuxi-8000 workflow

Read more about IRIShub’s upgrade feature here.

Steps To Be Genesis Validator in Fuxi-8000

The full doc is here.

  • If you have joined fuxi-7000 testnet before and please don’t use the same home folder. Since fuxi-7000 testnet is halted, you should have killed iris
  • Install IRIShub v0.10.0 with the following guide
  • Create your own account if you don’s have one

This account acts as the corresponding validator operator for yourself.

iriscli keys add {account_name}

You can get the account information, including account address, public key address and mnemonic. The address and public key are all bech32 encoded.

NAME: TYPE: ADDRESS: PUBKEY:
account_name local faa13t6jugwm5uu3h835s5d4zggkklz6rpns59keju fap1addwnpepqdne60eyssj2plrsusd8049cs5hhhl5alcxv2xu0xmzlhphy9lyd5kpsyzu
**Important** write this seed phrase in a safe place.
It is the only way to recover your account if you ever forget your password.
  • Initialize your node

Initialize the configuration files such as genesis.json and config.toml

iris init --home={path_to_your_home} --chain-id=fuxi-8000 --moniker={validator-name}

This command will create the corresponding files in the home directory.

  • Run Gentx Command

It creates a genesis piece carrying a self delegation with the
following delegation and commission default parameters:

  • delegation amount: 100iris
  • commission rate: 0.1
  • commission max rate: 0.2
  • commission max change rate: 0.01
iris gentx --name={account_key_name} --home={path_to_your_home} --ip={your-public-ip}

Deadline: 1/16 at 18:00 UTC

Testnet Incentivized Tasks

The IRIS network will keep generating value when its validators could keep the whole network secure. With incentivized testnet, IRIS foundation wish to discover qualified validators and give them opportunities to earn IRIS tokens

  • Fuxi-8000 Task List:

https://github.com/irisnet/testnets/blob/master/fuxi/fuxi-7000/README.md

You could submit the proof of your completed task in this link:https://github.com/irisnet/testnets/issues/252 .

Fuxi-7000 incentivized testnet tasks results are available here

--

--