Skip to content

perf: use eth_sendRawTransactionSync in Tempo verify#115

Merged
brendanjryan merged 2 commits intomainfrom
perf/send-raw-transaction-sync
Apr 9, 2026
Merged

perf: use eth_sendRawTransactionSync in Tempo verify#115
brendanjryan merged 2 commits intomainfrom
perf/send-raw-transaction-sync

Conversation

@brendanjryan
Copy link
Copy Markdown
Collaborator

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 15df587f0a

ℹ️ 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".

json={
"jsonrpc": "2.0",
"method": "eth_sendRawTransaction",
"method": "eth_sendRawTransactionSync",
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Add fallback when sync transaction RPC is unsupported

This hard-codes eth_sendRawTransactionSync, which is not part of the standard Ethereum JSON-RPC surface, so ChargeIntent.verify() now fails on RPC providers that only expose eth_sendRawTransaction (typically with -32601 Method not found). Because ChargeIntent still accepts custom rpc_url values and the previous implementation worked with standard nodes via send+poll, this is a compatibility regression for existing deployments unless a fallback path is kept.

Useful? React with 👍 / 👎.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

not relevant for tempo

@brendanjryan brendanjryan merged commit 357d247 into main Apr 9, 2026
2 checks passed
@github-actions github-actions bot mentioned this pull request Apr 9, 2026
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