[config] a small test net configuration for open staking

Signed-off-by: Leo Chen <leo@harmony.one>
pull/2161/head
Leo Chen 5 years ago
parent 973ac15c8b
commit 063fb58c7c
  1. 8
      internal/configs/sharding/testnet.go

@ -20,9 +20,9 @@ const (
testnetVdfDifficulty = 10000 // This takes about 20s to finish the vdf
// TestNetHTTPPattern is the http pattern for testnet.
TestNetHTTPPattern = "https://api.s%d.b.hmny.io"
TestNetHTTPPattern = "https://api.s%d.os.hmny.io"
// TestNetWSPattern is the websocket pattern for testnet.
TestNetWSPattern = "wss://ws.s%d.b.hmny.io"
TestNetWSPattern = "wss://ws.s%d.os.hmny.io"
)
func (testnetSchedule) InstanceForEpoch(epoch *big.Int) Instance {
@ -80,5 +80,5 @@ var testnetReshardingEpoch = []*big.Int{
params.PangaeaChainConfig.StakingEpoch,
}
var testnetV0 = MustNewInstance(3, 100, 80, genesis.TNHarmonyAccounts, genesis.TNFoundationalAccounts, testnetReshardingEpoch, TestnetSchedule.BlocksPerEpoch())
var testnetV1 = MustNewInstance(3, 100, 68, genesis.TNHarmonyAccounts, genesis.TNFoundationalAccounts, testnetReshardingEpoch, TestnetSchedule.BlocksPerEpoch())
var testnetV0 = MustNewInstance(3, 10, 7, genesis.TNHarmonyAccounts, genesis.TNFoundationalAccounts, testnetReshardingEpoch, TestnetSchedule.BlocksPerEpoch())
var testnetV1 = MustNewInstance(3, 10, 3, genesis.TNHarmonyAccounts, genesis.TNFoundationalAccounts, testnetReshardingEpoch, TestnetSchedule.BlocksPerEpoch())

Loading…
Cancel
Save