You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, only one of AllowedList and DenyList can be set in the structure of StakeAuthorization.
There is a structural problem that causes Accept func to always fail when DenyList is set.
Summary
Currently, only one of AllowedList and DenyList can be set in the structure of StakeAuthorization.
There is a structural problem that causes Accept func to always fail when DenyList is set.
Problem Definition
According to the above logic, only one of AllowedList and DenyList can be set.
If DenyList is set and AllowedList is empty, it always returns an error because isValidatorExists is false.
Proposal
Check
the size of the AllowedList
together with the isValidatorExists check.ref. cosmos/cosmos-sdk#11391
For Admin Use
The text was updated successfully, but these errors were encountered: