Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

token-cli: set-transfer-fee has different granularity than create-token #7020

Closed
@joncinque

Description

@joncinque

As reported at anza-xyz/agave#2135:

Problem

set-transfer-fee works in whole tokens. create-token with "--transfer-fee" works in 10^(-decimals) tokens.

Proposed Solution

Either make them equal or document this more clearly. The way things are now is just asking for errors.

cc @SolBugz

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions