diff --git a/docs/architecture/adr-019-strict-inflation-schedule.md b/docs/architecture/adr-019-strict-inflation-schedule.md index ecc5f6fc78..257128da88 100644 --- a/docs/architecture/adr-019-strict-inflation-schedule.md +++ b/docs/architecture/adr-019-strict-inflation-schedule.md @@ -12,7 +12,7 @@ Implemented in ## Context -Cosmos SDK chains that use the [x/mint](https://docs.cosmos.network/v0.46/modules/mint/) module have a flexible inflation rate that increases/decreases so that the total % of tokens bonded target some value. +Cosmos SDK chains that use the [x/mint](https://github.com/cosmos/cosmos-sdk/blob/v0.46.15/x/mint/spec/README.md) module have a flexible inflation rate that increases/decreases so that the total % of tokens bonded target some value. In contrast to a flexible inflation rate, Celestia intends on having a predictable inflation rate with the following constants: diff --git a/specs/src/specs/ante_handler.md b/specs/src/specs/ante_handler.md index 6c919aebee..82d684da0a 100644 --- a/specs/src/specs/ante_handler.md +++ b/specs/src/specs/ante_handler.md @@ -1,6 +1,6 @@ # AnteHandler -Celestia makes use of a Cosmos SDK [AnteHandler](https://docs.cosmos.network/v0.46/modules/auth/03_antehandlers.html#antehandlers) in order to reject decodable sdk.Txs that do not meet certain criteria. The AnteHandler is defined in [app/ante/ante.go](https://github.com/celestiaorg/celestia-app/blob/7f97788a64af7fe0fce00959753d6dd81663e98f/app/ante/ante.go) and is invoked at multiple times during the transaction lifecycle: +Celestia makes use of a Cosmos SDK [AnteHandler](https://github.com/cosmos/cosmos-sdk/blob/v0.46.15/x/auth/spec/03_antehandlers.md) in order to reject decodable sdk.Txs that do not meet certain criteria. The AnteHandler is defined in [app/ante/ante.go](https://github.com/celestiaorg/celestia-app/blob/7f97788a64af7fe0fce00959753d6dd81663e98f/app/ante/ante.go) and is invoked at multiple times during the transaction lifecycle: 1. `CheckTx` prior to the transaction entering the mempool 1. `PrepareProposal` when the block proposer includes the transaction in a block proposal @@ -14,7 +14,7 @@ The AnteHandler chains together several decorators to ensure the following crite - The tx's [timeout_height](https://github.com/cosmos/cosmos-sdk/blob/22c28366466e64ebf0df1ce5bec8b1130523552c/proto/cosmos/tx/v1beta1/tx.proto#L115-L117) has not been reached if one is specified. - The tx's [memo](https://github.com/cosmos/cosmos-sdk/blob/22c28366466e64ebf0df1ce5bec8b1130523552c/proto/cosmos/tx/v1beta1/tx.proto#L110-L113) is <= the max memo characters where [`MaxMemoCharacters = 256`](). - The tx's [gas_limit](https://github.com/cosmos/cosmos-sdk/blob/22c28366466e64ebf0df1ce5bec8b1130523552c/proto/cosmos/tx/v1beta1/tx.proto#L211-L213) is > the gas consumed based on the tx's size where [`TxSizeCostPerByte = 10`](https://github.com/cosmos/cosmos-sdk/blob/a429238fc267da88a8548bfebe0ba7fb28b82a13/x/auth/README.md?plain=1#L232). -- The tx's feepayer has enough funds to pay fees for the tx. The tx's feepayer is the feegranter (if specified) or the tx's first signer. Note the [feegrant](https://docs.cosmos.network/v0.46/) module is enabled. +- The tx's feepayer has enough funds to pay fees for the tx. The tx's feepayer is the feegranter (if specified) or the tx's first signer. Note the [feegrant](https://github.com/cosmos/cosmos-sdk/blob/v0.46.15/x/feegrant/README.md) module is enabled. - The tx's count of signatures <= the max number of signatures. The max number of signatures is [`TxSigLimit = 7`](https://github.com/cosmos/cosmos-sdk/blob/a429238fc267da88a8548bfebe0ba7fb28b82a13/x/auth/README.md?plain=1#L231). - The tx's [gas_limit](https://github.com/cosmos/cosmos-sdk/blob/22c28366466e64ebf0df1ce5bec8b1130523552c/proto/cosmos/tx/v1beta1/tx.proto#L211-L213) is > the gas consumed based on the tx's signatures. - The tx's [signatures](https://github.com/cosmos/cosmos-sdk/blob/22c28366466e64ebf0df1ce5bec8b1130523552c/types/tx/signing/signature.go#L10-L26) are valid. For each signature, ensure that the signature's sequence number (a.k.a nonce) matches the account sequence number of the signer. diff --git a/specs/src/specs/data_structures.md b/specs/src/specs/data_structures.md index ee84145c7c..7bb36e6095 100644 --- a/specs/src/specs/data_structures.md +++ b/specs/src/specs/data_structures.md @@ -110,7 +110,7 @@ Abstraction over transaction fees. ### Address -Celestia supports [secp256k1](https://en.bitcoin.it/wiki/Secp256k1) keys where [addresses](https://docs.cosmos.network/v0.46/basics/accounts.html#addresses) are 20 bytes in length. +Celestia supports [secp256k1](https://en.bitcoin.it/wiki/Secp256k1) keys where [addresses](https://github.com/cosmos/cosmos-sdk/blob/main/docs/architecture/adr-028-public-key-addresses.md) are 20 bytes in length. | name | type | description | |--------------|------------|-------------------------------------------------------------------------| @@ -388,7 +388,7 @@ Wrapped transactions include additional metadata by the block proposer that is c #### Transaction -Celestia transactions are Cosmos SDK [transactions](https://docs.cosmos.network/v0.46/core/transactions.html). +Celestia transactions are Cosmos SDK [transactions](https://github.com/cosmos/cosmos-sdk/blob/v0.46.15/docs/core/transactions.md). ### PayForBlobData @@ -426,7 +426,7 @@ Celestia transactions are Cosmos SDK [transactions](https://docs.cosmos.network/ ## State -The state of the Celestia chain is intentionally restricted to containing only account balances and the validator set metadata. Similar to other Cosmos SDK based chains, the state of the Celestia chain is maintained in a [multistore](https://docs.cosmos.network/main/core/store#multistore). The root of the application state is committed to in the [block header](#header) via the `AppHash`. +The state of the Celestia chain is intentionally restricted to containing only account balances and the validator set metadata. Similar to other Cosmos SDK based chains, the state of the Celestia chain is maintained in a [multistore](https://github.com/cosmos/cosmos-sdk/blob/v0.46.15/docs/core/store.md#multistore). The root of the application state is committed to in the [block header](#header) via the `AppHash`. ## Consensus Parameters diff --git a/specs/src/specs/public_key_cryptography.md b/specs/src/specs/public_key_cryptography.md index ce77f90c60..413dc91005 100644 --- a/specs/src/specs/public_key_cryptography.md +++ b/specs/src/specs/public_key_cryptography.md @@ -14,17 +14,17 @@ A highly-optimized library is available in C ( -1. -1. +1. +1.