Skip to content

Comments

chore: add logging to send_bundler_sponsored_user_operation#267

Merged
crystalt merged 6 commits intomainfrom
crystal/bundler_sponsored_log
Feb 20, 2026
Merged

chore: add logging to send_bundler_sponsored_user_operation#267
crystalt merged 6 commits intomainfrom
crystal/bundler_sponsored_log

Conversation

@crystalt
Copy link
Contributor

Add some logging to send_bundler_sponsored_user_operation for debugging purposes. Logging sender, bundler host, error, and user op hash

Follow up to https://github.com/worldcoin/bedrock/pull/265/changes#r2820678872

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds debug logging to the send_bundler_sponsored_user_operation method to improve observability for bundler-sponsored user operations. This is a follow-up to PR #265, which introduced the bundler-sponsored flow where bundlers cover gas costs upfront and API key owners are billed monthly.

Changes:

  • Added info-level logging at operation start and successful submission
  • Added error-level logging for signing and submission failures
  • Implemented secure URL parsing to extract only the host portion and avoid logging API keys

@crystalt

This comment was marked as outdated.

@chatgpt-codex-connector

This comment was marked as outdated.

@crystalt
Copy link
Contributor Author

@codex review

@chatgpt-codex-connector
Copy link

Codex Review: Didn't find any major issues. Chef's kiss.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 2 comments.

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 2 out of 2 changed files in this pull request and generated no new comments.

@crystalt crystalt merged commit 73b04e0 into main Feb 20, 2026
17 checks passed
@crystalt crystalt deleted the crystal/bundler_sponsored_log branch February 20, 2026 02:31
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.

3 participants