deps: bump cosmos-sdk v0.46 and evmos v12#209
Merged
LampardNguyen234 merged 18 commits intoastrafrom Aug 21, 2023
Merged
Conversation
|
|
||
| for _, val := range valSet.Validators { | ||
| pk, _ := cryptocodec.FromTmPubKeyInterface(val.PubKey) | ||
| pkAny, _ := codectypes.NewAnyWithValue(pk) |
Check warning
Code scanning / gosec
Returned error is not propagated up the stack.
| bondAmt := sdk.DefaultPowerReduction | ||
|
|
||
| for _, val := range valSet.Validators { | ||
| pk, _ := cryptocodec.FromTmPubKeyInterface(val.PubKey) |
Check warning
Code scanning / gosec
Returned error is not propagated up the stack.
| feemarketGenesis *feemarkettypes.GenesisState, | ||
| ) *Astra { | ||
| privVal := mock.NewPV() | ||
| pubKey, _ := privVal.GetPubKey() |
Check warning
Code scanning / gosec
Returned error is not propagated up the stack.
Collaborator
Author
|
Protobuf breakage is expected |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Features
--grpcclient option.--appendflag to thesign-batchCLI cmd to combine the messages and sign those txs which are created with--generate-only.sign-batchCLI can now read multiple transaction files.List()function.tx group draft-proposalcommand for generating group proposal JSONs (skeleton).tx gov draft-proposalcommand for generating proposal JSONs (skeleton).pruneCLI cmd to manually prune app store history versions based on the pruning options.tx auth multi-signas alias oftx auth multisignfor consistency withmulti-send.tx bank multi-sendcommand for bulk send of coins to multiple accounts.inspectcommand to thetendermintsub-command./cosmos/base/node/v1beta1/config, which provides operator configuration.app.toml. Seemax-recv-msg-sizeandmax-send-msg-sizerespectively.ABCIQueryin the Tendermint gRPC service, which proxies ABCIQueryrequests directly to the application.ScheduleUpgradefor chains to schedule an automated upgrade onBeginBlockwithout having to go though governance.MsgSoftwareUpgradeandMsgCancelUpgradehave been added to support v1beta2 msgs-based gov proposals.Improvements
v0.34.29with several minor bug fixes and low-severity security-fixes.rootmulti.Store.CacheMultiStoreWithVersionnow can handle loading archival states that don't persist any of the module stores the current state has.store/v2alpha1.rootmulti.Store.loadVersionhas validation to check if all the module stores' height is correct, it will error if any module store has incorrect height.iavl-lazy-loadingto enable lazy loading of iavl store, to improve start up time of archive nodes, add methodSetLazyLoadingtoCommitMultiStoreinterface.v1.Proposalmessage inv1beta1.Proposal.Content.Closemethod toBaseAppfor custom app to cleanup resource in graceful shutdown.CommitMultiStore.AppStateFnWithExtendedCbwith callback function to extend rawState andAppStateRandomizedFnWithStatewith extra genesisState argument which is the genesis state of the app.GasConfigconfiguration for applications.Bug Fixes
client.ValidatePromptAddress.LatestBlockResponse&BlockByHeightResponsetypes' fieldsdk_blockwas incorrectly castproposer_addressbytes to validator operator address, now to consensus address._characters in tx event queries, i.e.GetTxsEvent.State Machine Breaking
govv046.Migrate_V0466_To_V0467for migrating a chain already on v0.46 with versions <=v0.46.6 to the latest v0.46.7 correct state.x/govModuleAccountInvariantinvariant to ensure deposits are<=total module account balance instead of strictly equal.CancelUnbondingDelegationtransaction to
x/stakingmodule. Delegators can now cancel unbonding delegation entry and delegate back to validator.evmandfeemarkettypesMsgUpdateVestingFunderthat updates theFunderfield of a given clawback vesting accountAPI Breaking
RollbackToVersionto interfaceCommitMultiStoreand added methodCommitMultiStoretoApplicationinterface.NewRollbackCmdnow takes anappCreator types.AppCreator.Migrate_V046_6_To_V046_7function which shouldn't be used for chains which already migrated to 0.46.x/govapi tov1beta1directory.x/gov/typestox/gov/types/v1beta2.ListenCommittoABCIListenerListeningEnabledandAddListenermethods toCommitMultiStoreCacheWrapWithListenersfromCacheWrapandCacheWrapperinterfacesrootmulti.Store)ABCIListenersuch that any error from any method will always halt the app viapanicLatestVersiontoMultiStoreinterface, add methodSetQueryMultiStoreto baesapp to support alternativeMultiStoreimplementation for query service.MempoolFeeDecoratorhas been removed. Instead, theDeductFeeDecoratortakes a new argument of typeTxFeeChecker, to define custom fee models. Ifnilis passed to thisTxFeeCheckerargument, then it will default tocheckTxFeeWithValidatorMinGasPrices, which is the exact same behavior as the oldMempoolFeeDecorator(i.e. checking fees against validator's own min gas price).ExtensionOptionsDecoratortakes an argument of typeExtensionOptionChecker. For backwards-compatibility, you can passnil, which defaults to the old behavior of rejecting all tx extensions.Unsafe*interfaces from keyring package. Please use interface casting if you wish to access those unsafe functions.AccAddressFromHextoAccAddressFromHexUnsafe.IntandUinttypes have been moved to their own dedicated module,math. Aliases are kept in the SDK's roottypespackage, however, it is encouraged to utilize the newmathmodule. As a result, theInt#ToDecAPI has been removed.Coins#SubandCoins#SafeSubconsistent withCoins#Add.Info(serialized as amino) ->Record(serialized as proto)codec.Codecargument in:keyring.NewInMemorykeyring.NewSavePubKeytoSaveOfflineKey.NewMultiInfo,NewLedgerInfotoNewLegacyMultiInfo,newLegacyLedgerInforespectively. Move them intolegacy_info.go.NewOfflineInfotonewLegacyOfflineInfoand move it tomigration_test.go.*
keyring.Record, errorinSaveOfflineKey,SaveLedgerKey,SaveMultiSig,KeyandKeyByAddress.*
keyring.Recordinstead ofInfoinNewMnemonicandList.algoargument from :SaveOfflineKeykeyring.Recordinstead ofInfoas first argument in:MkConsKeyOutputMkValKeyOutputMkAccKeyOutputclientCtx.JSONCodecfromclient.Context.EncodingConfig.MarshalertoCodec.RESTHandlerFnargument is removed from thegov/NewProposalHandler.types/restpackage moved totestutil/rest.