Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Open sidebar
Tiger Ton
osmosis
Commits
5d3521b0
Commit
5d3521b0
authored
2 years ago
by
Dev Ojha
Browse files
Options
Download
Email Patches
Plain Diff
Try setting gov to be first
parent
aa727b5b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/modules.go
+1
-0
app/modules.go
with
1 addition
and
0 deletions
+1
-0
app/modules.go
+
1
-
0
View file @
5d3521b0
...
...
@@ -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
()
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets