Skip to content

Commit

Permalink
docs: fix URL (#4142)
Browse files Browse the repository at this point in the history
<!--
Please read and fill out this form before submitting your PR.

Please make sure you have reviewed our contributors guide before
submitting your
first PR.
-->

## Overview

The link has expired, replace it with the latest address

<!-- 
Please provide an explanation of the PR, including the appropriate
context,
background, goal, and rationale. If there is an issue with this
information,
please provide a tl;dr and link the issue. 
-->

Signed-off-by: goodfirm <[email protected]>
  • Loading branch information
goodfirm authored Dec 23, 2024
1 parent 9e42afa commit 05d1acd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions specs/src/proto/types.proto
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import "google/protobuf/timestamp.proto";

// Define data structures.

// https://github.com/celestiaorg/celestia-specs/blob/master/specs/data_structures.md#header
// https://github.com/celestiaorg/celestia-specs/blob/master/src/specs/data_structures.md#header
message Header {
ConsensusVersion version = 1;
string chain_id = 2;
Expand All @@ -24,13 +24,13 @@ message Header {
bytes proposer_address = 11;
}

// https://github.com/celestiaorg/celestia-specs/blob/master/specs/data_structures.md#consensusversion
// https://github.com/celestiaorg/celestia-specs/blob/master/src/specs/data_structures.md#consensusversion
message ConsensusVersion {
uint64 block = 1;
uint64 app = 2;
}

// https://github.com/celestiaorg/celestia-specs/blob/master/specs/data_structures.md#availabledataheader
// https://github.com/celestiaorg/celestia-specs/blob/master/src/specs/data_structures.md#availabledataheader
message AvailableDataHeader {
// array of 32-byte hashes
repeated bytes row_roots = 1;
Expand Down Expand Up @@ -172,7 +172,7 @@ message MessagePaidHead {

//Protobuf definitions for the contents of fraud proofs

// https://github.com/celestiaorg/celestia-specs/blob/master/specs/data_structures.md#namespacemerkletreeinclusionproof
// https://github.com/celestiaorg/celestia-specs/blob/master/src/specs/data_structures.md#namespacemerkletreeinclusionproof
message NamespaceMerkleTreeInclusionProof {
// sibling hash values, ordered starting from the leaf's neighbor
// array of 32-byte hashes
Expand All @@ -185,7 +185,7 @@ message NamespaceMerkleTreeInclusionProof {
repeated bytes siblingMaxes = 3;
}

// https://github.com/celestiaorg/celestia-specs/blob/master/specs/data_structures.md#sparsemerkletreeinclusionproof
// https://github.com/celestiaorg/celestia-specs/blob/master/src/specs/data_structures.md#sparsemerkletreeinclusionproof
message SparseMerkleTreeInclusionProof {
// depth of the leaf node, must be <= 256
// The root node is at depth 0.
Expand All @@ -198,7 +198,7 @@ message SparseMerkleTreeInclusionProof {
bytes includedSiblings = 3;
}

// https://github.com/celestiaorg/celestia-specs/blob/master/specs/data_structures.md#share
// https://github.com/celestiaorg/celestia-specs/blob/master/src/specs/data_structures.md#share
message Share {
// namespace ID of the share
// NAMESPACE_ID_BYTES-bytes
Expand All @@ -208,7 +208,7 @@ message Share {
bytes rawData = 2;
}

// https://github.com/celestiaorg/celestia-specs/blob/master/specs/data_structures.md#stateelement
// https://github.com/celestiaorg/celestia-specs/blob/master/src/specs/data_structures.md#stateelement
message StateElement {
// key of the state element
// 32-bytes
Expand Down
4 changes: 2 additions & 2 deletions specs/src/proto/wire.proto
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
syntax = "proto3";

// Define wire messages for transaction types.
// https://github.com/celestiaorg/celestia-specs/blob/master/specs/data_structures.md#signedtransactiondata
// https://github.com/celestiaorg/celestia-specs/blob/master/src/specs/data_structures.md#signedtransactiondata

message TransactionFee {
// Tip fee rate (rewarded to block proposer)
Expand All @@ -19,7 +19,7 @@ message MessageCommitmentAndSignature {
// 32-byte hash: commitment to message shares
bytes share_commitment = 2;
// 64-byte signature a single SignedTransactionPayForMessage
// https://github.com/celestiaorg/celestia-specs/blob/master/specs/data_structures.md#signedtransactiondatamsgpayfordata
// https://github.com/celestiaorg/celestia-specs/blob/master/src/specs/data_structures.md#signedtransactiondatamsgpayfordata
bytes signature = 3;
}

Expand Down

0 comments on commit 05d1acd

Please sign in to comment.