From e2706a68b39877c387da8877b02a6eac569df1cf Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Thu, 6 Mar 2025 17:33:40 +1100 Subject: [PATCH] formatting --- tests/integration/testecbug.nim | 13 ++++++------- tests/integration/testvalidator.nim | 26 ++++++++++++-------------- 2 files changed, 18 insertions(+), 21 deletions(-) diff --git a/tests/integration/testecbug.nim b/tests/integration/testecbug.nim index be152197..855da37a 100644 --- a/tests/integration/testecbug.nim +++ b/tests/integration/testecbug.nim @@ -7,13 +7,12 @@ import ./hardhatconfig marketplacesuite "Bug #821 - node crashes during erasure coding": test "should be able to create storage request and download dataset", NodeConfigs( - clients: CodexConfigs - .init(nodes = 1) - # .debug() # uncomment to enable console log output.debug() - # .withLogFile() - # uncomment to output log file to tests/integration/logs/ //_.log - # .withLogTopics("node", "erasure", "marketplace") - .some, + clients: CodexConfigs.init(nodes = 1) + # .debug() # uncomment to enable console log output.debug() + # .withLogFile() + # uncomment to output log file to tests/integration/logs/ //_.log + # .withLogTopics("node", "erasure", "marketplace") + .some, providers: CodexConfigs.init(nodes = 0).some, ): let diff --git a/tests/integration/testvalidator.nim b/tests/integration/testvalidator.nim index 4339bdbb..222f1ba7 100644 --- a/tests/integration/testvalidator.nim +++ b/tests/integration/testvalidator.nim @@ -61,13 +61,12 @@ marketplacesuite "Validation": NodeConfigs( # Uncomment to start Hardhat automatically, typically so logs can be inspected locally hardhat: HardhatConfig.none, - clients: CodexConfigs - .init(nodes = 1) - # .debug() # uncomment to enable console log output - # .withLogFile() - # uncomment to output log file to tests/integration/logs/ //_.log - # .withLogTopics("purchases", "onchain") - .some, + clients: CodexConfigs.init(nodes = 1) + # .debug() # uncomment to enable console log output + # .withLogFile() + # uncomment to output log file to tests/integration/logs/ //_.log + # .withLogTopics("purchases", "onchain") + .some, providers: CodexConfigs .init(nodes = 1) .withSimulateProofFailures(idx = 0, failEveryNProofs = 1) @@ -143,13 +142,12 @@ marketplacesuite "Validation": NodeConfigs( # Uncomment to start Hardhat automatically, typically so logs can be inspected locally hardhat: HardhatConfig.none, - clients: CodexConfigs - .init(nodes = 1) - # .debug() # uncomment to enable console log output - # .withLogFile() - # uncomment to output log file to tests/integration/logs/ //_.log - # .withLogTopics("purchases", "onchain") - .some, + clients: CodexConfigs.init(nodes = 1) + # .debug() # uncomment to enable console log output + # .withLogFile() + # uncomment to output log file to tests/integration/logs/ //_.log + # .withLogTopics("purchases", "onchain") + .some, providers: CodexConfigs .init(nodes = 1) .withSimulateProofFailures(idx = 0, failEveryNProofs = 1)