Skip to content

Commit 06d11da

Browse files
committed
chore: apply changes from #3150
1 parent 411afea commit 06d11da

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/migrations/v6-to-v7.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -302,14 +302,13 @@ Protobuf code generation, linting and formatting have been updated to leverage t
302302

303303
### App modules
304304

305-
The return value of `ProposalContents` have been updated.
305+
`ProposalContents` has been removed as it is deprecated by the SDK and was non-functional.
306306

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

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

0 commit comments

Comments
 (0)