Giter Site home page Giter Site logo

testnets's Introduction

Regen Ledger Testnets

Testnets for Regen Ledger

Active Testnets

regen-redwood-1

regen-redwood-1 is an active testnet for the community. It generally runs the same software as mainnet and useful for testing third-party integrations. Also it will be used as a platform for testing mainnet upgrades.

Here are the instructions to run a validator for regen-redwood-1:

  1. Stop your existing regen validator (if any)
sudo service regen stop
  1. Run the latest setup script
git clone https://github.com/regen-network/testnets
cd testnets
git pull

chmod +x scripts/testnet-val-setup.sh
./scripts/testnet-val-setup.sh <your_key_name> <your_validator_moniker_name>

You can find the genesis file and all the relevant information in redwood-testnet directory

To get tokens from the faucet use the following curl command

curl http://<faucet-url>/faucet/<your-regen-address>

Experimental Testnets

regen-hambach-2

Historical Devnets

regen-devnet-6

regen-devnet-5

regen-devnet-5 is active now and here are some important details:

Persistent Peer: [email protected]:26656

Here are the instructions to run a validator for regen-devnet-5:

  1. Stop your existing regen validator (if any)
sudo service regen stop
  1. Run the latest setup script
git clone https://github.com/regen-network/testnets
cd testnets
git pull

chmod +x scripts/devnet-val-setup.sh
./scripts/devnet-val-setup.sh <your_key_name> <your_validator_moniker_name>

Historic Testnets (not in use)

The testnets listed below are no longer active but are retained here for posterity. Do not waste your time trying to join them :)

Regen Network Testnet 4000: Aplikiĝo Testnet

Focus: Application specific testing and simulation of ecosystem service credit creation and trading with production ready MVP blockchain.

*Estimated Dates: Feb 8th — March 15th 2021

Minimum points to be allocated: 1800 $REGEN staking token rewards: 500,000

Aplikigo-1 Testnet is scheduled to start on 8th Feb, 2021. More details here

Blog Post: https://medium.com/regen-network/apliki%C4%9Do-regen-networks-final-pre-launch-incentivized-testnet-2e353dffb4b6

Testnet Plan: Aplikigo-1 Testnet Plan

TL;DR

35d64042e1a5f6466b2b1540fa2e859dfc49666e@public-rpc1.regen.vitwit.com:26656,[email protected]:26656,[email protected]:26656,

2. Bigbang Stargate testnet

We are also supporting the BigBang-1 Stargate testnet

Regen Network Testnet 3000: COSMWASM Kontraŭa Testnet

Focus: Adversarial testnet and network load testing with Regen Ledger running CosmWASM. This testnet may also morph into a Game of Zones testnet, as we are sensitive to the larger community opportunity.

  • Testnet schedule: 13th March - 24th Apr, 2020 (6 weeks)
  • Total points to be allocated: 1100+
  • Gentx submissions: 9th March 1500UTC (start date) - 12th March 0900 UTC (end date)
  • Genesis release time: 12th March, 1600UTC (23 hours before genesis time)
  • Network start time: 13th March, 1500UTC

Algradigon-1, an incentivized testnet was launched on 23rd Jan at 17:00UTC with 38 validators signing on the genesis block. The validator set was increased to a total of 49 validators and total of 4 upgrades were executed in a span of two weeks by 7th Feb.

Total points allocated: 900

Note The incentive program for the testnet was ended on 12th Feb 2020 at 12:00UTC

Important links

congo-1 was the first community-driven testnet between 7th November 2019 and 17th January 2020, at which point it was abandoned in order to prepare for the next incentivised testnet.

regen-test-1001 ran between August and October 2019. It is now defunct, having discovered a cosmos-sdk bug in governance-driven parameter updates logic.

regen-test-1000 hit some weird consensus error on app state at block 2.

Testnet xrn-test-3 started producing blocks at 2019-03-29T19:44:44.571815638Z and is now defunct.

xrncli can be configured to connect to the testnet as follows:

xrncli init --chain-id xrn-test-2 --node tcp://xrn-us-east-1.regen.network:26657

Deployed at 2018-12-19T20:40:06.463846Z.

The initial Regen Ledger testnet xrn-1 was deployed on 2018-12-19.

KYC Utils

Generate Validator Keys

