feat(x/gov): add custom fuction to calculate vote results and vp (#19592)

This commit is contained in:
Julien Robert
2024-03-01 17:24:16 +00:00
committed by GitHub
parent 7155a1cd52
commit 69f03cd17f
14 changed files with 73 additions and 47 deletions
+1 -1
View File
@@ -375,7 +375,7 @@ func NewSimApp(
// by granting the governance module the right to execute the message.
// See: https://docs.cosmos.network/main/modules/gov#proposal-messages
govRouter := govv1beta1.NewRouter()
govConfig := govtypes.DefaultConfig()
govConfig := govkeeper.DefaultConfig()
/*
Example of setting gov params:
govConfig.MaxMetadataLen = 10000