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

Commit 9804224

Browse files
author
Jan Xie
committed
fix difficulty tests
1 parent 6f55775 commit 9804224

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

ethereum/tests/test_difficulty.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ def test_difficulty(filename, testname, testdata):
3232
if 'Homestead' in filename:
3333
env.config['HOMESTEAD_FORK_BLKNUM'] = 0
3434
elif 'difficultyMorden' in filename:
35-
env.config['HOMESTEAD_FORK_BLKNUM'] = 3**33 # 494000
36-
else:
37-
env.config['HOMESTEAD_FORK_BLKNUM'] = 3**33 # 1150000
35+
env.config['HOMESTEAD_FORK_BLKNUM'] = 494000
3836
# env.config['EXPDIFF_FREE_PERIODS'] = 2**98
3937

4038
parent = Block(BlockHeader(timestamp=parent_timestamp,

0 commit comments

Comments
 (0)