Linking a validator address to your identity is how we ensure the right validator is rewarded for the hard work of participating in our incentivized testnets. Please back up your keys and maintain the same keys throughout testnet operations if possible. If you have a key management issue, please use the same Moniker in generation of new keys and notify the team.

The same validator keys can be used for different testnets, and even for main net (as long as you practice good key management).

Handy Script

Here are instructions for generating keys for regen ledger. This is well-tested on Ubuntu 18.04, if you are using different arch and running into issues, please use manual key generation instructions below

git clone https://github.com/regen-network/testnets
cd testnets
git pull

chmod +x scripts/gen_val_keys.sh
./scripts/gen_val_keys.sh <your_key_name>

Generate regen keys manually

Step-1: Install Go 1.15.x (Optional)

  $ sudo apt update
  $ sudo apt install build-essential jq -y

  $ wget https://dl.google.com/go/go1.15.2.linux-amd64.tar.gz
  $ tar -xvf go1.15.2.linux-amd64.tar.gz
  $ sudo mv go /usr/local

  $ echo "" >> ~/.bashrc
  $ echo 'export GOPATH=$HOME/go' >> ~/.bashrc
  $ echo 'export GOROOT=/usr/local/go' >> ~/.bashrc
  $ echo 'export GOBIN=$GOPATH/bin' >> ~/.bashrc
  $ echo 'export PATH=$PATH:/usr/local/go/bin:$GOBIN' >> ~/.bashrc

  $ source ~/.bashrc
  $ go version # should print 1.15.2

Step-2: Install Regen (from source)

$ git clone https://github.com/regen-network/regen-ledger
$ cd regen-ledger
$ git checkout v0.6.0-alpha6
$ make install

Step-3: Create your key (keyname can be anything):

$ regen keys add <your_key_name>

Use the address generated from above command to fill your KYC

testnets's People

Contributors

aaronc avatar alex-m24 avatar alexandruast avatar alive29 avatar anilcse avatar bambarello avatar chainode avatar charymalloju avatar clevinson avatar dee-effes avatar dpdanpittman avatar easy2stake avatar edouardlvdl avatar fgimenez avatar gin avatar glandua avatar grom81 avatar jim380 avatar kalpatech-team avatar kamalzaman avatar kaustubhkapatral avatar kwunyeung avatar louptheron avatar novy4 avatar patogit avatar paul121 avatar raulbernal avatar swidnikk avatar wanderer-cry avatar y3v63n avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

testnets's Issues

congo-1 community testnet - call for launch validators

We're planning to launch the congo-1 community testnet on -

Thursday November 7th at 1700 UTC (08/11 at 0200KST, 1200EST and 0900PST).

To ensure a successful launch, @joe-bowman and I are making a call for genesis validators who can commit to being online at genesis time. We'll likely allocate enough TREE to this confirmed set of validators to bring the network online at the chosen time.

If you're interested in participating at genesis time AND can commit to being online at that time, please indicate your interest in the comments below 👇

Please link to your genesis transaction PR in your comment. You can submit your PR here.

Create script to calculate uptime for a range of blocks

Context

In the regen-test-1001 testnet we offered the following points: https://github.com/regen-network/testnets/tree/master/regen-test-1001

This issue refers specifically to the uptime reward.

Acceptance Criteria

Given a blockchain full-node
When the uptime calculation script is run with a start and end block
Then a table of validator keys and the number of blocks where they voted is printed

Note: we are interested in validators that voted, not whether or not they were jailed or did not have enough stake. Ideally, we should count any detectable uptime, not just validators that happened to be bonded/unjailed.

Suggestion about GO path check devnet-val-setup.sh

Been playing with dev-net for a while. It will be nice to add /usr/local/go path check for existing installation and if version meet requirements then skip Go install function. Even probably better approach is like --go-path=/path/to/go flag pass in to devnet-val-setup.sh for people who use different versions for whatever reason. Also avoiding mv: cannot move 'go' to '/usr/local/go': Directory not empty error and ./devnet-val-setup.sh: line 27: go: command not found

Thank you !

tendermint-validator-set query error

xrncli q tendermint-validator-set --chain-id=kontraua

ERROR: header has vhash 19A61A4724EE0C117127B655BCCF08A56DA36A7FD73242743A10727FF5B10C76 but valset hash is 9F8456E05C7DA6591F62343CB14AC6493AE34847DC319612DD46DFBFBF73DC20

