-
Notifications
You must be signed in to change notification settings - Fork 327
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* cardano high fees checks * add custom CardanoFeeTooHigh error * display feeTooHigh error * validate protocol params * handle fee error in delegation * fee warning in delegation * show tx status warnings and errors * update * tx error update * sync proto params in tx prepare * add coinconfig + update translations * fix cc * update texts * add changeset --------- Co-authored-by: pavanvora <pavanvora.cs@gmail.com> Co-authored-by: Prashanth <prashanthsoordelu@gmail.com> Co-authored-by: Pavan Vora <pavanvora@users.noreply.github.com> Co-authored-by: mehulcs <mehul.becs@gmail.com>
- Loading branch information
1 parent
f871795
commit 07a242d
Showing
25 changed files
with
383 additions
and
60 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
"@ledgerhq/coin-cardano": patch | ||
"ledger-live-desktop": patch | ||
"live-mobile": patch | ||
"@ledgerhq/live-common": patch | ||
--- | ||
|
||
Cardano fees warning + fix high fees issue |
This file contains 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
This file contains 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
This file contains 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
This file contains 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
27 changes: 27 additions & 0 deletions
27
apps/ledger-live-desktop/src/renderer/families/cardano/SendAmountFields/index.tsx
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import React from "react"; | ||
import { | ||
CardanoAccount, | ||
Transaction, | ||
TransactionStatus, | ||
} from "@ledgerhq/live-common/families/cardano/types"; | ||
|
||
import MemoField from "./MemoField"; | ||
|
||
const Root = (props: { | ||
account: CardanoAccount; | ||
transaction: Transaction; | ||
status: TransactionStatus; | ||
onChange: (t: Transaction) => void; | ||
trackProperties?: Record<string, unknown>; | ||
}) => { | ||
return ( | ||
<> | ||
<MemoField {...props} /> | ||
</> | ||
); | ||
}; | ||
|
||
export default { | ||
component: Root, | ||
fields: ["memo"], | ||
}; |
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.