Crates.io | op-alloy-consensus |
lib.rs | op-alloy-consensus |
version | |
source | src |
created_at | 2024-06-22 22:54:36.971811 |
updated_at | 2024-11-08 00:05:11.884165 |
description | Optimism alloy consensus types |
homepage | https://github.com/alloy-rs/op-alloy |
repository | https://github.com/alloy-rs/op-alloy |
max_upload_size | |
id | 1280849 |
Cargo.toml error: | TOML parse error at line 23, column 1 | 23 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
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.
Much of this code was ported from reth-primitives as part of ongoing alloy migrations.