Skip to content

Latest commit

 

History

History
 
 

bombay-12

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Bombay-12

Testnet for Columbus-5.

[email protected] will be used.

  • The genesis is forked from the tequila-0004 network at height #5,900,000.
  • The genesis event for bombay-12 testnet will occur 2021-09-28T09:00:00Z (UTC)

Export Genesis

Export requires at least 32 GB memory

# [email protected]
$ terrad export --height 5900000 > exported-genesis.json
$ jq -S -c -M "" ./exported-genesis.json| shasum -a 256
afa5a8077272f377e8e71b55b24409ea5469fc2ee5ab8c593c032f257f8b7f08 ./exported-genesis.json

Migrate Genesis

# [email protected]
$ terrad migrate ./exported-genesis.json --chain-id=bombay-12 --initial-height=5900001 --genesis-time=2021-09-28T09:00:00Z --replacement-cons-keys ./pubkey-replace.json > new-genesis.json
$ jq -S -c -M "" ./new-genesis.json | shasum -a 256
50d450bc48bbec790de670e9d2195f04feef15bc3341ef143085c1b5ac0111fc ./new-genesis.json

How to Setup

The validators who did not submit the pubkey replacement, should copy the node keys from the tequila node.

$ git clone https://github.com/terra-money/core
# validators please use v0.5.5-oracle tag
$ git checkout v0.5.5
$ make install

$ terrad version --long
name: terra
server_name: terrad
version: 0.5.5
commit: d8e277626e74f9d6417dcd598574686882f0274c
build_tags: netgo,ledger
go: go version go1.16.5 darwin/amd64

$ terrad init [moniker] --chain-id bombay-12
$ wget https://raw.githubusercontent.com/terra-money/testnet/master/bombay-12/genesis.json
$ cp genesis.json ~/.terra/config/genesis.json
$ sed -i 's/minimum-gas-prices = "0uluna"/minimum-gas-prices = "0.15uluna,0.1018usdr,0.15uusd,178.05ukrw,431.6259umnt,0.125ueur,0.97ucny,16.0ujpy,0.11ugbp,11.0uinr,0.19ucad,0.13uchf,0.19uaud,0.2usgd,4.62uthb,1.25usek,1.164uhkd,0.9udkk,1.25unok,2180.0uidr,7.6uphp"/g' ~/.terra/config/app.toml
$ terrad start

Download the Address Book

addrbook.json

After the file is downloaded, put it in the the ~/.terra/config directory.

Known Peers

Key Changes for Validator Setup

  • ~/.terrad home changed to ~/.terra
  • $ terracli rest-server removed, instead you can activate rest-server on ~/.terra/config/app.toml by setting enable = true on [api] section.
  • Swagger url changed to :1317/swagger-ui/ to :1317/swagger/
  • Please use bombay branch ecosystem tools

Except these, you can also check changed configurations a lot, please check the changes and be familiar before Columbus-5 launching!

Frequently Asked Questions

  • Error: invalid character 'e' in literal true (expecting 'r')

    $ terrad tendermint show-validator [--home] command does not show bech32 encoded terraconsvalpub address, but show '{"@type":"/cosmos.crypto.ed25519.PubKey","key":"bwVWtrsVrhimkACyF6lwLogwgWTtHUSnjVTl/20DLrw="}' protobuf style interface JSON. so $ terrad tx staking create-valdiator --pubkey now receive this pubkey interface JSON string.

    $ terrad tx staking create-validator \
        --pubkey '{"@type":"/cosmos.crypto.ed25519.PubKey","key":"bwVWtrsVrhimkACyF6lwLogwgWTtHUSnjVTl/20DLrw="}' \
        ...