Skip to content

Commit

Permalink
chore: preemptively apply changes from #3149
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-axner committed Feb 15, 2023
1 parent 1a3d236 commit 411afea
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions docs/migrations/v6-to-v7.md
Original file line number Diff line number Diff line change
Expand Up @@ -302,20 +302,14 @@ Protobuf code generation, linting and formatting have been updated to leverage t

### App modules

The return values of `RandomizedParams` and `ProposalContents` have been updated.
The return value of `ProposalContents` have been updated.

```diff
// ProposalContents doesn't return any content functions for governance proposals.
- func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalContent {
+ func (AppModule) ProposalContents(_ module.SimulationState) []simtypes.WeightedProposalMsg {
return nil
}

// RandomizedParams creates randomized ibc-transfer param changes for the simulator.
- func (AppModule) RandomizedParams(r *rand.Rand) []simtypes.ParamChange {
+ func (AppModule) RandomizedParams(r *rand.Rand) []simtypes.LegacyParamChange {
return simulation.ParamChanges(r)
}
```

Legacy APIs of the `AppModule` interface have been removed from ibc-go modules. For example, for
Expand Down

0 comments on commit 411afea

Please sign in to comment.