cosmos-sdk/x/auth/CHANGELOG.md
mergify[bot] 8f171a1c54
refactor(x/auth): audit x/auth changes (backport #21146) (#21302)
Co-authored-by: son trinh <trinhleson2000@gmail.com>
2024-08-15 02:46:34 +07:00

4.6 KiB

Changelog

[Unreleased]

Features

  • #18641 Support the ability to broadcast unordered transactions per ADR-070. See UPGRADING.md for more details on integration.
  • #18281 Support broadcasting multiple transactions.
  • (vesting) #17810 Add the ability to specify a start time for continuous vesting accounts.

Improvements

  • #19967 Refactor ante handlers to use transaction.Service for getting exec mode.
  • #18780 Move sig verification out of the for loop, into the authenticate method.
  • #19188 Remove creation of BaseAccount when sending a message to an account that does not exist.
    • When signing a transaction with an account that has not been created accountnumber 0 must be used
  • #19363, #19370 RegisterMigrations, InitGenesis and ExportGenesis return error instead of panic.

CLI Breaking Changes

  • (vesting) #19539 Remove vesting CLI.

API Breaking Changes

  • #19447 Address and validator address codecs are now arguments of NewTxConfig. NewDefaultSigningOptions has been replaced with NewSigningOptions which takes address and validator address codecs as arguments.
  • #17985 Remove StdTxConfig
  • #19161 Remove simulate from SetGasMeter
  • #19363 Remove IterateAccounts and GetAllAccounts methods from the AccountKeeper interface and Keeper.
  • #19290 Pass appmodule.Environment to NewKeeper instead of passing individual services.
  • #19535 Remove vesting account creation when the chain is running. The accounts module is required for creating #vesting accounts on a running chain.
  • #19600 add a consensus query method to the consensus module in order for modules to query consensus for the consensus params.

Consensus Breaking Changes

  • #18817 SigVerification, GasConsumption, IncreaseSequence ante decorators have all been joined into one SigVerification decorator. Gas consumption during TX validation flow has reduced.
  • #19093 SetPubKeyDecorator was merged into SigVerification, gas consumption is almost halved for a simple tx.

Bug Fixes

  • #19148 Checks the consumed gas for verifying a multisig pubKey signature during simulation.
  • #19239 Sets from flag in multi-sign command to avoid no key name provided error.
  • #19099 verifyIsOnCurve now checks if we are simulating to avoid malformed public key error.
  • #20323 Ignore undecodable txs in GetBlocksWithTxs.
  • #20963 UseGrantedFees used to return error with raw addresses. Now it uses addresses in string format.

Deprecated

  • (x/auth) #20531 Deprecate auth keeper NextAccountNumber, use keeper.AccountsModKeeper.NextAccountNumber instead.