Repository navigation
fix(account): label the transfer fee for the current epoch as current - #1516
Open
Iamsohungrynow wants to merge 1 commit into
Open
Iamsohungrynow wants to merge 1 commit into
Iamsohungrynow wants to merge 1 commit into
Conversation
|
@Iamsohungrynow is attempting to deploy a commit to the Solana Foundation Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
[Low impact] The PR appears safe to merge. SummaryPasses the selected cluster’s epoch through
Reviews (1) · Last reviewed commit: "fix(account): label the transfer fee for..." · Reviewed by Greptile |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
the Extensions tab never passed an epoch to
TokenExtensionRow, so it compared against0nand 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 fromuseEpochInfo()down nowType of change
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.tsxwith the BERN mint data fails before (expected '4.2%' to be '2.69%') and passes after. eslint, prettier andtsc --noEmitcleanRelated Issues
N/A
Checklist
pnpm test,pnpm lint,pnpm typecheck)build:infoscript to update build information