mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2024-12-25 15:55:17 +00:00
Update compiled contract
This commit is contained in:
parent
a56876eb1a
commit
9af9c7f7a9
@ -1 +1 @@
|
||||
bea58429e436e4952ae69235d9079cfc4ac5f3b3
|
||||
30f0f921a80078e43d578c82b746677bcf06d786
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -295,7 +295,7 @@ class BlockchainNode(TestNode):
|
||||
dummy_reward_contract, _ = deploy_contract("DummyReward", [])
|
||||
self.log.debug("DummyReward deployed")
|
||||
|
||||
flow_contract, _ = deploy_contract("Flow", [mine_period, 0])
|
||||
flow_contract, _ = deploy_contract("Flow", [0])
|
||||
self.log.debug("Flow deployed")
|
||||
|
||||
mine_contract, _ = deploy_contract("PoraMineTest", [0])
|
||||
@ -306,7 +306,7 @@ class BlockchainNode(TestNode):
|
||||
mine_contract.functions.setTargetSubmissions(2).transact(TX_PARAMS)
|
||||
self.log.debug("Mine Initialized")
|
||||
|
||||
flow_initialize_hash = flow_contract.functions.initialize(dummy_market_contract.address).transact(TX_PARAMS)
|
||||
flow_initialize_hash = flow_contract.functions.initialize(dummy_market_contract.address, mine_period).transact(TX_PARAMS)
|
||||
self.log.debug("Flow Initialized")
|
||||
|
||||
self.wait_for_transaction_receipt(w3, flow_initialize_hash)
|
||||
@ -329,7 +329,7 @@ class BlockchainNode(TestNode):
|
||||
reward_contract, _ = deploy_contract("ChunkLinearReward", [lifetime_seconds])
|
||||
self.log.debug("Reward deployed")
|
||||
|
||||
flow_contract, _ = deploy_contract("FixedPriceFlow", [mine_period, 0])
|
||||
flow_contract, _ = deploy_contract("FixedPriceFlow", [0])
|
||||
self.log.debug("Flow deployed")
|
||||
|
||||
mine_contract.functions.initialize(1, flow_contract.address, reward_contract.address).transact(TX_PARAMS)
|
||||
@ -346,7 +346,7 @@ class BlockchainNode(TestNode):
|
||||
reward_contract.functions.setBaseReward(10 ** 18).transact(TX_PARAMS)
|
||||
self.log.debug("Reward Initialized")
|
||||
|
||||
flow_initialize_hash = flow_contract.functions.initialize(market_contract.address).transact(TX_PARAMS)
|
||||
flow_initialize_hash = flow_contract.functions.initialize(market_contract.address, mine_period).transact(TX_PARAMS)
|
||||
self.log.debug("Flow Initialized")
|
||||
|
||||
self.wait_for_transaction_receipt(w3, flow_initialize_hash)
|
||||
|
Loading…
Reference in New Issue
Block a user