Skip to content

Sub-unit dust is lost on release for tokens with < 8 decimals (O-5) #6

Description

@dendisuhubdy

From docs/audit/2026-09-19-reaudit.md O-5: release floors the attested amount, so a burn of 199 attested units of a 6-decimal token pays 1 native unit and strands 99 in custody, and a burn below 100 can never be released (ZeroAmount). check_burn on Rand does not know the decimals. Decide: wallet-enforced granularity, decimals in AssetInfo, or refuse a non-multiple on release (the Rand side has to enforce it first).

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