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