Enable data seal & merkle proof verification on mine (#59)

This commit is contained in:
Chenxing Li 2024-04-23 14:34:46 +08:00 committed by GitHub
parent e5dc2d61cc
commit 95485c5c35
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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])