diff --git a/internal/configs/sharding/testnet.go b/internal/configs/sharding/testnet.go index 635f05a57..7c5b0492c 100644 --- a/internal/configs/sharding/testnet.go +++ b/internal/configs/sharding/testnet.go @@ -27,7 +27,7 @@ const ( func (testnetSchedule) InstanceForEpoch(epoch *big.Int) Instance { switch { - case epoch.Cmp(params.PangaeaChainConfig.StakingEpoch) >= 0: + case epoch.Cmp(params.TestnetChainConfig.StakingEpoch) >= 0: return testnetV1 default: // genesis return testnetV0 @@ -77,8 +77,8 @@ func (ts testnetSchedule) GetShardingStructure(numShard, shardID int) []map[stri var testnetReshardingEpoch = []*big.Int{ big.NewInt(0), - params.PangaeaChainConfig.StakingEpoch, + params.TestnetChainConfig.StakingEpoch, } 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()) +var testnetV1 = MustNewInstance(3, 20, 7, genesis.TNHarmonyAccounts, genesis.TNFoundationalAccounts, testnetReshardingEpoch, TestnetSchedule.BlocksPerEpoch())