Skip to content

Commit

Permalink
update bombay-0007 network info
Browse files Browse the repository at this point in the history
  • Loading branch information
yun-yeo committed Jun 3, 2021
1 parent 436bb15 commit dc9f6c3
Show file tree
Hide file tree
Showing 3 changed files with 111 additions and 0 deletions.
88 changes: 88 additions & 0 deletions bombay-0007/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,88 @@
# Bombay-0007

Testnet for Columbus-5.

[[email protected]](https://github.com/terra-money/core/releases/v0.5.0-beta4).

- The genesis is forked from the Tequila-0004 network at height #4095000.
- The genesis event for Bombay testnet will occur **2021-06-04T00:00:00Z (UTC)**

## Export Genesis
Export requires at least 16GB memory
```shell
$ terrad export --height 4095000 > exported-genesis.json
$ shasum ./exported-genesis.json
cf3f9761e54cf87e3b69ddbc4aa9dddfa0a539c6 ./exported-genesis.json
```

## Migrate Genesis
```shell
$ terrad migrate ./exported-genesis.json --chain-id=bombay-0007 --initial-height=4095001 --genesis-time=2021-06-04T00:00:00Z --replacement-cons-keys ./pubkey-replace.json > new-genesis.json
$ shasum ./new-genesis.json
f08950412161613c89b2fa47ccef697b93a7115e ./new-genesis.json
```

## How to Setup
**The validators who did not submit the pubkey replacement, should copy the node keys from the tequila node.**

```shell
$ git clone https://github.com/terra-money/core
$ git checkout v0.5.0-beta4
$ make install

$ terrad version --long
name: terra
server_name: terrad
version: 0.5.0-beta4
commit: 3166ae2e0d4f2ac9471b47205cf771b8561aa218
build_tags: netgo,ledger
go: go version go1.16.4 linux/amd64

$ terrad init [moniker] --chain-id bombay-0007
$ wget https://raw.githubusercontent.com/terra-money/testnet/master/bombay-0007/genesis.json
$ cp genesis.json ~/.terra/config/genesis.json
$ sed -i 's/minimum-gas-prices = ""/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"/g' ~/.terra/config/app.toml
$ terrad start
```

### Seed Nodes
```
[email protected]:26656
```

### Known Peers
```
[email protected]:36656
[email protected]:26656
[email protected]:26656
[email protected]:26656
[email protected]:26656
[email protected]:26656
[email protected]:26656
[email protected]:26656
[email protected]:26656
[email protected]:26656
```

### 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
- oracle feeder https://github.com/terra-money/oracle-feeder/tree/bombay
- terra.js https://github.com/terra-money/terra.js/tree/bombay (`$ npm i @terra-money/terra.js@bombay`)


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="}' \
...
```

1 change: 1 addition & 0 deletions bombay-0007/genesis.json

Large diffs are not rendered by default.

22 changes: 22 additions & 0 deletions bombay-0007/pubkey-replace.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"validator_name": "node0",
"validator_address": "terravaloper1vk20anceu6h9s00d27pjlvslz3avetkvnwmr35",
"stargate_consensus_public_key": "{\"@type\": \"/cosmos.crypto.ed25519.PubKey\",\"key\": \"Hw7dtppFViVzJj/Gqv6TQsOZ6+BHjqLsTL53NSrRkJ0=\"}"
},
{
"validator_name": "Stakin",
"validator_address": "terravaloper10ja74nnrfpxu6allycnk7y2hcy0njefjqkhjdd",
"stargate_consensus_public_key": "{\"@type\": \"/cosmos.crypto.ed25519.PubKey\",\"key\": \"AJ0C1BbZPs7RoWDiHJI8t+QyVcDCrkjO6VmerKXjfp4=\"}"
},
{
"validator_name": "B-Harvest",
"validator_address": "terravaloper17qy25m5v2j42ye880n3xk2exz5tedsfe4p8w3c",
"stargate_consensus_public_key": "{\"@type\": \"/cosmos.crypto.ed25519.PubKey\",\"key\": \"fXfUSQqvTb+2xznh2XsNu6fJzvbG2+KlgsyfGpuc/BU=\"}"
},
{
"validator_name": "Masternode24.de",
"validator_address": "terravaloper15qjn7ke9s47qn4mte3lerkxtjjgp38n5qquzsu",
"stargate_consensus_public_key": "{\"@type\": \"/cosmos.crypto.ed25519.PubKey\",\"key\": \"1Z/EG6labzN4klDv52M3cZFEkDroukX4c37q5PtBhLM=\"}"
}
]

0 comments on commit dc9f6c3

Please sign in to comment.