-
Notifications
You must be signed in to change notification settings - Fork 3
Fix payment triggers with <outputaddresses> set #1053
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix payment triggers with <outputaddresses> set #1053
Conversation
…et in some cases.
WalkthroughAdds outputAddresses to the trigger POST payload constructed in buildPostParams within services/triggerService.ts, alongside existing inputAddresses. No public/exported signatures changed. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor EventSource as Event Source
participant TriggerService as triggerService
participant TriggerURL as External Trigger URL
EventSource->>TriggerService: onTxEvent(tx)
TriggerService->>TriggerService: buildPostParams(tx)\n- inputAddresses\n- outputAddresses (new)
TriggerService->>TriggerURL: HTTP POST postDataParameters
alt 2xx
TriggerURL-->>TriggerService: Ack
else Error
TriggerURL-->>TriggerService: Error response
end
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested labels
Pre-merge checks (2 passed, 1 warning)❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
Poem
Tip 👮 Agentic pre-merge checks are now available in preview!Pro plan users can now enable pre-merge checks in their settings to enforce checklists before merging PRs.
Please see the documentation for more information. Example: reviews:
pre_merge_checks:
custom_checks:
- name: "Undocumented Breaking Changes"
mode: "warning"
instructions: |
Pass/fail criteria: All breaking changes to public APIs, CLI flags, environment variables, configuration keys, database schemas, or HTTP/GraphQL endpoints must be documented in the "Breaking Change" section of the PR description and in CHANGELOG.md. Exclude purely internal or private changes (e.g., code not exported from package entry points or explicitly marked as internal).Please share your feedback with us on this Discord post. 📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
🔇 Additional comments (1)
✨ Finishing Touches
🧪 Generate unit tests
Comment |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
|
Confimed working in prod. |
58e182b
into
feat/async-and-improved-initialization
Depends on
Description
Prod fix for including outputAddresses in payment trigger messages.
Test plan
<outputAddresses>set.Summary by CodeRabbit