Skip to content

readme mint_token name, clearer rate limit start, typo on limit error#14

Open
mooncitydev wants to merge 1 commit into
paxosglobal:masterfrom
mooncitydev:readme-and-rate-limit-fixes
Open

readme mint_token name, clearer rate limit start, typo on limit error#14
mooncitydev wants to merge 1 commit into
paxosglobal:masterfrom
mooncitydev:readme-and-rate-limit-fixes

Conversation

@mooncitydev

@mooncitydev mooncitydev commented Apr 8, 2026

Copy link
Copy Markdown

what changed

  • readme: the on-chain instruction is mint_token (singular); the docs said mint_tokens.
  • add_minter: set remaining_amount to capacity and last_refill_time to the current unix timestamp so new minters start with a full bucket instead of depending on last_refill_time == 0 and a huge synthetic refill.
  • mint_token: fix the user-facing error string typo (exceeeded to exceeded).
  • tests: rename a duplicate it description so the suite reads clearer in logs.

testing

Could not run anchor test here (no anchor/rust toolchain on this machine). Worth a quick anchor test on your side before merge.

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

Successfully merging this pull request may close these issues.

1 participant