-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
billingPayments relatedPayments relateddocumentationImprovements or additions to documentationImprovements or additions to documentationjsonrpcJSON-RPC relatedJSON-RPC relatedoff-chainOff-chain business logicOff-chain business logic
Milestone
Description
Objective
Implement batching with unpack/repack logic. Unpack/repack is required so that suppliers can be correctly compensated with onchain mechanisms.
Origin Document
In the previous portal we supported this.
Goals
- Accept batch requests in the Portal via PATH
- Correctly compensate the Suppliers for each individual relay in a batch
Deliverables
- PATH correctly handles batch requests
- PATH unpacks the batch, processes each individual request and repacks the batch response for a user
- PATH correctly counts each individual request and submits it to the billing pipeline.
Non-goals / Non-deliverables
- Batch-based CUTTM
- Extra services that handle batch requests
General deliverables
- Comments: Add/update TODOs and comments alongside the source code so it is easier to follow.
- Testing: Add new tests (unit and/or E2E) to the test suite.
- Makefile: Add new targets to the Makefile to make the new functionality easier to use.
- Documentation: Update architectural or development READMEs; use mermaid diagrams where appropriate.
Creator: @fredteumer
Co-Owners: @ArtSabintsev
Metadata
Metadata
Assignees
Labels
billingPayments relatedPayments relateddocumentationImprovements or additions to documentationImprovements or additions to documentationjsonrpcJSON-RPC relatedJSON-RPC relatedoff-chainOff-chain business logicOff-chain business logic