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

x/sequencers: document and fix insufficient bond check in bond reduction completion #1069

Closed
Tracked by #1055
danwt opened this issue Aug 9, 2024 · 1 comment
Closed
Tracked by #1055

Comments

@danwt
Copy link
Contributor

danwt commented Aug 9, 2024

if seq.Tokens.IsAllLT(sdk.NewCoins(reduction.UnbondAmount)) {
return errorsmod.Wrapf(
types.ErrInsufficientBond,
"sequencer does not have enough bond to reduce insufficient bond: got %s, reducing by %s",
seq.Tokens.String(),
reduction.UnbondAmount.String(),
)
}

#1031 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants