chore: fixed dead links in repo (#17694)

This commit is contained in:
Cypher Pepe
2025-08-12 18:38:02 +03:00
committed by GitHub
parent 5733a32e27
commit 82f1cc09ff
5 changed files with 5 additions and 5 deletions

View File

@@ -162,7 +162,7 @@ pub trait PayloadValidator<Types: PayloadTypes>: Send + Sync + Unpin + 'static {
/// > timestamp
/// > of a block referenced by forkchoiceState.headBlockHash.
///
/// See also: <https://github.com/ethereum/execution-apis/blob/647a677b7b97e09145b8d306c0eaf51c32dae256/src/engine/common.md#specification-1>
/// See also: <https://github.com/ethereum/execution-apis/blob/main/src/engine/common.md#specification-1>
fn validate_payload_attributes_against_header(
&self,
attr: &Types::PayloadAttributes,

View File

@@ -918,7 +918,7 @@ pub trait EngineValidator<
/// > timestamp
/// > of a block referenced by forkchoiceState.headBlockHash.
///
/// See also: <https://github.com/ethereum/execution-apis/blob/647a677b7b97e09145b8d306c0eaf51c32dae256/src/engine/common.md#specification-1>
/// See also: <https://github.com/ethereum/execution-apis/blob/main/src/engine/common.md#specification-1>
fn validate_payload_attributes_against_header(
&self,
attr: &Types::PayloadAttributes,

View File

@@ -242,7 +242,7 @@ pub trait EngineApi<Engine: EngineTypes> {
) -> RpcResult<Option<Vec<BlobAndProofV2>>>;
}
/// A subset of the ETH rpc interface: <https://ethereum.github.io/execution-apis/docs/reference/json-rpc-api>
/// A subset of the ETH rpc interface: <https://ethereum.github.io/execution-apis/api-documentation>
///
/// This also includes additional eth functions required by optimism.
///

View File

@@ -46,7 +46,7 @@ impl<T> FullEthApiServer for T where
{
}
/// Eth rpc interface: <https://ethereum.github.io/execution-apis/docs/reference/json-rpc-api>
/// Eth rpc interface: <https://ethereum.github.io/execution-apis/api-documentation>
#[cfg_attr(not(feature = "client"), rpc(server, namespace = "eth"))]
#[cfg_attr(feature = "client", rpc(server, client, namespace = "eth"))]
pub trait EthApi<TxReq: RpcObject, T: RpcObject, B: RpcObject, R: RpcObject, H: RpcObject> {

View File

@@ -12,7 +12,7 @@
- This allows for [out-of-the-box benchmarking](https://github.com/paradigmxyz/reth/blob/main/crates/storage/db/benches/criterion.rs) (using [Criterion](https://github.com/bheisler/criterion.rs))
- It also enables [out-of-the-box fuzzing](https://github.com/paradigmxyz/reth/blob/main/crates/storage/db-api/src/tables/codecs/fuzz/mod.rs) using [trailofbits/test-fuzz](https://github.com/trailofbits/test-fuzz).
- We implemented that trait for the following encoding formats:
- [Ethereum-specific Compact Encoding](https://github.com/paradigmxyz/reth/blob/0d9b9a392d4196793736522f3fc2ac804991b45d/crates/codecs/derive/src/compact/mod.rs): A lot of Ethereum datatypes have unnecessary zeros when serialized, or optional (e.g. on empty hashes) which would be nice not to pay in storage costs.
- [Ethereum-specific Compact Encoding](https://github.com/paradigmxyz/reth/blob/main/crates/storage/codecs/derive/src/compact/mod.rs): A lot of Ethereum datatypes have unnecessary zeros when serialized, or optional (e.g. on empty hashes) which would be nice not to pay in storage costs.
- [Erigon](https://github.com/ledgerwatch/erigon/blob/12ee33a492f5d240458822d052820d9998653a63/docs/programmers_guide/db_walkthrough.MD) achieves that by having a `bitfield` set on Table "PlainState which adds a bitfield to Accounts.
- [Akula](https://github.com/akula-bft/akula/) expanded it for other tables and datatypes manually. It also saved some more space by storing the length of certain types (U256, u64) using the [`modular_bitfield`](https://docs.rs/modular-bitfield/latest/modular_bitfield/) crate, which compacts this information.
- We generalized it for all types, by writing a derive macro that autogenerates code for implementing the trait. It, also generates the interfaces required for fuzzing using ToB/test-fuzz: