-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(op-consensus): Trim and complete OP modifications
- Loading branch information
Showing
19 changed files
with
372 additions
and
978 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,21 @@ | ||
# alloy-consensus | ||
# op-alloy-consensus | ||
|
||
Ethereum consensus interface. | ||
OP Stack consensus interface. | ||
|
||
This crate contains constants, types, and functions for implementing Ethereum | ||
EL consensus and communication. This includes headers, blocks, transactions, | ||
[EIP-2718] envelopes, [EIP-2930], [EIP-4844], and more. | ||
This crate contains constants, types, and functions for implementing Optimism EL consensus and communication. This | ||
includes transactions, [EIP-2718] envelopes, [EIP-2930], [EIP-4844], [deposit transactions][deposit], and receipts. | ||
|
||
In general a type belongs in this crate if it is committed to in the EL block | ||
header. This includes: | ||
|
||
- transactions | ||
- blocks | ||
- headers | ||
- receipts | ||
- [EIP-2718] envelopes. | ||
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. | ||
|
||
[alloy-network]: ../network | ||
[EIP-2718]: https://eips.ethereum.org/EIPS/eip-2718 | ||
[EIP-2930]: https://eips.ethereum.org/EIPS/eip-2930 | ||
[EIP-4844]: https://eips.ethereum.org/EIPS/eip-4844 | ||
[deposit]: https://specs.optimism.io/protocol/deposits.html | ||
|
||
## Provenance | ||
|
||
Much of this code was ported from [reth-primitives] as part of ongoing alloy | ||
migrations. | ||
Much of this code was ported from [reth-primitives] as part of ongoing alloy migrations. | ||
|
||
[reth-primitives]: https://github.com/paradigmxyz/reth/tree/main/crates/primitives |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.