diff --git a/app/constants/ledgerConstants.json b/app/constants/ledgerConstants.json index b09b5f3c9..d05225230 100644 --- a/app/constants/ledgerConstants.json +++ b/app/constants/ledgerConstants.json @@ -1,3 +1,3 @@ { - "requiredVersion": "2.1.0" + "requiredVersion": "3.0.0" } diff --git a/app/pages/Accounts/AccountBalanceView/AccountBalanceView.tsx b/app/pages/Accounts/AccountBalanceView/AccountBalanceView.tsx index e87668ac2..4cf4a6aa5 100644 --- a/app/pages/Accounts/AccountBalanceView/AccountBalanceView.tsx +++ b/app/pages/Accounts/AccountBalanceView/AccountBalanceView.tsx @@ -59,8 +59,8 @@ function ShieldedInfo({ const getDelegationTargetId = (dt: DelegationTarget) => dt.delegateType === DelegationTargetType.Baker - ? `baker pool ${dt.bakerId}` - : 'passive delegation'; + ? `Delegation to baker pool ${dt.bakerId}` + : 'Passive delegation'; interface PublicInfoProps { accountInfo: AccountInfo | undefined; @@ -100,9 +100,9 @@ function PublicInfo({ accountInfo }: PublicInfoProps) { {accountBaker !== undefined && `Stake with baker ${accountBaker.bakerId}`} {accountDelegation !== undefined && - `Delegation to ${getDelegationTargetId( + getDelegationTargetId( accountDelegation.delegationTarget - )}`} + )} {displayAsCcd(staked)} diff --git a/package.json b/package.json index 6bb37fb93..bab2b4bfd 100644 --- a/package.json +++ b/package.json @@ -250,7 +250,7 @@ "yargs": "^17.1.1" }, "dependencies": { - "@concordium/node-sdk": "^0.8.0-alpha.2", + "@concordium/node-sdk": "^0.8.0-alpha.3", "@grpc/grpc-js": "^1.3.6", "@hot-loader/react-dom": "^16.13.0", "@reduxjs/toolkit": "^1.4.0", diff --git a/yarn.lock b/yarn.lock index 5cb932d98..13479f79d 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2020,10 +2020,10 @@ exec-sh "^0.3.2" minimist "^1.2.0" -"@concordium/node-sdk@^0.8.0-alpha.0": - version "0.8.0-alpha.0" - resolved "https://registry.yarnpkg.com/@concordium/node-sdk/-/node-sdk-0.8.0-alpha.0.tgz#bc6effea9fffeea01e64c0b564538886d6959266" - integrity sha512-ISJTib0Cd2k9+HieXuLXFcpbz/ZA8iXgzbk/i4wp9jMj9EuF8C85Zkfed56e4v4lb4UWB/HR3feG5WcOhrJxrw== +"@concordium/node-sdk@^0.8.0-alpha.3": + version "0.8.0-alpha.3" + resolved "https://registry.yarnpkg.com/@concordium/node-sdk/-/node-sdk-0.8.0-alpha.3.tgz#ef4da5292534147e0bc37cc782019a4447661e7d" + integrity sha512-QR9uJIAUj1ow66HgBWFxPHsVmb109BL6ULQu9tvUHYTY8crUPOcj6T6JWEds6RUB3LULz/95IknCVhM4C9Bt+g== dependencies: "@grpc/grpc-js" "^1.3.4" bs58check "^2.1.2"