Skip to content

fix(account): label the transfer fee for the current epoch as current - #1516

Open
Iamsohungrynow wants to merge 1 commit into
solana-foundation:masterfrom
Iamsohungrynow:fix/transfer-fee-current-epoch
Open

Iamsohungrynow wants to merge 1 commit into
solana-foundation:masterfrom
Iamsohungrynow:fix/transfer-fee-current-epoch

Conversation

@Iamsohungrynow

Copy link
Copy Markdown

Description

the Extensions tab never passed an epoch to TokenExtensionRow, so it compared against 0n and on mainnet always called the older transfer fee "Current". BERN (CKfatsPMUf8SkiURsDXs7eK6GWb4Jsd6UDbs7twMCWxo) shows 4.2% as current, but 2.69% has applied since epoch 698. it passes the epoch from useEpochInfo() down now

Type of change

  • Bug fix
  • New feature
  • Protocol integration
  • Documentation update
  • Other (please describe):

Screenshots

N/A, only the labels change: "Current Fee Rate 4.2%" / "Future Fee Rate 2.69%" becomes "Previous Fee Rate 4.2%" / "Current Fee Rate 2.69%"

Testing

new TokenExtensionsSection.spec.tsx with the BERN mint data fails before (expected '4.2%' to be '2.69%') and passes after. eslint, prettier and tsc --noEmit clean

Related Issues

N/A

Checklist

  • My code follows the project's style guidelines
  • I have added tests that prove my fix/feature works
  • All checks pass locally (pnpm test, pnpm lint, pnpm typecheck)
  • I have updated documentation as needed
  • I have run build:info script to update build information
  • CI/CD checks pass on the PR
  • Screenshots included — required for protocol screens, recommended for other UI changes
  • For security-related features, I have included links to related information

@vercel

vercel Bot commented Nov 26, 2026

Copy link
Copy Markdown

@Iamsohungrynow is attempting to deploy a commit to the Solana Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@greptile-apps

greptile-apps Bot commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · The PR appears safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[Low impact] The PR appears safe to merge.

Summary

Passes the selected cluster’s epoch through TokenExtensionsSection to TokenExtensionRow.

  • The Extensions tab labels transfer fees using the current cluster epoch.

Reviews (1) · Last reviewed commit: "fix(account): label the transfer fee for..." · Reviewed by Greptile

This branch has not been deployed

No deployments
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