Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

!feat: Add invartiants #101

Merged
merged 41 commits into from
Jan 25, 2024
Merged
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
5246527
add invariants escrow address
GNaD13 Jan 13, 2024
7dd5797
add invariants lock denom
GNaD13 Jan 14, 2024
9ad8504
add burn slash coin
GNaD13 Jan 15, 2024
fe20826
lint
GNaD13 Jan 15, 2024
380b684
lint
GNaD13 Jan 15, 2024
6b4b4e6
remove unused code and change var name
GNaD13 Jan 17, 2024
94b6b95
nit
GNaD13 Jan 17, 2024
3f81150
nit
GNaD13 Jan 17, 2024
200a1b0
nit
GNaD13 Jan 18, 2024
6532533
Merge remote-tracking branch 'origin/main' into add-invartiants
GNaD13 Jan 19, 2024
eb9ba22
add setup test for invariants
GNaD13 Jan 19, 2024
e4e9194
nit
GNaD13 Jan 19, 2024
45f6ffd
nit
GNaD13 Jan 19, 2024
7b13a6c
test
GNaD13 Jan 19, 2024
4191994
nit
GNaD13 Jan 19, 2024
0b4798d
nit
GNaD13 Jan 19, 2024
2fadd91
nit
GNaD13 Jan 19, 2024
dd7c48b
add lock to log
GNaD13 Jan 19, 2024
c5dc54b
nit
GNaD13 Jan 19, 2024
6642f43
nit
GNaD13 Jan 19, 2024
7db6a36
nit
GNaD13 Jan 19, 2024
fbf0df5
nit
GNaD13 Jan 19, 2024
c42897e
nit
GNaD13 Jan 19, 2024
6a23550
nit
GNaD13 Jan 19, 2024
7dfaa18
nit
GNaD13 Jan 19, 2024
6a8d3cc
add more test case
GNaD13 Jan 19, 2024
e628b52
add fund
GNaD13 Jan 19, 2024
fd0f2a8
add app
GNaD13 Jan 19, 2024
05b1917
add more test case
GNaD13 Jan 19, 2024
107bad4
nit
GNaD13 Jan 19, 2024
6bdccfe
nit
GNaD13 Jan 19, 2024
6a04ad2
add more case
GNaD13 Jan 19, 2024
84960d9
begin redelegate
GNaD13 Jan 19, 2024
feac933
undelegate
GNaD13 Jan 19, 2024
4dc3a19
lint
GNaD13 Jan 19, 2024
6fd72d9
Merge remote-tracking branch 'origin/main' into add-invartiants
GNaD13 Jan 23, 2024
de7689b
nit
GNaD13 Jan 23, 2024
9d308ae
Merge remote-tracking branch 'origin/main' into add-invartiants
GNaD13 Jan 25, 2024
a9122dc
lint
GNaD13 Jan 25, 2024
430b7f5
nit
GNaD13 Jan 25, 2024
44c4715
change to to coin
GNaD13 Jan 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion x/multi-staking/keeper/invariants.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func ValidatorLockDenomInvariants(k Keeper) sdk.Invariant {
if valMsDenom := k.GetValidatorMultiStakingCoin(ctx, sdk.ValAddress(valAddr)); valMsDenom != lock.LockedCoin.Denom {
broken = true
msg += fmt.Sprintf("validator lock denom invariants:\n\t lock denom: %v"+
"\n\tvalidator allow denom: %v\n",
"\n\tvalidator valMsDenom: %v\n",
GNaD13 marked this conversation as resolved.
Show resolved Hide resolved
lock.LockedCoin.Denom, valMsDenom)
}
}
Expand Down
Loading