Closed teddyjfpender closed 1 year ago
Describe the bug When sending many transactions to an app-chain & then producing a block the test errors with:
test/Balances.test.ts: Block Production time: 1696 milliseconds 111 | if (response.taskId !== undefined) { 112 | const resolveFunction = this.resultsPending[response.taskId]; 113 | if (!this.erroredOut) { 114 | if (response.status === "error") { 115 | this.erroredOut = true; 116 | this.errorFunction?.(new Error(`Error in worker: ${response.payload}`)); ^ error: Error in worker: MerkleWitness not valid for StateTransition (0, type normal) Bool.assertTrue(): false != true
I came across this error in both bun and npm.
bun
npm
To Reproduce Steps to reproduce the behavior:
bun install && bun test
npm test
Expected behavior When sending multiple transactions to the app-chain it should produce a block and not error.
Additional context Add any other context about the problem here.
Thanks for the report and the easy reproduction example!
Fixed in #54
Describe the bug When sending many transactions to an app-chain & then producing a block the test errors with:
I came across this error in both
bun
andnpm
.To Reproduce Steps to reproduce the behavior:
bun install && bun test
ornpm test
)Expected behavior When sending multiple transactions to the app-chain it should produce a block and not error.
Additional context Add any other context about the problem here.