-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
πfix(lld): fix export to csv account name #7813
Conversation
The latest updates on your projects. Learn more about Vercel for Git βοΈ
4 Skipped Deployments
|
@@ -65,7 +67,10 @@ const fields: Field[] = [ | |||
{ | |||
title: "Account Name", | |||
// FIXME: we need to inject wallet state if we want the actual user's account name | |||
cell: (account, parentAccount) => getDefaultAccountName(getMainAccount(account, parentAccount)), | |||
cell: (account, parentAccount, _op, _counterValueCurrency, _countervalueState, walletState) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why do we need this 3 ? _op, _counterValueCurrency, _countervalueState
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Because how it's done today if walletState is at the third place it would be the operation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indeed ^^
a9caf30
to
cdeb11f
Compare
@@ -65,7 +67,10 @@ const fields: Field[] = [ | |||
{ | |||
title: "Account Name", | |||
// FIXME: we need to inject wallet state if we want the actual user's account name | |||
cell: (account, parentAccount) => getDefaultAccountName(getMainAccount(account, parentAccount)), | |||
cell: (account, parentAccount, _op, _counterValueCurrency, _countervalueState, walletState) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
indeed ^^
Hello, I suspect this caused a change in CSV export that may not be desired. When I receive USDT on Arbitrum network, the Account Name in export is now "Tether USD". This is not an account name and I have no idea where it came from. Previously the Account Name for this transaction was "Arbitrum 1". This seems more like a bug to me. Similarly, for USDC on Arbitrum network the Account Name is "USD Coin" (previously also "Arbitrum 1") and for Abitrum itself the Account Name is just "Arbitrum" (previously "Arbitrum 1"). Can you please help me understand this? |
β Checklist
npx changeset
was attached.π Description
Accounts names were not exported in the csv it's now fixed.
β Context
π§ Checklist for the PR Reviewers