cosmos-sdk/x/evidence/CHANGELOG.md
2024-12-19 07:32:49 +00:00

3.6 KiB

Changelog

[Unreleased]

Improvements

  • #21859 NewKeeper now takes in a consensus codec to avoid reliance on staking for decoding addresses.

v0.2.0-rc.1 - 2024-12-18

API Breaking Changes

  • #20238 NewAppModule now takes in a core/comet.Service an argument. BeginBlocker now takes in a core/comet.Service.
  • #20016 NewMsgSubmitEvidence now takes a string as argument instead of an AccAddress.
  • #19482 appmodule.Environment is passed to NewKeeper instead of individual services
  • #19627 NewAppModule now takes in a codec.Codec as its first argument
  • #21480 ConsensusKeeper is required to be passed to the keeper.

v0.1.1 - 2024-04-22

Improvements

  • (deps) #19810 Upgrade SDK version due to Prometheus breaking change.
  • (deps) #19810 Bump cosmossdk.io/store to v1.1.0.

v0.1.0 - 2023-11-07

Features

  • 14724 The x/evidence module is extracted to have a separate go.mod file which allows it be a standalone module.
  • (keeper) #15420 Move BeginBlocker to the keeper folder & make HandleEquivocation private

API Breaking Changes

  • #16008 NewKeeper now takes in a KVStoreService instead of KVStoreKey, most functions use context.Context instead of sdk.Context and IterateEvidence callback function now returns an error to stop iteration (errors.ErrStopIterating).
  • (keeper) #15825 Evidence constructor now requires an address.Codec (import "cosmossdk.io/core/address")
  • #16336 Use collections for state management:
    • Removed: keeper SetEvidence, GetEvidence, IterateEvidences, GetAllEvidences, MustMarshalEvidence, MustUnmarshalEvidence, MarshalEvidence, UnmarshalEvidence

Client Breaking Changes

  • #16625 The simd q evidence evidence command supports only querying an evidence by hash. For querying all evidences, use simd q evidence list instead.