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_Sync
Commits
f240c18d
Commit
f240c18d
authored
3 years ago
by
antstalepresh
Browse files
Options
Download
Email Patches
Plain Diff
update invariant loggings
parent
6f50fd0f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
x/lockup/keeper/invariants.go
+2
-2
x/lockup/keeper/invariants.go
with
2 additions
and
2 deletions
+2
-2
x/lockup/keeper/invariants.go
+
2
-
2
View file @
f240c18d
...
...
@@ -63,8 +63,8 @@ func AccumulationStoreInvariant(keeper Keeper) sdk.Invariant {
if
!
accumulation
.
Equal
(
lockupSum
)
{
return
sdk
.
FormatInvariant
(
types
.
ModuleName
,
"accumulation-store-invariant"
,
fmt
.
Sprintf
(
"
\t
accumulation store value does not fit actual lockup sum: %s != %s
\n
"
,
accumulation
.
String
(),
lockupSum
.
String
(),
fmt
.
Sprintf
(
"
\t
accumulation store value does not fit actual lockup sum: %s !=
%s, denom=%s duration=
%s
\n
"
,
accumulation
.
String
(),
lockupSum
.
String
(),
denom
,
duration
.
String
(),
)),
true
}
}
...
...
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