mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-11-20 15:05:19 +00:00
Enable data seal & merkle proof verification on mine (#59)
This commit is contained in:
parent
e5dc2d61cc
commit
95485c5c35
@ -295,7 +295,7 @@ class BlockchainNode(TestNode):
|
|||||||
flow_contract, flow_contract_hash = deploy_contract("Flow", [book.address, mine_period, 0])
|
flow_contract, flow_contract_hash = deploy_contract("Flow", [book.address, mine_period, 0])
|
||||||
self.log.debug("Flow deployed")
|
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.debug("Mine deployed")
|
||||||
self.log.info("All contracts deployed")
|
self.log.info("All contracts deployed")
|
||||||
|
|
||||||
@ -321,7 +321,7 @@ class BlockchainNode(TestNode):
|
|||||||
book, _ = deploy_contract("AddressBook", [flowAddress, marketAddress, rewardAddress, mineAddress]);
|
book, _ = deploy_contract("AddressBook", [flowAddress, marketAddress, rewardAddress, mineAddress]);
|
||||||
self.log.debug("AddressBook deployed")
|
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])
|
deploy_contract("FixedPrice", [book.address, LIFETIME_MONTH])
|
||||||
reward_contract, _ =deploy_contract("OnePoolReward", [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])
|
flow_contract, flow_contract_hash = deploy_contract("FixedPriceFlow", [book.address, mine_period, 0])
|
||||||
|
Loading…
Reference in New Issue
Block a user