akash-network / akash-network/console
One of the tx results in a batch loader is null
Open
Nobody has claimed this yet.
bug
- Dominant language
- TypeScript
- Stars
- 264
- Forks
- 94
- Avg merge
- 18h 49m
- Merged PRs (30d)
- 297
Description
Error is coming from here resulting in a failed transaction error logged as below. Http response to POST /v1/tx in such case is 500.
Need to investigate the cause and handle the error appropriately.
{
"severity": "ERROR",
"@type": "type.googleapis.com/google.devtools.clouderrorreporting.v1beta1.ReportedErrorEvent",
"time": "2025-05-07T00:50:58.310Z",
"context": "ErrorHandler",
"traceId": "83711473af0f6472a932590aa0ab9f4d",
"spanId": "cc4c078b8ba1ebce",
"traceFlags": 1,
"status": 500,
"message": "Failed to sign and broadcast tx",
"stack": "InternalServerError: Failed to sign and broadcast tx\n at assert (/app/apps/api/dist/server.js:103764:9)\n at BatchSigningClientService.<anonymous> (/app/apps/api/dist/server.js:232972:39)\n at Generator.next (<anonymous>)\n at fulfilled (/app/apps/api/dist/server.js:232915:58)\n at process.processTicksAndRejections (node:internal/process/task_queues:105:5)",
"data": null
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start in apps/api/src/billing/lib/batch-signing-client/batch-signing-client.service.ts at line 89, then trace the POST /v1/tx flow and the batch result that becomes null. Determine the cause and define handling that prevents the failed transaction from producing an inappropriate 500 response; verify the resulting error behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100