Open
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds comprehensive Rust bindings for the Monad execution client, introducing three main crates that enable Rust applications to consume execution events through a shared memory event ring system.
Key changes:
- New Rust workspace with CXX logging integration (
monad-cxx) - Event ring API bindings (
monad-event-ring) - Execution events SDK (
monad-exec-events) with block builders and alloy type conversions
Reviewed changes
Copilot reviewed 44 out of 51 changed files in this pull request and generated 4 comments.
Show a summary per file
| File | Description |
|---|---|
rust/rust-toolchain.toml |
Pins Rust toolchain to version 1.91.1 with clippy |
rust/Cargo.toml |
Workspace configuration with release profile and dependencies |
rust/.rustfmt.toml |
Code formatting configuration |
.github/workflows/rust.yml |
CI workflow for Rust testing, linting, and documentation |
rust/crates/monad-cxx/* |
C++ logging integration crate for forwarding logs to Rust tracing |
rust/crates/monad-event-ring/* |
Core event ring API with FFI bindings, readers, and snapshot support |
rust/crates/monad-exec-events/* |
High-level execution events SDK with block builders and type conversions |
rust/crates/monad-exec-events/test/data/* |
Test data files (JSON event samples) |
rust/crates/monad-exec-events/examples/* |
Example applications including explorer and block dump utilities |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
rust/crates/monad-exec-events/src/block_builder/commit_state/mod.rs
Outdated
Show resolved
Hide resolved
33e62f9 to
be6c778
Compare
6f7bc9c to
ab13bf3
Compare
8cebd3b to
84e204a
Compare
b338c16 to
7065ad1
Compare
7065ad1 to
a3fe492
Compare
a3fe492 to
a790031
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This change introduces rust to the monad execution repo by moving the
monad-cxxcrate from the monad bft repo which builds execution for use in rust.