xrncli version --long
name: wasm
server_name: xrnd
client_name: xrncli
version: 0.7.1
commit: c91f81c25042bfa3ee5890761f818b59914e344b
build_tags: netgo,ledger
go: go version go1.13.8 linux/amd64

Attemt to deploy contract hang validator.

Messing around contract deployment

After running this ( not sure if this even have any sense, just experiment )

NODE="http://127.0.0.1:26657"

regen tx wasm store cw20_base.wasm \
  --chain-id "aplikigo-1" \
  --gas auto \
  --from posfreak -y \
  --memo "PoSFreak" \
  --node "$NODE"

validator hang and RPC doesn't respond anymore.
Nothing in a log, it just stop producing any output.

systemctl restart cosmovisor solved the issue.

Can be related to --gas auto , just an idea.

add chainflow to algradigon-1

{"type":"auth/StdTx","value":{"msg":[{"type":"cosmos-sdk/MsgCreateValidator","value":{"description":{"moniker":"Chainflow","identity":"","website":"","details":""},"commission":{"rate":"0.100000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"xrn:1qkht8zq6jpnu34m9xyjcgmf4gspdk6t5pfjtnp","validator_address":"xrn:valoper1qkht8zq6jpnu34m9xyjcgmf4gspdk6t5hzr458","pubkey":"xrn:valconspub1zcjduepqt4330l5ryaak9ptckv3ze44aculg56w9jz7vjt0xx57wwwh00mqsnyaxzz","value":{"denom":"utree","amount":"9000000"}}}],"fee":{"amount":[],"gas":"200000"},"signatures":[{"pub_key":{"type":"tendermint/PubKeySecp256k1","value":"Ag2N8bHUk8YcxKqSbshgD3EtcLujKtoNsRBPa29QPBca"},"signature":"kBNnyKnkSTwmX39T9On+7FgmjbaIXBFwsU/1mfhKZDhxK1eMnitZqRvAka74/Qyzksgmsl5/kcY141bAxvFRMg=="}],"memo":"[email protected]:26656"}}

Store contract command causing regen daemon hangs

regen version v0.6.0
docker version  19.03.6      
cargo version cargo 1.50.0 (f04e7fab7 2021-02-04)

After running "sudo docker run" to build the contracts, I am executing:
regen tx wasm store artifacts/cw20_base.wasm --chain-id aplikigo-1 --from <key_name> -y
and the daemon just hangs, validator stoping to get/sign blocks. I tried to use more gas and fees without any luck.

The solution:

  1. restart the cosmovisor daemon
  2. change the user permissions for contracts built with docker
  3. go in artifacts directory and execute the store command from that directory like:
    regen tx wasm store cw20_base.wasm --chain-id aplikigo-1 --from my-key --gas auto --fees 2000000utree -y

ischyonte-000 validator stopped synchronizing on v0.7.1

Running on v0.7.1, i noticed that my validator was jailed, checking the logs I found a lot of entries like this:

E[2020-03-24|00:51:32.887] Stopping peer for error                      module=p2p peer="Peer{MConn{173.249.40.87:26656} 4efed1cf14c69aee0695837fc7341036fe7dcc52 out}" err="pong timeout"
E[2020-03-24|00:51:44.125] Connection failed @ sendRoutine              module=p2p [email protected]:26656 conn=MConn{172.104.145.220:26656} err="pong timeout"
E[2020-03-24|00:51:44.125] Stopping peer for error                      module=p2p peer="Peer{MConn{172.104.145.220:26656} ad044dbb96cfc65ee97810faa48a853a3906c9c6 out}" err="pong timeout"
E[2020-03-24|00:51:44.440] Connection failed @ sendRoutine              module=p2p [email protected]:26656 conn=MConn{66.232.119.130:26656} err="pong timeout"
E[2020-03-24|00:51:44.440] Stopping peer for error                      module=p2p peer="Peer{MConn{66.232.119.130:26656} 0d354fdae833c3e26d52ed02f9ed967682e79d1f out}" err="pong timeout"
E[2020-03-24|00:52:14.156] Connection failed @ sendRoutine              module=p2p [email protected]:26656 conn=MConn{80.241.217.149:26656} err="pong timeout"
E[2020-03-24|00:52:14.157] Stopping peer for error                      module=p2p peer="Peer{MConn{80.241.217.149:26656} 86e4a20f8c7f3f8bc646f8f35db0e22d45079395 out}" err="pong timeout"
E[2020-03-24|00:52:44.137] Connection failed @ sendRoutine              module=p2p [email protected]:26656 conn=MConn{51.145.151.205:26656} err="pong timeout"
E[2020-03-24|00:52:44.137] Stopping peer for error                      module=p2p peer="Peer{MConn{51.145.151.205:26656} 96e61f52c6d1fd9de811b7e0858d634d6ed86452 out}" err="pong timeout"
E[2020-03-24|00:53:08.103] Connection failed @ sendRoutine              module=p2p [email protected]:26656 conn=MConn{159.89.249.168:26656} err="pong timeout"
E[2020-03-24|00:53:08.103] Stopping peer for error                      module=p2p peer="Peer{MConn{159.89.249.168:26656} 8aea2394d2e9474dbe67cfcbeb67fb01421ca9d8 out}" err="pong timeout"
E[2020-03-24|00:53:14.124] Connection failed @ sendRoutine              module=p2p [email protected]:26656 conn=MConn{172.104.242.5:26656} err="pong timeout"
E[2020-03-24|00:53:14.125] Stopping peer for error                      module=p2p peer="Peer{MConn{172.104.242.5:26656} 4357200765f03645e746b85832f24d7a8502e31d out}" err="pong timeout"
E[2020-03-24|00:53:14.143] Connection failed @ sendRoutine              module=p2p [email protected]:26656 conn=MConn{173.249.53.224:26656} err="pong timeout"
E[2020-03-24|00:53:14.144] Stopping peer for error                      module=p2p peer="Peer{MConn{173.249.53.224:26656} 3f931256cb882756133fa0daebbffc86f6b26cfb out}" err="pong timeout"
E[2020-03-24|00:53:17.939] Connection failed @ sendRoutine              module=p2p [email protected]:26656 conn=MConn{173.249.40.87:26656} err="pong timeout"
E[2020-03-24|00:53:17.940] Stopping peer for error                      module=p2p peer="Peer{MConn{173.249.40.87:26656} 4efed1cf14c69aee0695837fc7341036fe7dcc52 out}" err="pong timeout"
E[2020-03-24|00:53:44.973] Connection failed @ sendRoutine              module=p2p [email protected]:26656 conn=MConn{206.189.94.44:26656} err="pong timeout"
E[2020-03-24|00:53:44.973] Stopping peer for error                      module=p2p peer="Peer{MConn{206.189.94.44:26656} 7dad3011330030094b355e3a9d1667970f255f57 out}" err="pong timeout"
E[2020-03-24|00:53:59.117] dialing failed (attempts: 1): auth failure: conn.ID (ad044dbb96cfc65ee97810faa48a853a3906c9c6) dialed ID (e7c1c61d41abbc66fab0493f7921289751db1f62) mismatch module=pex [email protected]:26656
E[2020-03-24|00:54:14.125] Connection failed @ sendRoutine              module=p2p [email protected]:26656 conn=MConn{172.105.93.229:26656} err="pong timeout"
E[2020-03-24|00:54:14.125] Stopping peer for error                      module=p2p peer="Peer{MConn{172.105.93.229:26656} e39f9473e38713cfcb3ca232ce863713a9345187 out}" err="pong timeout"
E[2020-03-24|00:54:14.154] Connection failed @ sendRoutine              module=p2p [email protected]:26656 conn=MConn{164.68.101.56:26656} err="pong timeout"
E[2020-03-24|00:54:14.154] Stopping peer for error                      module=p2p peer="Peer{MConn{164.68.101.56:26656} d32432f9c5465aa0d1d9314051bf9a4d28e3bc08 out}" err="pong timeout"
E[2020-03-24|00:54:14.154] Connection failed @ sendRoutine              module=p2p [email protected]:26656 conn=MConn{5.189.150.170:26656} err="pong timeout"
E[2020-03-24|00:54:14.154] Stopping peer for error                      module=p2p peer="Peer{MConn{5.189.150.170:26656} b838b89bc821b98d7ca3ce963c2e75fc4810b124 out}" err="pong timeout"
E[2020-03-24|00:54:53.125] Connection failed @ sendRoutine              module=p2p [email protected]:26656 conn=MConn{159.89.249.168:26656} err="pong timeout"
E[2020-03-24|00:54:53.125] Stopping peer for error                      module=p2p peer="Peer{MConn{159.89.249.168:26656} 8aea2394d2e9474dbe67cfcbeb67fb01421ca9d8 out}" err="pong timeout"
E[2020-03-24|00:54:59.113] dialing failed (attempts: 15): dial tcp 164.68.118.125:26656: connect: connection refused module=pex [email protected]:26656

On first restart I got these log:

I[2020-03-24|11:53:16.803] starting ABCI with Tendermint                module=main 
panic: Failed to process committed block (145162:135215864F2F0A6452BC3C4DC2F75F547664FEA79F139204FE3019D56B731B28): wrong Block.Header.AppHash.  Expected 4F0E1A7D3D239D6BA42466E1AC75BF76A12CA185FCC6C48ED9A133AD4BE7521F, got E9DE1CF669FF9A60BA7E41D9A6A0D2BADE467C5F988050CB271B0F3349B9783A

goroutine 969 [running]:
github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).poolRoutine(0xc000cd76c0)
 github.com/tendermint/[email protected]/blockchain/v0/reactor.go:344 +0x12ff
created by github.com/tendermint/tendermint/blockchain/v0.(*BlockchainReactor).OnStart
 github.com/tendermint/[email protected]/blockchain/v0/reactor.go:118 +0x84

And on each subsequent restart:

I[2020-03-24|11:56:24.846] starting ABCI with Tendermint                module=main 
ERROR: error during handshake: error on replay: wrong Block.Header.AppHash.  Expected 4F0E1A7D3D239D6BA42466E1AC75BF76A12CA185FCC6C48ED9A133AD4BE7521F, got E9DE1CF669FF9A60BA7E41D9A6A0D2BADE467C5F988050CB271B0F3349B9783A

In order to recover the validator i needed to issue an unsafe-reset-all and synchronize from scratch.

regen cli has duplicate update-group-admin


regen tx group -h
Group transaction subcommands

Usage:
  regen tx group [flags]
  regen tx group [command]

Available Commands:
  create-group                  Create a group which is an aggregation of member accounts with associated weights and an administrator account. Note, the '--from' flag is ignored as it is implied from [admin].
  create-group-account          Create a group account which is an account associated with a group and a decision policy. Note, the '--from' flag is ignored as it is implied from [admin].
  create-proposal               Submit a new proposal
  exec                          Execute a proposal
  update-group-account-admin    Update a group account admin
  update-group-account-metadata Update a group account metadata
  update-group-account-policy   Update a group account decision policy
  update-group-admin            Update a group's admin
  update-group-admin            Update a group's admin
  update-group-members          Update a group's members. Set a member's weight to "0" to delete it.
  vote                          Vote on a proposal

Request to Change Mechanism for Community Rewards

Right now in plan.md we can see:

Community reward
Top - 10 teams/individuals will receive 50points each for their contributions for the community. technical docs, helping/resolving community issues, etc.

There are a few drawbacks:

  1. One who answers 10 questions on discord daily gets the same reward as one who answers 1 as long as they both are in Top 10.
  2. Vague measure of help: I dont undertsand how do we measure the extend of help.
  3. A very few points are allocation for this section, only 50 :(
  4. Missing Incentivizes (Like lets say someone creates something which is not mentioned in the doc like discord stickers or memes or raised PRs to improve code or docs)

My Proposal:

  1. Create a range of rewards that can be grabbed by someone. [0 - X points]
  2. In each task we can have a field "whoHelpedYou" where users can mention the discord handle of the person who helped them.
  3. We should allocate some more points to it, like I said have a range. I would suggest [0 to 1000 points] to really incentivize the community to help each other.
  4. In each submission a user can mention "whatIdid" --> where he/she can mention the stuff he worked on. It can solely be decided by team whether it was important or not, or should the team allocate rewards for his/her work or not.

This way we can turn extend of help into a metrics which would help the team to evaluate each person better.
This will have community voice [as they get to say who helped them] and as well as team voice [as they can decide whether the extra effort put by an individual was worth a reward or not].

Hoping my suggestion would be considered :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.