File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 14
14
import zstd
15
15
from chia_rs import FullBlock
16
16
from chia_rs .sized_bytes import bytes32
17
- from chia_rs .sized_ints import uint16
17
+ from chia_rs .sized_ints import uint16 , uint32
18
18
19
19
from chia ._tests .util .constants import test_constants as TEST_CONSTANTS
20
20
from chia .cmds .init_funcs import chia_init
@@ -143,7 +143,7 @@ async def run_sync_test(
143
143
144
144
if test_constants :
145
145
# this allows all blocks have compressed generators
146
- constants = TEST_CONSTANTS .replace (HARD_FORK_HEIGHT = 0 )
146
+ constants = TEST_CONSTANTS .replace (HARD_FORK_HEIGHT = uint32 ( 0 ) )
147
147
else :
148
148
overrides = config ["network_overrides" ]["constants" ][config ["selected_network" ]]
149
149
constants = replace_str_to_bytes (DEFAULT_CONSTANTS , ** overrides )
You can’t perform that action at this time.
0 commit comments