Releases: provenance-io/provenance
Release v1.13.0-rc3
v1.13.0-rc3 - 2022-11-02
Improvements
- Updated Cosmos-SDK to v0.46.3-pio-4 (from v0.46.3-pio-1) PR 1211.
Bug Fixes
- Pay attention to the
iavl-disable-fastnode
config field/flag PR 1193.
Full Commit History
v1.13.0-rc2 - 2022-10-21
Features
Improvements
- Updated name restrictions documentation #808
- Updated Cosmos-SDK to v0.46.3-pio-1 (from v0.46.2-pio-2) PR 1173
Bug Fixes
- Bump wasmd to our v0.29.0-pio-1 (from v0.28.0-0.46sdk-notional) PR 1148.
This fixes an erroneous attempt to migrate the wasmd module. - Fixed outdated devnet docker configurations #1062
- Fix the Dragonberry security advisory PR 1173
Full Commit History
v1.13.0-rc1 - 2022-10-05
Improvements
- Ignore hardcoded tx gas limit when
consensus_params.block.max_gas
is set to -1 for local nodes - Bump Cosmos-SDK to v0.46.2-pio-1 (from v0.45.5-pio-1). #995
See https://github.com/provenance-io/cosmos-sdk/blob/v0.46.2-pio-1/RELEASE_NOTES.md for more info. - Refactor the
x/marker
module'sHolding
query to utilize thex/bank
module's newDenomOwners
query. #995
The only real difference between those two queries is that theHolding
query accepts either a denom or marker address. - Update the third-party protos and swagger files after the cosmos v0.46 bump. #1017
- Stop using the deprecated Wrap and Wrapf functions in the sdk/types/errors package in favor of those functions off specific errors, or else the cosmossdk.io/errors package. #1013
- For newly added reward's module, Voting incentive program, validator votes should count for higher shares, since they vote for all their delegations.
This feature allows the reward creator to introduce the multiplier to achieve the above. - Refactored the fee handling #1006:
- Created a
MinGasPricesDecorator
to replace theMempoolFeeDecorator
that was removed from the SDK. It makes sure the fee is greater than the validators min-gas fee. - Refactored the
MsgFeesDecorator
to only make sure there's enough fee provided. It no longer deducts/consumes anything and it no longer checks the payer's account. - Refactored the
ProvenanceDeductFeeDecorator
. It now makes sure the payer has enough in their account to cover the additional fees. It also now deducts/consumes thefloor gas price * gas
. - Added the
fee_payer
attribute to events of typetx
involving fees (i.e. the ones with attributesfee
,min_fee_charged
,additionalfee
and/orbaseFee
). - Moved the additional fees calculation logic into the msgfees keeper.
- Created a
- Update
fee
event with amount charged even on failure and emit SendCoin events fromDeductFeesDistributions
#1092 - Bump IBC to
5.0.0-pio-1
(fromv2.3.0
) to add a check for SendEnabled #1100 - #1067 This feature makes it so that you can start the chain with custom denoms for a chain, by passing in the required flags, also makes MsgFee not coupled only to the nhash denom.
For running the chain locallymake run DENOM=vspn MIN_FLOOR_PRICE=0
andmake clean localnet-start DENOM=vspn MIN_FLOOR_PRICE=0
make targets were also updated. - Use latest ProvWasm contract in wasm tests #731
- Update wasmd to 0.28 with 0.46 sdk version from notional-labs #1015
Bug Fixes
- Remove the workaround for the index-events configuration field (now fixed in the SDK). #995
Client Breaking
Release v1.12.2
v1.12.2 - 2022-11-01
Provenance v1.12.2 enables the ability to upgrade your IAVL state store to be faster and handle errors better. This upgrade is recommended and should be done at your convenience prior to the v1.13 chain upgrade.
The IAVL store upgrade is expected to take 30 to 90 minutes. During that time, your node will be down. There will be some log output (info level), but it is sparce and there may be long periods (25+ minutes) without any new log output. Once it has started, it's best to not interrupt the process.
It is highly recommended that you do one of these two prior to the v1.13 chain upgrade:
Either
- Upgrade your node's IAVL store:
- Stop your node.
- Upgrade
provenanced
to v1.12.2. - Run the command:
provenanced config set iavl-disable-fastnode false
. - Restart your node. Once the upgrade has finished, your node will automatically run as normal.
Or
- Explicitly define that you don't want to upgrade your node's IAVL store:
- Ensure that you have
provenanced
v1.12.1 (or higher), e.g. Run the command:provenanced version
. If you are on 1.12.0, upgrade to at least v1.12.1. - Run the command:
provenanced config set iavl-disable-fastnode true
.
- Ensure that you have
You can manually update your app.toml
file, but using the config set
command is the recommended method. The iavl-disable-fastnode
field was added in v1.12.1 and most likely does not yet exist in your app.toml
file. There are other new sections and fields too. Using the command will add them all (using defaults) as well as their descriptions. If you want to update your app.toml
manually, the iavl-disable-fastnode
entry should go below the index-events
entry and before the [telemetry]
section.
If you do nothing before the v1.13 chain upgrade, your node will most likely upgrade the IAVL store when v1.13 first runs. The v1.13 chain upgrade and migrations are expected to only take a minute. If your node is also upgrading the IAVL store at that time, it will take 30-90+ minutes.
Note: The command provenanced config get iavl-disable-fastnode
will report a value regardless of whether the field exists in app.toml
. As such, that command is insufficient for determining whether the value exists in the app.toml
file.
Improvements
- Bump Cosmos-SDK to v0.45.10-pio-4 (from v0.45.9-pio-1) PR 1202
- Allow the IAVL store to be upgraded PR 1193.
Full Commit History
Release v1.13.0-rc2
v1.13.0-rc2 - 2022-10-21
Features
Improvements
- Updated name restrictions documentation #808
- Updated Cosmos-SDK to v0.46.3-pio-1 (from v0.46.2-pio-2) PR 1173
Bug Fixes
- Bump wasmd to our v0.29.0-pio-1 (from v0.28.0-0.46sdk-notional) PR 1148.
This fixes an erroneous attempt to migrate the wasmd module. - Fixed outdated devnet docker configurations #1062
- Fix the Dragonberry security advisory PR 1173
Full Commit History
v1.13.0-rc1 - 2022-10-05
Improvements
- Ignore hardcoded tx gas limit when
consensus_params.block.max_gas
is set to -1 for local nodes - Bump Cosmos-SDK to v0.46.2-pio-1 (from v0.45.5-pio-1). #995
See https://github.com/provenance-io/cosmos-sdk/blob/v0.46.2-pio-1/RELEASE_NOTES.md for more info. - Refactor the
x/marker
module'sHolding
query to utilize thex/bank
module's newDenomOwners
query. #995
The only real difference between those two queries is that theHolding
query accepts either a denom or marker address. - Update the third-party protos and swagger files after the cosmos v0.46 bump. #1017
- Stop using the deprecated Wrap and Wrapf functions in the sdk/types/errors package in favor of those functions off specific errors, or else the cosmossdk.io/errors package. #1013
- For newly added reward's module, Voting incentive program, validator votes should count for higher shares, since they vote for all their delegations.
This feature allows the reward creator to introduce the multiplier to achieve the above. - Refactored the fee handling #1006:
- Created a
MinGasPricesDecorator
to replace theMempoolFeeDecorator
that was removed from the SDK. It makes sure the fee is greater than the validators min-gas fee. - Refactored the
MsgFeesDecorator
to only make sure there's enough fee provided. It no longer deducts/consumes anything and it no longer checks the payer's account. - Refactored the
ProvenanceDeductFeeDecorator
. It now makes sure the payer has enough in their account to cover the additional fees. It also now deducts/consumes thefloor gas price * gas
. - Added the
fee_payer
attribute to events of typetx
involving fees (i.e. the ones with attributesfee
,min_fee_charged
,additionalfee
and/orbaseFee
). - Moved the additional fees calculation logic into the msgfees keeper.
- Created a
- Update
fee
event with amount charged even on failure and emit SendCoin events fromDeductFeesDistributions
#1092 - Bump IBC to
5.0.0-pio-1
(fromv2.3.0
) to add a check for SendEnabled #1100 - #1067 This feature makes it so that you can start the chain with custom denoms for a chain, by passing in the required flags, also makes MsgFee not coupled only to the nhash denom.
For running the chain locallymake run DENOM=vspn MIN_FLOOR_PRICE=0
andmake clean localnet-start DENOM=vspn MIN_FLOOR_PRICE=0
make targets were also updated. - Use latest ProvWasm contract in wasm tests #731
- Update wasmd to 0.28 with 0.46 sdk version from notional-labs #1015
Bug Fixes
- Remove the workaround for the index-events configuration field (now fixed in the SDK). #995
Client Breaking
Release v1.12.1
Security Patch Release
This security patch release includes upgrades to Cosmos SDK v0.45.9
(including the Dragonberry patch) in order to harden the node against potential security threats. This binary may be used as a stand-in replacement of v1.12.0
as it does not contain state-breaking updates. Note that this upgrade includes multiple Cosmos SDK updates (v0.45.4
-> v0.45.9
) and has been tested thoroughly for regressions.
v1.12.1 - 2022-10-14
Improvements
- Bump Cosmos-SDK to v0.45.9-pio-1 (from v0.45.5-pio-1) PR 1159.
Bug Fixes
- Bump ics23/go to Cosmos-SDK's v0.8.0 (from confio's v0.7.0) PR 1159.
Cosmos v0.45.4 -> v0.45.9
ATTENTION:
This is a security release for the
Dragonberry security advisory.
All users should upgrade immediately.
Features
- #13435 Extend error context when a simulation fails.
- (upgrade) #12603 feat: Move AppModule.BeginBlock and AppModule.EndBlock to extension interfaces
- (query) #12253 Add
GenericFilteredPaginate
to thequery
package to improve UX.
Improvements
- #13369 Improve UX for
keyring.List
by returning all retrieved keys. - #13323 Ensure
withdraw_rewards
rewards are emitted from all actions that result in rewards being withdrawn. - #13321 Add flag to disable fast node migration and usage.
- (store) #13326 Implementation of ADR-038 file StreamingService, backport #8664.
- (store) #13540 Default fastnode migration to false to prevent suprises. Operators must enable it, unless they have it enabled already.
- #12981 Return proper error when parsing telemetry configuration.
- #12885 Amortize cost of processing cache KV store.
- #12970 Bump Tendermint to
v0.34.21
and IAVL tov0.19.1
. - #12693 Make sure the order of each node is consistent when emitting proto events.
- (simapp) #13107 Call
SetIAVLCacheSize
with the configured value in simapp. - (cli) #12742 Add the
prune
CLI cmd to manually prune app store history versions based on the pruning options. - (events) #12850 Add a new
fee_payer
attribute to thetx
event that is emitted from theDeductFeeDecorator
AnteHandler decorator. - (x/params) #12724 Add
GetParamSetIfExists
function to paramsSubspace
to prevent panics on breaking changes. - #12668 Add
authz_msg_index
event attribute to message events emitted when executing viaMsgExec
throughx/authz
. - #12697 Upgrade IAVL to v0.19.0 with fast index and error propagation. NOTE: first start will take a while to propagate into new model.
- Note: after upgrading to this version it may take up to 15 minutes to migrate from 0.17 to 0.19. This time is used to create the fast cache introduced into IAVL for performance
- #12784 Upgrade Tendermint to 0.34.20.
- (x/bank) #12674 Add convenience function
CreatePrefixedAccountStoreKey()
to construct key to access account's balance for a given denom. - (simapp) #12314 Increase
DefaultGenTxGas
from1000000
to10000000
- #12371 Update min required Golang version to 1.18.
- (x/feegrant) #11813 Fix pagination total count in
AllowancesByGranter
query. - (errors) #12002 Removed 'redacted' error message from defaultErrEncoder.
- (ante) #12017 Index ante events for failed tx (backport #12013).
- #12153 Add a new
NewSimulationManagerFromAppModules
constructor, to simplify simulation wiring. - #11886 Improve error messages
API Breaking Changes
- (cli) #13089 Fix rollback command don't actually delete multistore versions, added method
RollbackToVersion
to interfaceCommitMultiStore
and added methodCommitMultiStore
toApplication
interface.
Bug Fixes
- #... Implement dragonberry security patch.
- For applying the patch please refer to the RELEASE NOTES
- (store) #13459 Don't let state listener observe the uncommitted writes.
- #13046 Fix missing return statement in BaseApp.Query.
- (x/mint) #12384 Ensure
GoalBonded
must be positive when performingx/mint
parameter validation. - #12317 Rename
edit-validator
command's--moniker
flag to--new-moniker
- (x/upgrade) #12264 Fix
GetLastCompleteUpgrade
to properly return the latest upgrade. - (x/crisis) #12208 Fix progress index of crisis invariant assertion logs.
- #11796 Handle EOF error case in
readLineFromBuf
, which allows successful reading of passphrases from STDIN. - #11772 Limit types.Dec length to avoid overflow.
- #10947 Add
AllowancesByGranter
query to the feegrant module - #9639 Check store keys length before accessing them by making sure that
key
is of lengthm+1
(forkey[n:m]
) - #11983 (x/feegrant, x/authz) rename grants query commands to
grants-by-grantee
,grants-by-granter
cmds.
Release v1.13.0-rc1
v1.13.0-rc1 - 2022-10-05
Improvements
- Ignore hardcoded tx gas limit when
consensus_params.block.max_gas
is set to -1 for local nodes - Bump Cosmos-SDK to v0.46.2-pio-1 (from v0.45.5-pio-1). #995
See https://github.com/provenance-io/cosmos-sdk/blob/v0.46.2-pio-1/RELEASE_NOTES.md for more info. - Refactor the
x/marker
module'sHolding
query to utilize thex/bank
module's newDenomOwners
query. #995
The only real difference between those two queries is that theHolding
query accepts either a denom or marker address. - Update the third-party protos and swagger files after the cosmos v0.46 bump. #1017
- Stop using the deprecated Wrap and Wrapf functions in the sdk/types/errors package in favor of those functions off specific errors, or else the cosmossdk.io/errors package. #1013
- For newly added reward's module, Voting incentive program, validator votes should count for higher shares, since they vote for all their delegations.
This feature allows the reward creator to introduce the multiplier to achieve the above. - Refactored the fee handling #1006:
- Created a
MinGasPricesDecorator
to replace theMempoolFeeDecorator
that was removed from the SDK. It makes sure the fee is greater than the validators min-gas fee. - Refactored the
MsgFeesDecorator
to only make sure there's enough fee provided. It no longer deducts/consumes anything and it no longer checks the payer's account. - Refactored the
ProvenanceDeductFeeDecorator
. It now makes sure the payer has enough in their account to cover the additional fees. It also now deducts/consumes thefloor gas price * gas
. - Added the
fee_payer
attribute to events of typetx
involving fees (i.e. the ones with attributesfee
,min_fee_charged
,additionalfee
and/orbaseFee
). - Moved the additional fees calculation logic into the msgfees keeper.
- Created a
- Update
fee
event with amount charged even on failure and emit SendCoin events fromDeductFeesDistributions
#1092 - Bump IBC to
5.0.0-pio-1
(fromv2.3.0
) to add a check for SendEnabled #1100 - #1067 This feature makes it so that you can start the chain with custom denoms for a chain, by passing in the required flags, also makes MsgFee not coupled only to the nhash denom.
For running the chain locallymake run DENOM=vspn MIN_FLOOR_PRICE=0
andmake clean localnet-start DENOM=vspn MIN_FLOOR_PRICE=0
make targets were also updated. - Use latest ProvWasm contract in wasm tests #731
- Update wasmd to 0.28 with 0.46 sdk version from notional-labs #1015
Bug Fixes
- Remove the workaround for the index-events configuration field (now fixed in the SDK). #995
Client Breaking
Release v1.12.0
v1.12.0 - 2022-09-07
Improvements
- Update the swagger files (including third-party changes). #728
- Bump IBC to 2.3.0 and update third-party protos PR 868
- Update docker images from
buster
to bbullseye
#963 - Add documentation for
gRPCurl
todocs/grpcurl.md
#953 - Updated to go 1.18 #996
- Add docker files for local psql indexing #997
Features
- Bump Cosmos-SDK to
v0.45.4-pio-4
(fromv0.45.4-pio-2
) to utilize the newCountAuthorization
authz grant type. #807 - Update metadata module authz handling to properly call
Accept
and delete/update authorizations as they're used #905 - Read the
custom.toml
config file if it exists. This is read before the other config files, and isn't managed by theconfig
commands #989
Bug Fixes
- Support standard flags on msgfees params query cli command #936
- Fix the
MarkerTransferAuthorization
Accept function andTransferCoin
authz handling to prevent problems when other authorization types are used #903 - Bump Cosmos-SDK to
v0.45.5-pio-1
(fromv0.45.4-pio-4
) to remove buggy ADR 038 plugin system. #983 - Remove ADR 038 plugin system implementation due to
AppHash
error #983 - Fix fee charging to sweep remaining fees on successful transaction #1019
State Machine Breaking
Release v1.12.0-rc1
v1.12.0-rc1 - 2022-08-22
Improvements
- Update the swagger files (including third-party changes). #728
- Bump IBC to 2.3.0 and update third-party protos PR 868
- Update docker images from
buster
to bbullseye
#963 - Add documentation for
gRPCurl
todocs/grpcurl.md
#953 - Updated to go 1.18 #996
- Add docker files for local psql indexing #997
Features
- Bump Cosmos-SDK to
v0.45.4-pio-4
(fromv0.45.4-pio-2
) to utilize the newCountAuthorization
authz grant type. #807 - Update metadata module authz handling to properly call
Accept
and delete/update authorizations as they're used #905 - Read the
custom.toml
config file if it exists. This is read before the other config files, and isn't managed by theconfig
commands #989
Bug Fixes
- Support standard flags on msgfees params query cli command #936
- Fix the
MarkerTransferAuthorization
Accept function andTransferCoin
authz handling to prevent problems when other authorization types are used #903 - Bump Cosmos-SDK to
v0.45.5-pio-1
(fromv0.45.4-pio-4
) to remove buggy ADR 038 plugin system. #983 - Remove ADR 038 plugin system implementation due to
AppHash
error #983 - Fix fee charging to sweep remaining fees on successful transaction #1019
State Machine Breaking
Release v1.11.1
Release v1.11.1-rc4
Release v1.11.1-rc3
v1.11.1-rc3 - 2022-06-23
Bug Fixes
- Fix merge issue which caused regression of
mango-rc2
upgrade handler.