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

4.0 KiB

Changelog

[Unreleased]

Improvements

  • #21651 NewKeeper receives an address.Codec instead of an x/auth keeper.

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

Features

  • #14649 The x/feegrant module is extracted to have a separate go.mod file which allows it to be a standalone module.

API Breaking Changes

  • #21377 Simulation API breaking changes:
    • SimulateMsgGrantAllowance and SimulateMsgRevokeAllowance no longer require a ProtoCodec parameter.
    • WeightedOperations functions no longer require ProtoCodec, JSONCodec, or address.Codec parameters.
  • #20529 Accept on the FeeAllowanceI interface now expects the feegrant environment in the context.Context.
  • #19450 Migrate module to use appmodule.Environment instead of passing individual services.

Consensus Breaking Changes

  • #19188 Remove creation of BaseAccount when sending a message to an account that does not exist.

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.

Bug Fixes

v0.1.0 - 2023-11-07

Features

  • #18047 Added a limit of 200 grants pruned per EndBlock and the method PruneAllowances that prunes 75 expired grants on every run.

Improvements

  • #18767 Ensure we only execute revokeAllowance if there is no error is the grant is to be removed.

API Breaking Changes

  • #15606 NewKeeper now takes a KVStoreService instead of a StoreKey and methods in the Keeper now take a context.Context instead of a sdk.Context.
  • #15347 Remove global bech32 usage in keeper.
  • #15347 ValidateBasic is treated as a no op now with with acceptance of RFC001
  • #17869 NewGrant, NewMsgGrantAllowance & NewMsgRevokeAllowance takes strings instead of sdk.AccAddress
  • #16535 Use collections for FeeAllowance, FeeAllowanceQueue.
  • #18815 Add the implementation of the UpdatePeriodReset interface to update the value of the PeriodReset field.