Try   HackMD

V4 Testnet discord announcement

Hey everyone! We have a testnet on v3, and are planning to upgrade that to the v4 upgrade soon. We wanted to have everyone have an opportunity to try syncing it / testing their cosmovisor setups against this, and check out what epoch time is looking at.

This testnet is based on a September 9th state export of mainnet, with Sentinel's public key swapped out with other private keys, and its stake increased to be greater than 66% of the network. (Sentinel chosen because they had the highest stake)

I think the plan should be to have this testnet going on for the week, but if no issues are found by tomorrow, we put an upgrade proposal on chain late Sunday. This would have voting end on Wednesday, and if no issues are found, we proceed with that. The upgrade block height should then target Friday morning EST.

Join testnet instructions

  • Use software version v3.2.0_with_cache

    • This is ~same state machine as v3.2.0, but it has an optimization to 5x speedup init genesis. The init genesis with this software version is ~10 minutes.
    ​​​​    curl https://raw.githubusercontent.com/canha/golang-tools-install-script/master/goinstall.sh | bash
    ​​​​    git clone https://github.com/osmosis-labs/osmosis
    ​​​​    cd osmosis
    ​​​​    git checkout v3.2.0_with_cache
    ​​​​    make install
    ​​​​    osmosisd init *Node_Name* --chain-id=osmosis-testnet-0
    
  • Add persistent peers of validator/nodes to your config.toml: 6364e63227345d7d4be951c8b771303dc2dfc27a@143.244.147.126:26656,87e81a6930247bb0c93c79243affb71e92ab3c96@143.244.180.68:26656

  • Setup cosmovisor

    • Setup instructions
    • Remember, in the v4/bin/ folder, use the osmosisd version compiled from v4.0.0-rc1
  • genesis file

    • Download and extract with:
    ​​​​cd ~/.osmosis/config
    ​​​​wget https://github.com/osmosis-labs/networks/raw/unity/v4/osmosis-1/upgrades/v4/testnet/genesis.tar.bz2
    ​​​​tar -xjf genesis.tar.bz2
    
  • Parameter changes:

  • Things to test out

    • That your locked up amount is the same (except for anything you had that was unbonding, which would then be finished unbonding)
    • Swaps & staking work just fine
    • Creating a pool charges min creation fee (1uosmo for now)
    • Rewards are coming in each epoch at the right amount
    • Epoch processing time & #events did go down
    • If you were a prop 12 recipient, you got the funds