optional rc9 constants and migration (#1330)

* optional rc9 constants and migration

* audit fix and changelog

* rc9
This commit is contained in:
Mariano Sorgente 2021-03-17 00:33:15 +09:00 committed by GitHub
parent 9feb1bca65
commit d1d1cf8e34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 5 deletions

View File

@ -6,6 +6,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project does not yet adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
for setuptools_scm/PEP 440 reasons.
## 1.0rc9 aka Release Candidate 9 - 2020-03-16
### Changed
- This is a hard fork/breaking change from RC6/7/8. The current plan is to drop the flag at noon pacific time, today 3/16.
- Using the real prefarm keys for this test
### Fixed
- Found and fixed another green flag related issue
- Fixed an issue with weight proofs where all sub-epochs were sampled, and the size of the weight proof kept growing
- Fixed an issue with install-gui.sh, where npm audit fix was failing. (Thanks @Depado!)
## 1.0rc8 aka Release Candidate 8 - 2020-03-15
### Added

View File

@ -80,7 +80,7 @@ if [ ! "$CI" ]; then
fi
npm install
npm audit fix
npm audit fix || true
npm run locale:extract
npm run locale:compile
npm run build

View File

@ -380,9 +380,9 @@ def chia_init(root_path: Path):
# This is reached if CHIA_ROOT is set, or if user has run chia init twice
# before a new update.
config: Dict = load_config(root_path, "config.yaml")
if config["selected_network"] != "testnet8":
if config["selected_network"] != "testnet9":
# Rc6, Rc7 -> Rc8 migration
tmp_path = Path(os.path.expanduser(Path("~/.chia/testnet8-tmp")))
tmp_path = Path(os.path.expanduser(Path("~/.chia/testnet9-tmp")))
if tmp_path.exists():
shutil.rmtree(tmp_path)
assert migrate_from(root_path, tmp_path, manifest, DO_NOT_MIGRATE_SETTINGS)

View File

@ -33,6 +33,13 @@ network_overrides: &network_overrides
NETWORK_TYPE: 1
GENESIS_PRE_FARM_POOL_PUZZLE_HASH: "70ac50c1faf71293113e7572e538234065ead0c193241256a620d6f52e06d86a"
GENESIS_PRE_FARM_FARMER_PUZZLE_HASH: "9e6a07d5cbc019b2fdef559d7c7f8d2a80412546ad6e00c67a19bcdcacd32cab"
testnet9:
DIFFICULTY_CONSTANT_FACTOR: 36893488147419103232 # 2^65
INITIAL_FREEZE_PERIOD: 3000
GENESIS_CHALLENGE: null
NETWORK_TYPE: 1
GENESIS_PRE_FARM_POOL_PUZZLE_HASH: "d23da14695a188ae5708dd152263c4db883eb27edeb936178d4d988b8f3ce5fc"
GENESIS_PRE_FARM_FARMER_PUZZLE_HASH: "3d8765d3a597ec1d99663f6c9816d915b9f68613ac94009884c4addaefcce6af"
config:
mainnet:
address_prefix: "xch"
@ -44,9 +51,11 @@ network_overrides: &network_overrides
address_prefix: "txch"
testnet8:
address_prefix: "txch"
testnet9:
address_prefix: "txch"
selected_network: &selected_network "testnet8"
ALERTS_URL: https://download.chia.net/notify/testnet_8_alert.txt
selected_network: &selected_network "testnet9"
ALERTS_URL: https://download.chia.net/notify/testnet_9_alert.txt
CHIA_ALERTS_PUBKEY: 89b7fd87cb56e926ecefb879a29aae308be01f31980569f6a75a69d2a9a69daefd71fb778d865f7c50d6c967e3025937
# public ssl ca is included in source code