From 95485c5c35fa0bebe3742382d50f63e6bedbb16a Mon Sep 17 00:00:00 2001 From: Chenxing Li Date: Tue, 23 Apr 2024 14:34:46 +0800 Subject: [PATCH] Enable data seal & merkle proof verification on mine (#59) --- tests/test_framework/blockchain_node.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_framework/blockchain_node.py b/tests/test_framework/blockchain_node.py index 8cd06cd..987de2b 100644 --- a/tests/test_framework/blockchain_node.py +++ b/tests/test_framework/blockchain_node.py @@ -295,7 +295,7 @@ class BlockchainNode(TestNode): flow_contract, flow_contract_hash = deploy_contract("Flow", [book.address, mine_period, 0]) self.log.debug("Flow deployed") - mine_contract, _ = deploy_contract("PoraMineTest", [book.address, 3]) + mine_contract, _ = deploy_contract("PoraMineTest", [book.address, 0]) self.log.debug("Mine deployed") self.log.info("All contracts deployed") @@ -321,7 +321,7 @@ class BlockchainNode(TestNode): book, _ = deploy_contract("AddressBook", [flowAddress, marketAddress, rewardAddress, mineAddress]); self.log.debug("AddressBook deployed") - mine_contract, _ = deploy_contract("PoraMineTest", [book.address, 3]) + mine_contract, _ = deploy_contract("PoraMineTest", [book.address, 0]) deploy_contract("FixedPrice", [book.address, LIFETIME_MONTH]) reward_contract, _ =deploy_contract("OnePoolReward", [book.address, LIFETIME_MONTH]) flow_contract, flow_contract_hash = deploy_contract("FixedPriceFlow", [book.address, mine_period, 0])