Skip to content

Commit

Permalink
docs: fix 404 URL
Browse files Browse the repository at this point in the history
Signed-off-by: goodfirm <[email protected]>
  • Loading branch information
goodfirm committed Dec 19, 2024
1 parent 9f3b196 commit 23481e9
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 23481e9

Please sign in to comment.