github cosmos/cosmos-sdk v0.40.0-rc2

latest releases: core/v1.0.0-alpha.5, x/tx/v1.0.0-alpha.1, v0.52.0-beta.2...
pre-release4 years ago

Client Breaking

  • (x/upgrade) #7697 Rename flag name "--time" to "--upgrade-time", "--info" to "--upgrade-info", to keep it consistent with help message.

API Breaking

  • (x/staking/types) #7447 Remove bech32 PubKey support:
    • ValidatorI interface update. GetConsPubKey renamed to TmConsPubKey (consensus public key must be a tendermint key). TmConsPubKey, GetConsAddr methods return error.
    • Validator update. Methods changed in ValidatorI (as described above) and ToTmValidator return error.
    • Validator.ConsensusPubkey type changed from string to codectypes.Any.
    • MsgCreateValidator.Pubkey type changed from string to codectypes.Any.
  • Deprecating and renaming MakeEncodingConfig to MakeTestEncodingConfig (both in simapp and simapp/params packages).
  • (tx) #7688 The gRPC simulate service method has been moved from cosmos.base.v1beta1.simulate to cosmos.tx.v1beta1, as a method in the Tx service.
  • #7764 Added module initialization options:
    • server/types.AppExporter requires extra argument: AppOptions.
    • server.AddCommands requires extra argument: addStartFlags types.ModuleInitFlags
    • x/crisis.NewAppModule has a new attribute: skipGenesisInvariants. PR

Features

  • (tx) #7688 Add a new Tx gRPC service with methods Simulate and GetTx (by hash).
  • Modules
    • x/crisis has a new function: AddModuleInitFlags, which will register optional crisis module flags for the start command.

Bug Fixes

  • (client) #7699 Fix panic in context when setting invalid nodeURI. WithNodeURI does not set the Client in the context.
  • (x/gov) #7641 Fix tally calculation precision error.

Improvements

  • (rest) #7649 Return an unsigned tx in legacy GET /tx endpoint when signature conversion fails
  • (cli) #7764 Update x/banking and x/crisis InitChain to improve node startup time

Don't miss a new cosmos-sdk release

NewReleases is sending notifications on new releases.