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

merge cleanup #56

Merged
merged 2 commits into from
Apr 11, 2022
Merged

merge cleanup #56

merged 2 commits into from
Apr 11, 2022

Conversation

zeroecco
Copy link

shoring up the branches

dmarzzz and others added 2 commits March 7, 2022 14:29
* [Feature] Reorg feed (#43)

* Add trace results to NewFullBlocksWithPeers feed

This commit runs the Go Call Tracer during the block import phase,
making those results available to the NewFullBlocksWithPeers feed.

The trace results are included with the transaction receipts. Even
transactions which are simple ETH transfers will have a trace
included.

The Go Call Tracer had to be moved from the core/tracers/ package to
core/tracers/custom/ to avoid import loops, but its functionality
has not changed.

* Add reorg feed

This adds a reorg feed, capturing reorgs in the block processor
and making them available to a reorgFeed subscription.

The response object include:

* common ancestor hash
* common ancestor number
* added block hashes
* removed block hashes

* Add json formatting

Co-authored-by: Austin Roberts <austin.roberts@openrelay.xyz>

* Revert "[Feature] Reorg feed (#43)" (#46)

This reverts commit 2c990ef.

* add list of tx hashes from block bodies of added and removed blocks (#49)

Co-authored-by: Austin Roberts <austin.roberts@openrelay.xyz>
@zeroecco zeroecco requested a review from dmarzzz April 11, 2022 17:53
@zeroecco zeroecco merged commit de7af52 into mempool-feed-stage Apr 11, 2022
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.

2 participants