Genesis block for RC3 (#1048)

* Genesis block for RC3

* Update blocks in test-cache
This commit is contained in:
Gene Hoffman
2021-02-24 19:02:12 -08:00
committed by GitHub
parent 8feeb075fc
commit 5f649fc6dc
7 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ jobs:
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.13.0'
ref: '0.14.0'
fetch-depth: 1
- name: Link home directory
@@ -58,7 +58,7 @@ jobs:
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.13.0'
ref: '0.14.0'
fetch-depth: 1
- name: Link home directory
+1 -1
View File
@@ -65,7 +65,7 @@ jobs:
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.13.0'
ref: '0.14.0'
fetch-depth: 1
- name: Link home directory
@@ -65,7 +65,7 @@ jobs:
with:
repository: 'Chia-Network/test-cache'
path: '.chia'
ref: '0.13.0'
ref: '0.14.0'
fetch-depth: 1
- name: Link home directory
+2 -2
View File
@@ -29,10 +29,10 @@ testnet_kwargs = {
# We override this value based on the chain being run (testnet0, testnet1, mainnet, etc)
"GENESIS_CHALLENGE": bytes32([0x00] * 32),
"GENESIS_PRE_FARM_POOL_PUZZLE_HASH": bytes.fromhex(
"f15f4e19248642ce92515ffb05d37fc0fadc30eb95d69b8800ae78e34c0e5d0f"
"bc4fd6c394fe90c6097afbfa6ab5927743e2210ecf689dad477be8eb408745d5"
),
"GENESIS_PRE_FARM_FARMER_PUZZLE_HASH": bytes.fromhex(
"0dc09d07e7cef3b57a42e08ec89a59277ef579e6833776937f601e21ec305dba"
"4ad98e66a019f11b60a8279514d13105b65588865e2a8e794b5b73d5646174f6"
),
"MAX_VDF_WITNESS_SIZE": 64,
# Target tx count per sec
+2 -1
View File
@@ -12,7 +12,8 @@ network_overrides: &network_overrides
testnet4:
GENESIS_CHALLENGE: "4b227777d4dd1fc61c6f884f48641d02b4d121d3fd328cb08b5531fcacdabf8a" # std_hash(b"4")
NETWORK: 4
GENESIS_PRE_FARM_POOL_PUZZLE_HASH: "bc4fd6c394fe90c6097afbfa6ab5927743e2210ecf689dad477be8eb408745d5"
GENESIS_PRE_FARM_FARMER_PUZZLE_HASH: "4ad98e66a019f11b60a8279514d13105b65588865e2a8e794b5b73d5646174f6"
selected_network: &selected_network "testnet4"
@@ -8,8 +8,8 @@ from src.util.condition_tools import parse_sexp_to_conditions
from src.consensus.block_rewards import calculate_pool_reward, calculate_base_farmer_reward
from src.util.ints import uint32
address1 = "txch17gqxp6vnq90ypl8kzn56c2jejcva90tf6sh2dumw05nrxwggf2lskq2es5" # Gene wallet (m/12381/8444/2/59):
address2 = "txch1n4l69tm4s4ekju9uce6xaq7fym8mkzcxrrn77xngl9ej7t8nd8ks409lhk" # mariano main key
address1 = "txch1k50glwkdffp2mrqq64rsgjtxj4waphuf72stqayz4qqk6mj9hd4qp7lrek" # Gene wallet (m/12381/8444/2/51):
address2 = "txch1430mtj60hvzyuyz4t45dyxwjdjsvphhl2fgreyry362reca4zpkszhjd3e" # farmer1 key (m/12381/8444/2/51)
ph1 = decode_puzzle_hash(address1)
ph2 = decode_puzzle_hash(address2)