Skip to content

refactor(bedrock_actor): sync event processing with executor - #1137

Open
Arjentix wants to merge 2 commits into
devfrom
arjentix/refactor/sync-bedrock
Open

Arjentix wants to merge 2 commits into
devfrom
arjentix/refactor/sync-bedrock

Conversation

@Arjentix

Copy link
Copy Markdown
Collaborator

🎯 Purpose

This PR implements two refactors:

  1. Remove manual read of the blockchain and just use zone_sdk::Sequences with a random signing key. This unifies our events and removes redundant code.
  2. Sync bedrock event consumption by executor with bedrock actor loop. That means that we now use ask() instead of tell() here and bedrock actor won't apply new updates comming from bedrock until previous is processed by executor. At the same time bedrock actor is still able to respond to other messages not requiring publishing.

⚙️ Approach

See previous section.

🧪 How to Test

See CI.

🔗 Dependencies

None

🔜 Future Work

None

📋 PR Completion Checklist

  • Complete PR description
  • Implement the core functionality
  • Add/update tests
  • Add/update documentation and inline comments

@Arjentix Arjentix self-assigned this Nov 19, 2026
@Arjentix Arjentix added the priority:medium Normal priority label Nov 19, 2026
@Arjentix
Arjentix requested a review from moudyellaz as a code owner November 19, 2026 21:55
@github-actions

Copy link
Copy Markdown

Suggested reviewers

These code owners were requested because this pull request touches areas they know best (see CODEOWNERS). Each is asked to focus on the files listed under their name.

Reviewer Why Files
jonesmarvin8 Documentation 1
moudyellaz Documentation 1
schouhy Integration tests: sequencer and indexer, Sequencer actors, Sequencer core, Test fixtures 34
Pravdyvy FFI bindings, Sequencer actors, Test fixtures 13
erhant Sequencer actors, Sequencer core 7

jonesmarvin8

Documentation (/docs/)

moudyellaz

Documentation (/docs/)

schouhy

Integration tests: sequencer and indexer (/integration_tests/tests/slashing.rs)

Sequencer actors (/lez/sequencer/actors/bedrock/, /lez/sequencer/actors/executor/)

24 files

Sequencer core (/lez/sequencer/core/, /lez/sequencer/service/)

6 files

Test fixtures (/test_fixtures/)

Pravdyvy

FFI bindings (/lez/core_ffi/)

Sequencer actors (/lez/sequencer/actors/storage/)

8 files

Test fixtures (/test_fixtures/)

erhant

Sequencer actors (/lez/sequencer/actors/rpc_server/)

Sequencer core (/lez/sequencer/core/, /lez/sequencer/service/)

6 files
Files without another code owner (1)

@Pravdyvy Pravdyvy left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@Arjentix Arjentix mentioned this pull request Nov 20, 2026
2 of 14 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:medium Normal priority

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants