extra debug
This commit is contained in:
parent
082a07b6fc
commit
8df351d917
|
@ -325,7 +325,7 @@ proc requestStorage*(
|
|||
## - Run the PoR setup on the erasure dataset
|
||||
## - Call into the marketplace and purchasing contracts
|
||||
##
|
||||
trace "Received a request for storage!", cid, duration, nodes, tolerance, reward, proofProbability, collateral, expiry
|
||||
trace "Received a request for storage!", cid, duration, nodes, tolerance, reward, proofProbability, collateral, expiry = expiry.truncate(int64), now = self.clock.now
|
||||
|
||||
without contracts =? self.contracts.client:
|
||||
trace "Purchasing not available"
|
||||
|
|
|
@ -288,7 +288,7 @@ proc onStorageRequested(sales: Sales,
|
|||
expiry: UInt256) =
|
||||
|
||||
logScope:
|
||||
topics = " marketplace sales onStorageRequested"
|
||||
topics = "marketplace sales onStorageRequested"
|
||||
requestId
|
||||
slots = ask.slots
|
||||
expiry
|
||||
|
|
|
@ -239,15 +239,15 @@ marketplacesuite "Marketplace payouts":
|
|||
NodeConfig()
|
||||
.nodes(1)
|
||||
.debug() # uncomment to enable console log output.debug()
|
||||
# .withLogFile() # uncomment to output log file to tests/integration/logs/<start_datetime> <suite_name>/<test_name>/<node_role>_<node_idx>.log
|
||||
.withLogFile() # uncomment to output log file to tests/integration/logs/<start_datetime> <suite_name>/<test_name>/<node_role>_<node_idx>.log
|
||||
.withLogTopics("node", "erasure"),
|
||||
|
||||
providers:
|
||||
NodeConfig()
|
||||
.nodes(1)
|
||||
.debug() # uncomment to enable console log output
|
||||
# .withLogFile() # uncomment to output log file to tests/integration/logs/<start_datetime> <suite_name>/<test_name>/<node_role>_<node_idx>.log
|
||||
.withLogTopics("marketplace", "sales", "reservations", "node", "clock"),
|
||||
.withLogFile() # uncomment to output log file to tests/integration/logs/<start_datetime> <suite_name>/<test_name>/<node_role>_<node_idx>.log
|
||||
.withLogTopics("marketplace", "sales", "reservations", "node", "proving"),
|
||||
):
|
||||
let reward = 400.u256
|
||||
let duration = 100.periods
|
||||
|
|
|
@ -31,7 +31,7 @@ marketplacesuite "Hosts submit regular proofs":
|
|||
.nodes(1)
|
||||
.debug() # uncomment to enable console log output
|
||||
.withLogFile() # uncomment to output log file to tests/integration/logs/<start_datetime> <suite_name>/<test_name>/<node_role>_<node_idx>.log
|
||||
.withLogTopics("marketplace", "sales", "reservations", "node", "clock"),
|
||||
.withLogTopics("marketplace", "sales", "reservations", "node"),
|
||||
):
|
||||
let client0 = clients()[0].node.client
|
||||
let totalPeriods = 50
|
||||
|
@ -81,14 +81,14 @@ marketplacesuite "Simulate invalid proofs":
|
|||
.simulateProofFailuresFor(providerIdx=0, failEveryNProofs=1)
|
||||
.debug() # uncomment to enable console log output
|
||||
.withLogFile() # uncomment to output log file to tests/integration/logs/<start_datetime> <suite_name>/<test_name>/<node_role>_<node_idx>.log
|
||||
.withLogTopics("marketplace", "sales", "reservations", "node", "clock"),
|
||||
.withLogTopics("marketplace", "sales", "reservations", "node"),
|
||||
|
||||
validators:
|
||||
NodeConfig()
|
||||
.nodes(1)
|
||||
.withLogFile() # uncomment to output log file to tests/integration/logs/<start_datetime> <suite_name>/<test_name>/<node_role>_<node_idx>.log
|
||||
.debug() # uncomment to enable console log output
|
||||
.withLogTopics("validator", "clock", "onchain", "ethers")
|
||||
.withLogTopics("validator", "onchain", "ethers")
|
||||
):
|
||||
let client0 = clients()[0].node.client
|
||||
let totalPeriods = 50
|
||||
|
@ -133,13 +133,13 @@ marketplacesuite "Simulate invalid proofs":
|
|||
.simulateProofFailuresFor(providerIdx=0, failEveryNProofs=3)
|
||||
.debug() # uncomment to enable console log output
|
||||
.withLogFile() # uncomment to output log file to tests/integration/logs/<start_datetime> <suite_name>/<test_name>/<node_role>_<node_idx>.log
|
||||
.withLogTopics("marketplace", "sales", "reservations", "node", "clock"),
|
||||
.withLogTopics("marketplace", "sales", "reservations", "node"),
|
||||
|
||||
validators:
|
||||
NodeConfig()
|
||||
.nodes(1)
|
||||
.withLogFile() # uncomment to output log file to tests/integration/logs/<start_datetime> <suite_name>/<test_name>/<node_role>_<node_idx>.log
|
||||
.withLogTopics("validator", "clock", "onchain", "ethers")
|
||||
.withLogTopics("validator", "onchain", "ethers")
|
||||
):
|
||||
let client0 = clients()[0].node.client
|
||||
let totalPeriods = 25
|
||||
|
@ -185,7 +185,7 @@ marketplacesuite "Simulate invalid proofs":
|
|||
.simulateProofFailuresFor(providerIdx=0, failEveryNProofs=2)
|
||||
.debug() # uncomment to enable console log output
|
||||
.withLogFile() # uncomment to output log file to tests/integration/logs/<start_datetime> <suite_name>/<test_name>/<node_role>_<node_idx>.log
|
||||
.withLogTopics("marketplace", "sales", "reservations", "node", "clock"),
|
||||
.withLogTopics("marketplace", "sales", "reservations", "node"),
|
||||
|
||||
validators:
|
||||
NodeConfig()
|
||||
|
|
Loading…
Reference in New Issue