Skip to content

ERC20Custodian : Freeze function bug with partial frozen balance #190

Description

@ruhulamin1398

Problem

The freeze function in ERC20Custodian currently only allows freezing tokens up to the user’s available (unfrozen) balance. This causes a bug where attempts to freeze the full balance fail if part of it is already frozen.

Expected Behavior

Custodians should be able to freeze tokens up to the user’s total token balance, regardless of how much is currently frozen.

Impact

This limitation makes it difficult to adjust frozen amounts dynamically and complicates custodian token management.


This issue is addressed in PR #189 which updates the freeze function to validate against the total balance instead of available balance.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions