chore: set correct eden version number (#16281)

This commit is contained in:
Julien Robert 2023-05-24 21:58:45 +02:00 committed by GitHub
parent 571c13ea84
commit cf1a573679
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
36 changed files with 2220 additions and 621 deletions

View File

@ -216,17 +216,11 @@ Ref: https://keepachangelog.com/en/1.0.0/
* (x/gov) [#16171](https://github.com/cosmos/cosmos-sdk/pull/16171) Use collections for proposal state management (part 1):
* Removed: keeper: `GetProposal`, `UnmarshalProposal`, `MarshalProposal`, `IterateProposal`, `GetProposal`, `GetProposalFiltered`, `GetProposals`, `GetProposalID`, `SetProposalID`
* Remove: errors unused errors
* (sims) [#16155](https://github.com/cosmos/cosmos-sdk/pull/16155)
* `simulation.NewOperationMsg` now marshals the operation msg as proto bytes instead of legacy amino JSON bytes.
* `simulation.NewOperationMsg` is now 2-arity instead of 3-arity with the obsolete argument `codec.ProtoCodec` removed.
* The field `OperationMsg.Msg` is now of type `[]byte` instead of `json.RawMessage`.
* (cli) [#16209](https://github.com/cosmos/cosmos-sdk/pull/16209) Add API `StartCmdWithOptions` to create customized start command.
* `simulation.NewOperationMsg` now marshals the operation msg as proto bytes instead of legacy amino JSON bytes.
* `simulation.NewOperationMsg` is now 2-arity instead of 3-arity with the obsolete argument `codec.ProtoCodec` removed.
* The field `OperationMsg.Msg` is now of type `[]byte` instead of `json.RawMessage`.
* (cli) [#16209](https://github.com/cosmos/cosmos-sdk/pull/16209) Add API `StartCmdWithOptions` to create customized start command.
* (x/distribution) [#16211](https://github.com/cosmos/cosmos-sdk/pull/16211) Use collections for params state management.
### Client Breaking Changes

View File

@ -2,6 +2,8 @@
This document outlines the process for releasing a new version of Cosmos SDK, which involves major release and patch releases as well as maintenance for the major release.
> **Note, the Cosmos SDK went directly from v0.47 to v0.50 and skipped the v0.48 and v0.49 versions.**
## Major Release Procedure
A _major release_ is an increment of the first number (eg: `v1.2``v2.0.0`) or the _point number_ (eg: `v1.1.0 → v1.2.0`, also called _point release_). Each major release opens a _stable release series_ and receives updates outlined in the [Major Release Maintenance](#major-release-maintenance)_section.
@ -79,8 +81,8 @@ Major Release series is maintained in compliance with the **Stable Release Polic
Only the following major release series have a stable release status:
* **0.46** is the previous major release and is supported until the release of **0.48.0**. A fairly strict **bugfix-only** rule applies to pull requests that are requested to be included into a not latest stable point-release.
* **0.47** is the last major release and is supported until the release of **0.49.0**.
* **0.46** is the previous major release and is supported until the release of **0.50.0**. A fairly strict **bugfix-only** rule applies to pull requests that are requested to be included into a not latest stable point-release.
* **0.47** is the last major release and is supported until the release of **0.51.0**.
The SDK team maintains the last two major releases, any other major release is considered to have reached end of life.
The SDK team will not backport any bug fixes to releases that are not supported.

View File

@ -32,7 +32,7 @@ Additionally, the SDK is starting its abstraction from CometBFT Go types thoroug
A new tool have been created for migrating configuration of the SDK. Use the following command to migrate your configuration:
```bash
simd config migrate v0.48
simd config migrate v0.50
```
More information about [confix](https://docs.cosmos.network/main/tooling/confix).
@ -245,7 +245,7 @@ Due to the import changes, this is a breaking change. Chains need to remove **en
* Run `make proto-gen`
Other than that, the migration should be seamless.
On the SDK side, clean-up of variables, functions to reflect the new name will only happen from v0.48 (part 2).
On the SDK side, clean-up of variables, functions to reflect the new name will only happen from v0.50 (part 2).
Note: It is possible that these steps must first be performed by your dependencies before you can perform them on your own codebase.
@ -402,7 +402,7 @@ In case a module does not follow the standard message path, (e.g. IBC), it is ad
The `params` module was deprecated since v0.46. The Cosmos SDK has migrated away from `x/params` for its own modules.
Cosmos SDK modules now store their parameters directly in its repective modules.
The `params` module will be removed in `v0.48`, as mentioned [in v0.46 release](https://github.com/cosmos/cosmos-sdk/blob/v0.46.1/UPGRADING.md#xparams). It is strongly encouraged to migrate away from `x/params` before `v0.48`.
The `params` module will be removed in `v0.50`, as mentioned [in v0.46 release](https://github.com/cosmos/cosmos-sdk/blob/v0.46.1/UPGRADING.md#xparams). It is strongly encouraged to migrate away from `x/params` before `v0.50`.
When performing a chain migration, the params table must be initizalied manually. This was done in the modules keepers in previous versions.
Have a look at `simapp.RegisterUpgradeHandlers()` for an example.

View File

@ -11387,7 +11387,7 @@ type QueryAllBalancesRequest struct {
Pagination *v1beta11.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
// resolve_denom is the flag to resolve the denom into a human-readable form from the metadata.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
ResolveDenom bool `protobuf:"varint,3,opt,name=resolve_denom,json=resolveDenom,proto3" json:"resolve_denom,omitempty"`
}

View File

@ -6960,7 +6960,7 @@ func (*MsgCommunityPoolSpendResponse) Descriptor() ([]byte, []int) {
// DepositValidatorRewardsPool defines the request structure to provide
// additional rewards to delegators from a specific validator.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
type MsgDepositValidatorRewardsPool struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -7015,7 +7015,7 @@ func (x *MsgDepositValidatorRewardsPool) GetAmount() []*v1beta1.Coin {
// MsgDepositValidatorRewardsPoolResponse defines the response to executing a
// MsgDepositValidatorRewardsPool message.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
type MsgDepositValidatorRewardsPoolResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache

View File

@ -59,7 +59,7 @@ type MsgClient interface {
// DepositValidatorRewardsPool defines a method to provide additional rewards
// to delegators to a specific validator.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
DepositValidatorRewardsPool(ctx context.Context, in *MsgDepositValidatorRewardsPool, opts ...grpc.CallOption) (*MsgDepositValidatorRewardsPoolResponse, error)
}
@ -165,7 +165,7 @@ type MsgServer interface {
// DepositValidatorRewardsPool defines a method to provide additional rewards
// to delegators to a specific validator.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
DepositValidatorRewardsPool(context.Context, *MsgDepositValidatorRewardsPool) (*MsgDepositValidatorRewardsPoolResponse, error)
mustEmbedUnimplementedMsgServer()
}

View File

@ -1263,7 +1263,7 @@ type GenesisState struct {
// There are no amendments, to go outside of scope, just fork.
// constitution is an immutable string in genesis for a chain builder to lay out their vision, ideas and ideals.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
Constitution string `protobuf:"bytes,9,opt,name=constitution,proto3" json:"constitution,omitempty"`
}

View File

@ -7134,7 +7134,7 @@ type Proposal struct {
Proposer string `protobuf:"bytes,13,opt,name=proposer,proto3" json:"proposer,omitempty"`
// expedited defines if the proposal is expedited
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
Expedited bool `protobuf:"varint,14,opt,name=expedited,proto3" json:"expedited,omitempty"`
}
@ -7560,20 +7560,20 @@ type Params struct {
MinInitialDepositRatio string `protobuf:"bytes,7,opt,name=min_initial_deposit_ratio,json=minInitialDepositRatio,proto3" json:"min_initial_deposit_ratio,omitempty"`
// The cancel ratio which will not be returned back to the depositors when a proposal is cancelled.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
ProposalCancelRatio string `protobuf:"bytes,8,opt,name=proposal_cancel_ratio,json=proposalCancelRatio,proto3" json:"proposal_cancel_ratio,omitempty"`
// The address which will receive (proposal_cancel_ratio * deposit) proposal deposits.
// If empty, the (proposal_cancel_ratio * deposit) proposal deposits will be burned.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
ProposalCancelDest string `protobuf:"bytes,9,opt,name=proposal_cancel_dest,json=proposalCancelDest,proto3" json:"proposal_cancel_dest,omitempty"`
// Duration of the voting period of an expedited proposal.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
ExpeditedVotingPeriod *durationpb.Duration `protobuf:"bytes,10,opt,name=expedited_voting_period,json=expeditedVotingPeriod,proto3" json:"expedited_voting_period,omitempty"`
// Minimum proportion of Yes votes for proposal to pass. Default value: 0.67.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
ExpeditedThreshold string `protobuf:"bytes,11,opt,name=expedited_threshold,json=expeditedThreshold,proto3" json:"expedited_threshold,omitempty"`
// Minimum expedited deposit for a proposal to enter voting period.
ExpeditedMinDeposit []*v1beta1.Coin `protobuf:"bytes,12,rep,name=expedited_min_deposit,json=expeditedMinDeposit,proto3" json:"expedited_min_deposit,omitempty"`

View File

@ -7038,7 +7038,7 @@ type MsgSubmitProposal struct {
Summary string `protobuf:"bytes,6,opt,name=summary,proto3" json:"summary,omitempty"`
// expedided defines if the proposal is expedited or not
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
Expedited bool `protobuf:"varint,7,opt,name=expedited,proto3" json:"expedited,omitempty"`
}
@ -7568,7 +7568,7 @@ func (*MsgUpdateParamsResponse) Descriptor() ([]byte, []int) {
// MsgCancelProposal is the Msg/CancelProposal request type.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
type MsgCancelProposal struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
@ -7615,7 +7615,7 @@ func (x *MsgCancelProposal) GetProposer() string {
// MsgCancelProposalResponse defines the response structure for executing a
// MsgCancelProposal message.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
type MsgCancelProposalResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache

View File

@ -52,7 +52,7 @@ type MsgClient interface {
UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
// CancelProposal defines a method to cancel governance proposal
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
CancelProposal(ctx context.Context, in *MsgCancelProposal, opts ...grpc.CallOption) (*MsgCancelProposalResponse, error)
}
@ -149,7 +149,7 @@ type MsgServer interface {
UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
// CancelProposal defines a method to cancel governance proposal
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
CancelProposal(context.Context, *MsgCancelProposal) (*MsgCancelProposalResponse, error)
mustEmbedUnimplementedMsgServer()
}

View File

@ -7562,7 +7562,7 @@ type MsgUndelegateResponse struct {
CompletionTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=completion_time,json=completionTime,proto3" json:"completion_time,omitempty"`
// amount returns the amount of undelegated coins
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
Amount *v1beta1.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount,omitempty"`
}

View File

@ -9166,7 +9166,7 @@ type GetTxsEventRequest struct {
// query defines the transaction event query that is proxied to Tendermint's
// TxSearch RPC method. The query must be valid.
//
// Since Cosmos SDK 0.48
// Since cosmos-sdk 0.50
Query string `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"`
}

File diff suppressed because it is too large Load Diff

View File

@ -314,7 +314,7 @@ Updates in the 1st category include changes of the `Screen` struct or its corres
Updates in the 2nd category include changes to any of the value renderers or to the transaction envelope. For example, the ordering of fields in the envelope can be swapped, or the timestamp formatting can be modified. Since SIGN_MODE_TEXTUAL sends `Screen`s to the hardware device, this type of change do not need a hardware wallet application update. They are however state-machine-breaking, and must be documented as such. They require the coordination of SDK developers with client-side developers (e.g. CosmJS), so that the updates are released on both sides close to each other in time.
We define a spec version, which is an integer that must be incremented on each update of either category. This spec version will be exposed by the SDK's implementation, and can be communicated to clients. For example, SDK v0.48 might use the spec version 1, and SDK v0.49 might use 2; thanks to this versioning, clients can know how to craft SIGN_MODE_TEXTUAL transactions based on the target SDK version.
We define a spec version, which is an integer that must be incremented on each update of either category. This spec version will be exposed by the SDK's implementation, and can be communicated to clients. For example, SDK v0.50 might use the spec version 1, and SDK v0.51 might use 2; thanks to this versioning, clients can know how to craft SIGN_MODE_TEXTUAL transactions based on the target SDK version.
The current spec version is defined in the "Status" section, on the top of this document. It is initialized to `0` to allow flexibility in choosing how to define future versions, as it would allow adding a field either in the SignDoc Go struct or in Protobuf in a backwards-compatible way.
@ -328,9 +328,10 @@ See [annex 2](./adr-050-sign-mode-textual-annex2.md).
2. A transaction with a bit of everything: [see transaction](https://github.com/cosmos/cosmos-sdk/blob/094abcd393379acbbd043996024d66cd65246fb1/tx/textual/internal/testdata/e2e.json#L71-L270).
The examples below are stored in a JSON file with the following fields:
- `proto`: the representation of the transaction in ProtoJSON,
- `screens`: the transaction rendered into SIGN_MODE_TEXTUAL screens,
- `cbor`: the sign bytes of the transaction, which is the CBOR encoding of the screens.
* `proto`: the representation of the transaction in ProtoJSON,
* `screens`: the transaction rendered into SIGN_MODE_TEXTUAL screens,
* `cbor`: the sign bytes of the transaction, which is the CBOR encoding of the screens.
## Consequences

View File

@ -146,7 +146,7 @@ message QueryAllBalancesRequest {
// resolve_denom is the flag to resolve the denom into a human-readable form from the metadata.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
bool resolve_denom = 3;
}

View File

@ -48,7 +48,7 @@ service Msg {
// DepositValidatorRewardsPool defines a method to provide additional rewards
// to delegators to a specific validator.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
rpc DepositValidatorRewardsPool(MsgDepositValidatorRewardsPool) returns (MsgDepositValidatorRewardsPoolResponse);
}
@ -190,7 +190,7 @@ message MsgCommunityPoolSpendResponse {}
// DepositValidatorRewardsPool defines the request structure to provide
// additional rewards to delegators from a specific validator.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
message MsgDepositValidatorRewardsPool {
option (amino.name) = "cosmos-sdk/distr/MsgDepositValRewards";
option (cosmos.msg.v1.signer) = "depositor";
@ -211,5 +211,5 @@ message MsgDepositValidatorRewardsPool {
// MsgDepositValidatorRewardsPoolResponse defines the response to executing a
// MsgDepositValidatorRewardsPool message.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
message MsgDepositValidatorRewardsPoolResponse {}

View File

@ -35,6 +35,6 @@ message GenesisState {
// There are no amendments, to go outside of scope, just fork.
// constitution is an immutable string in genesis for a chain builder to lay out their vision, ideas and ideals.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
string constitution = 9;
}

View File

@ -100,7 +100,7 @@ message Proposal {
// expedited defines if the proposal is expedited
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
bool expedited = 14;
}
@ -224,23 +224,23 @@ message Params {
// The cancel ratio which will not be returned back to the depositors when a proposal is cancelled.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
string proposal_cancel_ratio = 8 [(cosmos_proto.scalar) = "cosmos.Dec"];
// The address which will receive (proposal_cancel_ratio * deposit) proposal deposits.
// If empty, the (proposal_cancel_ratio * deposit) proposal deposits will be burned.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
string proposal_cancel_dest = 9 [(cosmos_proto.scalar) = "cosmos.AddressString"];
// Duration of the voting period of an expedited proposal.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
google.protobuf.Duration expedited_voting_period = 10 [(gogoproto.stdduration) = true];
// Minimum proportion of Yes votes for proposal to pass. Default value: 0.67.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
string expedited_threshold = 11 [(cosmos_proto.scalar) = "cosmos.Dec"];
// Minimum expedited deposit for a proposal to enter voting period.

View File

@ -41,7 +41,7 @@ service Msg {
// CancelProposal defines a method to cancel governance proposal
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
rpc CancelProposal(MsgCancelProposal) returns (MsgCancelProposalResponse);
}
@ -75,7 +75,7 @@ message MsgSubmitProposal {
// expedided defines if the proposal is expedited or not
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
bool expedited = 7;
}
@ -184,7 +184,7 @@ message MsgUpdateParamsResponse {}
// MsgCancelProposal is the Msg/CancelProposal request type.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
message MsgCancelProposal {
option (cosmos.msg.v1.signer) = "proposer";
@ -195,7 +195,7 @@ message MsgCancelProposal {
// MsgCancelProposalResponse defines the response structure for executing a
// MsgCancelProposal message.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
message MsgCancelProposalResponse {
uint64 proposal_id = 1 [(gogoproto.jsontag) = "proposal_id"];
// canceled_time is the time when proposal is canceled.

View File

@ -158,7 +158,7 @@ message MsgUndelegateResponse {
// amount returns the amount of undelegated coins
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
cosmos.base.v1beta1.Coin amount = 2 [(gogoproto.nullable) = false, (amino.dont_omitempty) = true];
}

View File

@ -104,7 +104,7 @@ message GetTxsEventRequest {
// query defines the transaction event query that is proxied to Tendermint's
// TxSearch RPC method. The query must be valid.
//
// Since Cosmos SDK 0.48
// Since cosmos-sdk 0.50
string query = 6;
}

View File

@ -20,7 +20,7 @@ require (
github.com/cometbft/cometbft v0.38.0-alpha.2
github.com/cosmos/cosmos-db v1.0.0-rc.1
// this version is not used as it is always replaced by the latest Cosmos SDK version
github.com/cosmos/cosmos-sdk v0.48.0
github.com/cosmos/cosmos-sdk v0.50.0
github.com/cosmos/gogoproto v1.4.10
github.com/golang/mock v1.6.0
github.com/spf13/cast v1.5.1

View File

@ -9,12 +9,12 @@ import (
)
// UpgradeName defines the on-chain upgrade name for the sample SimApp upgrade
// from v047 to v048.
// from v047 to v050.
//
// NOTE: This upgrade defines a reference implementation of what an upgrade
// could look like when an application is migrating from Cosmos SDK version
// v0.47.x to v0.48.x.
const UpgradeName = "v047-to-v048"
// v0.47.x to v0.50.x.
const UpgradeName = "v047-to-v050"
func (app SimApp) RegisterUpgradeHandlers() {
app.UpgradeKeeper.SetUpgradeHandler(

View File

@ -20,7 +20,7 @@ require (
github.com/cosmos/cosmos-db v1.0.0-rc.1
github.com/cosmos/cosmos-proto v1.0.0-beta.3
// this version is not used as it is always replaced by the latest Cosmos SDK version
github.com/cosmos/cosmos-sdk v0.48.0
github.com/cosmos/cosmos-sdk v0.50.0
github.com/cosmos/gogoproto v1.4.10
github.com/golang/mock v1.6.0
github.com/google/uuid v1.3.0 // indirect

View File

@ -23,7 +23,7 @@ var Migrations = MigrationMap{
"v0.45": NoPlan, // Confix supports only the current supported SDK version. So we do not support v0.44 -> v0.45.
"v0.46": PlanBuilder,
"v0.47": PlanBuilder,
"v0.48": PlanBuilder,
"v0.50": PlanBuilder,
// "v0.xx.x": PlanBuilder, // add specific migration in case of configuration changes in minor versions
}

View File

@ -355,7 +355,7 @@ Open a new terminal window and submit an upgrade proposal along with a deposit a
./build/simd tx gov vote 1 yes --from validator --yes
```
**>= v0.48+**:
**>= v0.50+**:
```shell
./build/simd tx upgrade software-upgrade test1 --title upgrade --summary upgrade --upgrade-height 200 --from validator --yes

View File

@ -124,7 +124,7 @@ type GetTxsEventRequest struct {
// query defines the transaction event query that is proxied to Tendermint's
// TxSearch RPC method. The query must be valid.
//
// Since Cosmos SDK 0.48
// Since cosmos-sdk 0.50
Query string `protobuf:"bytes,6,opt,name=query,proto3" json:"query,omitempty"`
}

View File

@ -31,7 +31,7 @@ To learn more about the process of building modules, visit the [building modules
The IBC module for the SDK is maintained by the IBC Go team in its [own repository](https://github.com/cosmos/ibc-go).
Additionally, the [capability module](https://github.com/cosmos/ibc-go/tree/fdd664698d79864f1e00e147f9879e58497b5ef1/modules/capability) is from v0.48+ maintained by the IBC Go team in its [own repository](https://github.com/cosmos/ibc-go/tree/fdd664698d79864f1e00e147f9879e58497b5ef1/modules/capability).
Additionally, the [capability module](https://github.com/cosmos/ibc-go/tree/fdd664698d79864f1e00e147f9879e58497b5ef1/modules/capability) is from v0.50+ maintained by the IBC Go team in its [own repository](https://github.com/cosmos/ibc-go/tree/fdd664698d79864f1e00e147f9879e58497b5ef1/modules/capability).
## CosmWasm

View File

@ -129,7 +129,7 @@ type QueryAllBalancesRequest struct {
Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
// resolve_denom is the flag to resolve the denom into a human-readable form from the metadata.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
ResolveDenom bool `protobuf:"varint,3,opt,name=resolve_denom,json=resolveDenom,proto3" json:"resolve_denom,omitempty"`
}

View File

@ -571,7 +571,7 @@ var xxx_messageInfo_MsgCommunityPoolSpendResponse proto.InternalMessageInfo
// DepositValidatorRewardsPool defines the request structure to provide
// additional rewards to delegators from a specific validator.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
type MsgDepositValidatorRewardsPool struct {
Depositor string `protobuf:"bytes,1,opt,name=depositor,proto3" json:"depositor,omitempty"`
ValidatorAddress string `protobuf:"bytes,2,opt,name=validator_address,json=validatorAddress,proto3" json:"validator_address,omitempty"`
@ -614,7 +614,7 @@ var xxx_messageInfo_MsgDepositValidatorRewardsPool proto.InternalMessageInfo
// MsgDepositValidatorRewardsPoolResponse defines the response to executing a
// MsgDepositValidatorRewardsPool message.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
type MsgDepositValidatorRewardsPoolResponse struct {
}
@ -1001,7 +1001,7 @@ type MsgClient interface {
// DepositValidatorRewardsPool defines a method to provide additional rewards
// to delegators to a specific validator.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
DepositValidatorRewardsPool(ctx context.Context, in *MsgDepositValidatorRewardsPool, opts ...grpc.CallOption) (*MsgDepositValidatorRewardsPoolResponse, error)
}
@ -1105,7 +1105,7 @@ type MsgServer interface {
// DepositValidatorRewardsPool defines a method to provide additional rewards
// to delegators to a specific validator.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
DepositValidatorRewardsPool(context.Context, *MsgDepositValidatorRewardsPool) (*MsgDepositValidatorRewardsPoolResponse, error)
}

View File

@ -42,7 +42,7 @@ func TestValidateGenesis(t *testing.T) {
true,
},
{
"valid 0.48 genesis file",
"valid 0.50 genesis file",
func() string {
bz, err := os.ReadFile("../../types/testdata/app_genesis.json")
require.NoError(t, err)

View File

@ -9,7 +9,7 @@ import (
govv1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
)
// MigrateStore performs in-place store migrations from v4 (v0.47) to v5 (v0.48). The
// MigrateStore performs in-place store migrations from v4 (v0.47) to v5 (v0.50). The
// migration includes:
//
// Addition of the new proposal expedited parameters that are set to 0 by default.

View File

@ -50,7 +50,7 @@ type GenesisState struct {
// There are no amendments, to go outside of scope, just fork.
// constitution is an immutable string in genesis for a chain builder to lay out their vision, ideas and ideals.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
Constitution string `protobuf:"bytes,9,opt,name=constitution,proto3" json:"constitution,omitempty"`
}

View File

@ -280,7 +280,7 @@ type Proposal struct {
Proposer string `protobuf:"bytes,13,opt,name=proposer,proto3" json:"proposer,omitempty"`
// expedited defines if the proposal is expedited
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
Expedited bool `protobuf:"varint,14,opt,name=expedited,proto3" json:"expedited,omitempty"`
}
@ -760,20 +760,20 @@ type Params struct {
MinInitialDepositRatio string `protobuf:"bytes,7,opt,name=min_initial_deposit_ratio,json=minInitialDepositRatio,proto3" json:"min_initial_deposit_ratio,omitempty"`
// The cancel ratio which will not be returned back to the depositors when a proposal is cancelled.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
ProposalCancelRatio string `protobuf:"bytes,8,opt,name=proposal_cancel_ratio,json=proposalCancelRatio,proto3" json:"proposal_cancel_ratio,omitempty"`
// The address which will receive (proposal_cancel_ratio * deposit) proposal deposits.
// If empty, the (proposal_cancel_ratio * deposit) proposal deposits will be burned.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
ProposalCancelDest string `protobuf:"bytes,9,opt,name=proposal_cancel_dest,json=proposalCancelDest,proto3" json:"proposal_cancel_dest,omitempty"`
// Duration of the voting period of an expedited proposal.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
ExpeditedVotingPeriod *time.Duration `protobuf:"bytes,10,opt,name=expedited_voting_period,json=expeditedVotingPeriod,proto3,stdduration" json:"expedited_voting_period,omitempty"`
// Minimum proportion of Yes votes for proposal to pass. Default value: 0.67.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
ExpeditedThreshold string `protobuf:"bytes,11,opt,name=expedited_threshold,json=expeditedThreshold,proto3" json:"expedited_threshold,omitempty"`
// Minimum expedited deposit for a proposal to enter voting period.
ExpeditedMinDeposit []types.Coin `protobuf:"bytes,12,rep,name=expedited_min_deposit,json=expeditedMinDeposit,proto3" json:"expedited_min_deposit"`

View File

@ -58,7 +58,7 @@ type MsgSubmitProposal struct {
Summary string `protobuf:"bytes,6,opt,name=summary,proto3" json:"summary,omitempty"`
// expedided defines if the proposal is expedited or not
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
Expedited bool `protobuf:"varint,7,opt,name=expedited,proto3" json:"expedited,omitempty"`
}
@ -705,7 +705,7 @@ var xxx_messageInfo_MsgUpdateParamsResponse proto.InternalMessageInfo
// MsgCancelProposal is the Msg/CancelProposal request type.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
type MsgCancelProposal struct {
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id"`
Proposer string `protobuf:"bytes,2,opt,name=proposer,proto3" json:"proposer,omitempty"`
@ -761,7 +761,7 @@ func (m *MsgCancelProposal) GetProposer() string {
// MsgCancelProposalResponse defines the response structure for executing a
// MsgCancelProposal message.
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
type MsgCancelProposalResponse struct {
ProposalId uint64 `protobuf:"varint,1,opt,name=proposal_id,json=proposalId,proto3" json:"proposal_id"`
// canceled_time is the time when proposal is canceled.
@ -943,7 +943,7 @@ type MsgClient interface {
UpdateParams(ctx context.Context, in *MsgUpdateParams, opts ...grpc.CallOption) (*MsgUpdateParamsResponse, error)
// CancelProposal defines a method to cancel governance proposal
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
CancelProposal(ctx context.Context, in *MsgCancelProposal, opts ...grpc.CallOption) (*MsgCancelProposalResponse, error)
}
@ -1038,7 +1038,7 @@ type MsgServer interface {
UpdateParams(context.Context, *MsgUpdateParams) (*MsgUpdateParamsResponse, error)
// CancelProposal defines a method to cancel governance proposal
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
CancelProposal(context.Context, *MsgCancelProposal) (*MsgCancelProposalResponse, error)
}

View File

@ -415,7 +415,7 @@ type MsgUndelegateResponse struct {
CompletionTime time.Time `protobuf:"bytes,1,opt,name=completion_time,json=completionTime,proto3,stdtime" json:"completion_time"`
// amount returns the amount of undelegated coins
//
// Since: cosmos-sdk 0.48
// Since: cosmos-sdk 0.50
Amount types1.Coin `protobuf:"bytes,2,opt,name=amount,proto3" json:"amount"`
}