Skip to content
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

Revert "Use traces to extract the input for settlement::Observer (#… #3237

Merged
merged 1 commit into from
Jan 16, 2025

Conversation

sunce86
Copy link
Contributor

@sunce86 sunce86 commented Jan 15, 2025

Description

Reverts #3233

None of the Arbitrum nodes supports trace_transaction. Supposedly, arbtrace_transaction should be used instead, but I couldn't make it work.

Also, not all backup nodes (read alchemy) for other networks (base, gc) support trace_transaction. I noticed that alchemy supports debug_traceTransaction that could be used instead.

Overall, I should have checked this before merging the PR. I decided to revert this PR since, right now, Arbitrum staging is unable to work properly, and also, even with specific/per_chain implementation I am not sure I will be able to make it work with all PRIMARY/BACKUP nodes on ALL networks. This needs throughout testing first.

@sunce86 sunce86 self-assigned this Jan 15, 2025
@sunce86 sunce86 requested a review from a team as a code owner January 15, 2025 14:54
Copy link
Contributor

@MartinquaXD MartinquaXD left a comment

Choose a reason for hiding this comment

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

That's unfortunate. I think it's fine to require tracing support as it's a fairly common feature but I didn't expect arbitrum nitro to have a custom RPC method for that. 🤦‍♂️

@sunce86
Copy link
Contributor Author

sunce86 commented Jan 16, 2025

I will do a round of testing on all nodes and will probably implement:

  1. try trace_transaction
  2. if fail, try debug_traceTransaction

In the meantime, merging this PR.

@sunce86 sunce86 merged commit b4e2bbd into main Jan 16, 2025
11 checks passed
@sunce86 sunce86 deleted the revert-trace-transaction branch January 16, 2025 08:08
@github-actions github-actions bot locked and limited conversation to collaborators Jan 16, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants