Draft
Conversation
- Wire consumer ReportUsage to provider PaymentSession stream (handle rav_request → rav_submission, allow cost omission when gateway configured, close stream on EndSession) - Enforce provider-side underpay protection: reject/STOP if submitted RAV < current + server-computed usage delta (stream + SubmitRAV) - Propagate session close: provider ends session when PaymentSession closes (EOF/cancel) - Add integration tests for consumer wiring, underpay rejection, and close propagation; stabilize integration TestMain cleanup to avoid devenv port collisions - Update backlog: mark SDS-034/035/036 done
- Add 'sds demo setup' to prepare devenv on-chain state (mint/approve/deposit escrow, provision/register provider, authorize signer) and print copy/paste commands - Add 'sds demo flow' harness to run Init → ReportUsage loop → EndSession and verify the provider session becomes inactive - Wire new commands under 'sds demo' and mark SDS-037/SDS-031 done in backlog
- Add PaymentGatewayService.GetSessionStatus (proto + handler) for demo/operator status checks - Regenerate Connect/Go stubs via buf for the updated gateway API - Update sds demo flow/setup to use consumer Init gateway_endpoint and query status via PaymentGatewayService - Fix consumer-side GRT/*big.Int conversions in ReportUsage signing paths - Update integration tests to target provider gateway (removed provider/sidecar references)
- Update README demo instructions: .envrc PATH setup, firecore SDS plugin minimum commit, and log sanity checks - Fix README provider gateway path reference (provider/gateway) - Ignore firecore scratch dirs via devel/.gitignore (.firehose-*/) - Update implementation backlog timestamp for the new demo plan items
- Add .reflex.stack to run consumer sidecar, provider gateway, and firecore together\n- Teach `sds demo setup` to write devel/.demo.env for consistent signer/contract config\n- Document the stable demo order (devenv -> demo setup -> reflex stack)\n- Ignore generated devel/.demo.env and firehose work dirs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.