Skip to content

Dispatch emergency withdrawals via signed webhook#284

Merged
spalen0 merged 1 commit into
mainfrom
dispatch-webhook-signature
Jun 17, 2026
Merged

Dispatch emergency withdrawals via signed webhook#284
spalen0 merged 1 commit into
mainfrom
dispatch-webhook-signature

Conversation

@spalen0

@spalen0 spalen0 commented Jun 17, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • replace GitHub repository_dispatch with the local liquidity webhook endpoint
  • sign the exact serialized JSON body with LIQUIDITY_WEBHOOK_SECRET and send X-Hub-Signature-256
  • update dispatch tests and docs for the signed webhook flow

Tests

  • uv run pytest tests/test_utils.py
  • uv run ruff check utils/dispatch.py tests/test_utils.py tests/conftest.py

@spalen0 spalen0 merged commit c5f65d2 into main Jun 17, 2026
2 checks passed
@spalen0 spalen0 deleted the dispatch-webhook-signature branch June 19, 2026 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant