-
Notifications
You must be signed in to change notification settings - Fork 5
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(extension): [lw-10782] add proper mappers for missed conway era certs #1234
Conversation
Allure Report
smokeTests: ✅ test report for 7e3cd8bc
|
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.
Nice catch 💪
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.
Great work @vetalcore ! 🥇
dbed7ac
to
ff8f22d
Compare
@@ -22,6 +22,7 @@ export const useWalletActivities = ({ | |||
|
|||
const fetchWalletActivities = useCallback(async () => { | |||
fiatCurrency && | |||
cardanoFiatPrice && |
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.
there is a case when cardanoFiatPrice
comes as undefined
from useFetchCoinPrice
removing memoize
util that is a hoc around mapWalletActivities
also helps, but i'm not able to debug why resolver is not reevaluating the key correctly.
@@ -43,7 +43,7 @@ export const getFormattedFiatAmount = ({ | |||
return fiatAmount ? `${fiatAmount} ${fiatCurrency.code}` : '-'; | |||
}; | |||
|
|||
const splitDelegationTx = (tx: TransformedActivity): TransformedTransactionActivity[] => { | |||
const splitDelegationTx = (tx: TransformedActivity, hasConwayEraCerts: boolean): TransformedTransactionActivity[] => { |
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.
we could consider to refactor that at some point, maybe to hoist that into tx-inspection, so it could return an array of types.
@mchappell wdyt?
maybe we could create a tech debt ticket?
b974066
to
e2fadc0
Compare
…erts in activities transformers
…ate between conway and non
69ca3f4
to
7e3cd8b
Compare
|
add proper mappers for missed conway era certs
Checklist
Proposed solution
Extend tx inspection related mappers with missed conway era certs.
Testing
Follow the steps in the description of the ticket.
Screenshots