21 releases

new 0.3.3 Oct 2, 2024
0.3.2 Sep 30, 2024
0.2.12 Sep 18, 2024
0.2.2 Aug 29, 2024
0.1.0 Jun 22, 2024

#156 in Magic Beans

Download history 81/week @ 2024-06-16 687/week @ 2024-06-23 581/week @ 2024-06-30 2059/week @ 2024-07-07 3052/week @ 2024-07-14 2519/week @ 2024-07-21 2516/week @ 2024-07-28 3371/week @ 2024-08-04 3252/week @ 2024-08-11 2979/week @ 2024-08-18 4839/week @ 2024-08-25 7442/week @ 2024-09-01 8052/week @ 2024-09-08 8492/week @ 2024-09-15 7559/week @ 2024-09-22 8465/week @ 2024-09-29

33,132 downloads per month
Used in 11 crates (7 directly)

MIT/Apache

105KB
2K SLoC

op-alloy-consensus

op-alloy-consensus crate

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

~5.5–9.5MB
~184K SLoC