Fix format

This commit is contained in:
Arnaud 2025-12-17 12:53:28 +01:00
parent 02d9f5be00
commit 09030a8599
No known key found for this signature in database
GPG Key ID: 20E40A5D3110766F
3 changed files with 4 additions and 8 deletions

View File

@ -510,9 +510,8 @@ const
nimBanner* = getNimBanner()
codexFullVersion* =
"Storage version: " & codexVersion & "\p" & "Storage revision: " &
codexRevision & "\p" & "Storage contracts revision: " & codexContractsRevision &
"\p" & nimBanner
"Storage version: " & codexVersion & "\p" & "Storage revision: " & codexRevision &
"\p" & "Storage contracts revision: " & codexContractsRevision & "\p" & nimBanner
proc parseCmdArg*(
T: typedesc[MultiAddress], input: string

View File

@ -881,8 +881,7 @@ proc start*(self: CodexNodeRef) {.async.} =
self.contracts.validator = ValidatorInteractions.none
self.networkId = self.switch.peerInfo.peerId
notice "Started Storage node",
id = self.networkId, addrs = self.switch.peerInfo.addrs
notice "Started Storage node", id = self.networkId, addrs = self.switch.peerInfo.addrs
proc stop*(self: CodexNodeRef) {.async.} =
trace "Stopping node"

View File

@ -69,9 +69,7 @@ proc sanitize(pathSegment: string): string =
sanitized
proc getTempDirName*(starttime: string, role: Role, roleIdx: int): string =
getTempDir() / "Storage" / sanitize($starttime) / sanitize(
$role & "_" & $roleIdx
)
getTempDir() / "Storage" / sanitize($starttime) / sanitize($role & "_" & $roleIdx)
template multinodesuite*(name: string, body: untyped) =
asyncchecksuite name: