fix: broken documentation URLs in link checker
1. remote_mining.rs: dicle.subscan.io -> explorer.pezkuwichain.io - subscan doesn't have our testnet, use our explorer 2. ethereum-client + beacon primitives: consensus-specs/blob/dev -> blob/master - ethereum repo uses 'master' branch, not 'dev' - 5 URLs updated
This commit is contained in:
@@ -238,7 +238,7 @@ async fn mine_for_pezkuwi() {
|
||||
async fn mine_for_dicle() {
|
||||
pezsp_tracing::try_init_simple();
|
||||
|
||||
// good way to find good block hashes: https://dicle.subscan.io/event?page=1&time_dimension=date&module=electionprovidermultiphase&event_id=solutionstored
|
||||
// good way to find good block hashes: https://explorer.pezkuwichain.io/event?module=electionprovidermultiphase&event_id=solutionstored
|
||||
// we are just looking for blocks with snapshot present, that's all.
|
||||
let block_hash_str = std::option_env!("BLOCK_HASH")
|
||||
// known good dicle hash
|
||||
|
||||
@@ -14,7 +14,7 @@ pub const MAX_FEE_RECIPIENT_SIZE: usize = 20;
|
||||
pub const MAX_BRANCH_PROOF_SIZE: usize = 20;
|
||||
|
||||
/// DomainType('0x07000000')
|
||||
/// <https://github.com/ethereum/consensus-specs/blob/dev/specs/altair/beacon-chain.md#domain-types>
|
||||
/// <https://github.com/ethereum/consensus-specs/blob/master/specs/altair/beacon-chain.md#domain-types>
|
||||
pub const DOMAIN_SYNC_COMMITTEE: [u8; 4] = [7, 0, 0, 0];
|
||||
/// Validators public keys are 48 bytes.
|
||||
pub const PUBKEY_SIZE: usize = 48;
|
||||
|
||||
@@ -305,7 +305,7 @@ pub mod pezpallet {
|
||||
Self::apply_update(update)
|
||||
}
|
||||
|
||||
/// References and strictly follows <https://github.com/ethereum/consensus-specs/blob/dev/specs/altair/light-client/sync-protocol.md#validate_light_client_update>
|
||||
/// References and strictly follows <https://github.com/ethereum/consensus-specs/blob/master/specs/altair/light-client/sync-protocol.md#validate_light_client_update>
|
||||
/// Verifies that provided next sync committee is valid through a series of checks
|
||||
/// (including checking that a sync committee period isn't skipped and that the header is
|
||||
/// signed by the current sync committee.
|
||||
@@ -461,7 +461,7 @@ pub mod pezpallet {
|
||||
Ok(())
|
||||
}
|
||||
|
||||
/// Reference and strictly follows <https://github.com/ethereum/consensus-specs/blob/dev/specs/altair/light-client/sync-protocol.md#apply_light_client_update
|
||||
/// Reference and strictly follows <https://github.com/ethereum/consensus-specs/blob/master/specs/altair/light-client/sync-protocol.md#apply_light_client_update
|
||||
/// Applies a finalized beacon header update to the beacon client. If a next sync committee
|
||||
/// is present in the update, verify the sync committee by converting it to a
|
||||
/// SyncCommitteePrepared type. Stores the provided finalized header. Updates are free
|
||||
|
||||
@@ -4,7 +4,7 @@ use pezsp_core::H256;
|
||||
use pezsp_io::hashing::sha2_256;
|
||||
|
||||
/// Specified by <https://github.com/ethereum/consensus-specs/blob/fe9c1a8cbf0c2da8a4f349efdcd77dd7ac8445c4/specs/phase0/beacon-chain.md?plain=1#L742>
|
||||
/// with improvements from <https://github.com/ethereum/consensus-specs/blob/dev/ssz/merkle-proofs.md>
|
||||
/// with improvements from <https://github.com/ethereum/consensus-specs/blob/master/ssz/merkle-proofs.md>
|
||||
pub fn verify_merkle_branch(
|
||||
leaf: H256,
|
||||
branch: &[H256],
|
||||
|
||||
@@ -640,7 +640,7 @@ pub mod deneb {
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
||||
/// ExecutionPayloadHeader
|
||||
/// <https://github.com/ethereum/consensus-specs/blob/dev/specs/deneb/beacon-chain.md#executionpayloadheader>
|
||||
/// <https://github.com/ethereum/consensus-specs/blob/master/specs/deneb/beacon-chain.md#executionpayloadheader>
|
||||
#[derive(
|
||||
Default,
|
||||
Encode,
|
||||
|
||||
Reference in New Issue
Block a user