diff --git a/.vscode/launch.json b/.vscode/launch.json index 8135066a82..c9141cb3e8 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -26,7 +26,7 @@ "--run", "--inspect-brk", "--no-file-parallelism", - "packages/modules/packages/diviner/packages/boundwitness/packages/memory/src/spec/Diviner.spec.ts" + "packages/modules/packages/diviner/packages/payloadpointer/packages/memory/src/spec/Diviner.payloadPointer.timestamp.spec.ts" ], "sourceMaps": true, "resolveSourceMapLocations": [ diff --git a/packages/modules/packages/diviner/packages/payloadpointer/packages/memory/src/spec/testUtil/Block/getNewBlock.ts b/packages/modules/packages/diviner/packages/payloadpointer/packages/memory/src/spec/testUtil/Block/getNewBlock.ts index fb0a2e158d..a7a01ea886 100644 --- a/packages/modules/packages/diviner/packages/payloadpointer/packages/memory/src/spec/testUtil/Block/getNewBlock.ts +++ b/packages/modules/packages/diviner/packages/payloadpointer/packages/memory/src/spec/testUtil/Block/getNewBlock.ts @@ -6,7 +6,7 @@ import { unitTestSigningAccount } from '../Account/index.ts' import { getNewPayloads } from '../Payload/index.ts' export const getNewBlock = async (...payloads: Payload[]): Promise => { - return (await (await new BoundWitnessBuilder().witness(await unitTestSigningAccount()).payloads(payloads)).build())[0] + return (await (new BoundWitnessBuilder().witness(await unitTestSigningAccount()).payloads(payloads)).build())[0] } export const getNewBlockWithPayloads = async (numPayloads = 1) => { @@ -28,7 +28,7 @@ export const getNewBlocksWithPayloads = async (numBoundWitnesses = 1, numPayload .fill(0) .map(async () => { return ( - await (await new BoundWitnessBuilder().witness(await unitTestSigningAccount()).payloads(await getNewPayloads(numPayloads))).build() + await (new BoundWitnessBuilder().witness(await unitTestSigningAccount()).payloads(await getNewPayloads(numPayloads))).build() )[0] }), ) diff --git a/packages/modules/packages/diviner/packages/payloadpointer/packages/memory/src/spec/testUtil/BoundWitness/getNewBoundWitness.ts b/packages/modules/packages/diviner/packages/payloadpointer/packages/memory/src/spec/testUtil/BoundWitness/getNewBoundWitness.ts index 3768854057..2dde70e206 100644 --- a/packages/modules/packages/diviner/packages/payloadpointer/packages/memory/src/spec/testUtil/BoundWitness/getNewBoundWitness.ts +++ b/packages/modules/packages/diviner/packages/payloadpointer/packages/memory/src/spec/testUtil/BoundWitness/getNewBoundWitness.ts @@ -7,7 +7,7 @@ import { unitTestSigningAccount } from '../Account/index.ts' import { getNewPayloads } from '../Payload/index.ts' export const getNewBoundWitness = async (signers?: AccountInstance[], payloads?: Payload[]): Promise<[BoundWitness, Payload[], ModuleError[]]> => { - return await (await new BoundWitnessBuilder().payloads(payloads ?? (await getNewPayloads(1)))) + return await (new BoundWitnessBuilder().payloads(payloads ?? (await getNewPayloads(1)))) .witnesses(signers ?? [await unitTestSigningAccount()]) .build() }