celestiaorg / cosmos-sdk

:chains: A Framework for Building High Value Public Blockchains :sparkles:

Home Page:https://cosmos.network/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

:chains: A Framework for Building High Value Public Blockchains :sparkles:

https://cosmos.network/

License:Other


Languages

Language:Go 89.6%Language:C 8.2%Language:Makefile 0.4%Language:Java 0.4%Language:Sage 0.4%Language:Assembly 0.4%Language:M4 0.3%Language:Shell 0.2%Language:Dockerfile 0.1%Language:Python 0.1%Language:Gherkin 0.0%