Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit 04ae408

Browse files
committed
Adjust config for HF
1 parent fb71648 commit 04ae408

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ethereum/config.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
from ethereum import utils
44
from ethereum.db import BaseDB
5+
from ethereum.child_dao_list import L as child_dao_list
6+
57

68
default_config = dict(
79
# Genesis block difficulty
@@ -57,6 +59,10 @@
5759
METROPOLIS_GETTER_CODE=decode_hex('6000355460205260206020f3'),
5860
METROPOLIS_DIFF_ADJUSTMENT_CUTOFF=9,
5961
# Metropolis fork
62+
# DAO fork
63+
DAO_FORK_BLKNUM=1920000,
64+
CHILD_DAO_LIST=map(utils.normalize_address, child_dao_list),
65+
DAO_WITHDRAWER=utils.normalize_address('0xbf4ed7b27f1d666546e30d74d50d173d20bca754'),
6066
)
6167
assert default_config['NEPHEW_REWARD'] == \
6268
default_config['BLOCK_REWARD'] // 32

0 commit comments

Comments
 (0)