Skip to content

refactor(events): restructure filecoin and eth events. - #7608

Draft
akaladarshi wants to merge 3 commits into
mainfrom
akaladarshi/eth-events-refactor
Draft

refactor(events): restructure filecoin and eth events.#7608
akaladarshi wants to merge 3 commits into
mainfrom
akaladarshi/eth-events-refactor

Conversation

@akaladarshi

Copy link
Copy Markdown
Contributor

Summary of changes

Changes introduced in this pull request:

  • TipsetEvents allows collection of all the event produce in a single tipset.
  • BlockLogs holds all the EthLog produced by each message in a block.
  • This is just a first draft of the restructuring once verified by the team will push the stacked PR's on top of it which will have full on integration of the changes.
    • Basically idea here is to introduced separate structures for the Filecoin Events, Ethereum Logs and allow all the API's to directly use whatever structure they want for the events and logs instead of calling individual functions, in proceess makes collection of events/logs easier since filecoin doesn't really store the events at the block level.

Reference issue to close (if applicable)

Closes

Other information and links

Change checklist

  • I have performed a self-review of my own code,
  • I have made corresponding changes to the documentation. All new code adheres to the team's documentation standards,
  • I have added tests that prove my fix is effective or that my feature works (if possible),
  • I have made sure the CHANGELOG is up-to-date. All user-facing changes should be reflected in this document.

Outside contributions

  • This pull request is based on an issue that a maintainer has accepted (see Before Opening a Pull Request).
  • I have read and agree to the CONTRIBUTING document.
  • I have read and agree to the AI Policy document. I understand that failure to comply with the guidelines will lead to rejection of the pull request.

…om them

A tipset's events are collected once, numbered in message order, with each
emitter resolved synchronously against the post-execution state. The block
logs bloom is a fold over the Ethereum projection, so the second emitter
resolver and event shaper in bloom.rs are gone.
@coderabbitai

coderabbitai Bot commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Comment @coderabbitai help to get the list of available commands.

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