74 releases (14 breaking)
Uses new Rust 2024
new 0.15.1 | Apr 24, 2025 |
---|---|
0.14.1 | Apr 16, 2025 |
0.12.0 | Mar 28, 2025 |
0.9.0 | Dec 30, 2024 |
0.1.4 | Jul 16, 2024 |
#154 in Magic Beans
83,437 downloads per month
Used in 34 crates
(20 directly)
165KB
3.5K
SLoC
op-alloy-consensus
Optimism consensus interface.
This crate contains constants, types, and functions for implementing Optimism EL consensus and communication. This
includes an extended OpTxEnvelope
type with deposit transactions, and receipts containing OP Stack
specific fields (deposit_nonce
+ deposit_receipt_version
).
In general a type belongs in this crate if it exists in the alloy-consensus
crate, but was modified from the base Ethereum protocol in the OP Stack.
For consensus types that are not modified by the OP Stack, the alloy-consensus
types should be used instead.
Provenance
Much of this code was ported from reth-primitives as part of ongoing alloy migrations.
Dependencies
~15–20MB
~242K SLoC