From 06d11da2b816c31fb989dce8bdd215e543d9ea84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Colin=20Axn=C3=A9r?= <25233464+colin-axner@users.noreply.github.com> Date: Wed, 15 Feb 2023 13:27:58 +0100 Subject: [PATCH] chore: apply changes from #3150 --- docs/migrations/v6-to-v7.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/docs/migrations/v6-to-v7.md b/docs/migrations/v6-to-v7.md index ab885f1cac0..cb2adbf46b7 100644 --- a/docs/migrations/v6-to-v7.md +++ b/docs/migrations/v6-to-v7.md @@ -302,14 +302,13 @@ Protobuf code generation, linting and formatting have been updated to leverage t ### App modules -The return value of `ProposalContents` have been updated. +`ProposalContents` has been removed as it is deprecated by the SDK and was non-functional. ```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 -} +- return nil +- } ``` Legacy APIs of the `AppModule` interface have been removed from ibc-go modules. For example, for