celestiaorg / cosmos-sdk

:chains: A Framework for Building High Value Public Blockchains :sparkles:
https://cosmos.network/
Other
19 stars 33 forks source link

cosmos-sdk

This repo is a fork of cosmos/cosmos-sdk with a few modifications.

Modifications

Larger modifications include:

  1. Early adoption of PrepareProposal and ProcessProposal. This was added to the fork because at the time of development, a Cosmos SDK release was not available with these ABCI methods. Ref: https://github.com/celestiaorg/cosmos-sdk/commit/233a229cabf0599aed91b6b6697c268753731b2c
  2. The addition of chainID to baseapp so that a branch of state can be used in PrepareProposal and ProcessProposal. Ref: https://github.com/celestiaorg/cosmos-sdk/pull/326
  3. The consensus params version is overriden to the AppVersion to enable EndBlocker to update the AppVersion. Ref: https://github.com/celestiaorg/cosmos-sdk/pull/321

Smaller modifications include:

  1. The addition of a SetTxDecoder on tx config so that celestia-app can override the default tx decoder with one that supports decoding BlobTxs. Ref: https://github.com/celestiaorg/cosmos-sdk/pull/311
  2. The addition of a start_time to the vesting module's MsgCreateVestingAccount so that vesting accounts can be created with a delayed start time. Ref: https://github.com/celestiaorg/cosmos-sdk/pull/342
  3. Allow celestia-app to override the default consensus params via the init command. Ref: https://github.com/celestiaorg/cosmos-sdk/pull/317

Modifications that make it easier to maintain this fork:

  1. Modify CODEOWNERS to Celestia maintainers
  2. Modify Github CI workflows to include release/** branches
  3. Modify Github CI workflows to not run some workflows
  4. Delete cosmovisor

Modifications that may be revertable:

  1. Override the default keyringBackend from os to test. Maybe move to celestia-app
  2. Increase DefaultGasLimit from 200000 to 210000.
  3. Remove Evidence from grpc/tmservice/types.pb.go.
  4. Override simapp test helpers DefaultGenTxGas from 10000000 to 2600000.
  5. Disable staticcheck golangci lint after fixing lint errors.
  6. In auth/tx/query.go disable the prove flag when querying transactions
  7. In server/util.go remove conf.Consensus.TimeoutCommit = 5 * time.Second

Branches

  1. v0.46.x-celestia is based on the v0.46.x release branch from upstream

Contributing

This repo intends on preserving the minimal possible diff with cosmos/cosmos-sdk to make fetching upstream changes easy. If the proposed contribution is