Commit 5d3521b0 authored by Dev Ojha's avatar Dev Ojha
Browse files

Try setting gov to be first

parent aa727b5b
Showing with 1 addition and 0 deletions
+1 -0
......@@ -167,6 +167,7 @@ func orderBeginBlockers(allModuleNames []string) []string {
// OrderEndBlockers returns EndBlockers (crisis, govtypes, staking) with no relative order.
func OrderEndBlockers(allModuleNames []string) []string {
ord := partialord.NewPartialOrdering(allModuleNames)
ord.FirstElements(govtypes.ModuleName)
// only Osmosis modules with endblock code are: twap, crisis, govtypes, staking
// we don't care about the relative ordering between them.
return ord.TotalOrdering()
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment