Skip to content

celestiaorg/cosmos-sdk

 
 

Repository files navigation

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: #326
  3. The consensus params version is overriden to the AppVersion to enable EndBlocker to update the AppVersion. Ref: #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: #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: #342
  3. Allow celestia-app to override the default consensus params via the init command. Ref: #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

  • specific to Celestia: consider if celestia-app is a better target
  • not specific to Celestia: consider making the contribution upstream in cosmos/cosmos-sdk

About

⛓️ A Framework for Building High Value Public Blockchains ✨

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 89.5%
  • C 8.2%
  • Makefile 0.4%
  • Java 0.4%
  • Sage 0.4%
  • Assembly 0.4%
  • Other 0.7%