{{ cleanAvaxBN(reward.amountToClaim) }} {{ nativeAssetSymbol }}
+{{ formatDate(offer.start) }}
+{{ formatDate(offer.end) }}
+{{ cleanAvaxBN(offer.minAmount) }} CAM
+{{ rewardPercent }} %
++ {{ formatDuration(offer.minDuration) }} +
++ {{ formatDuration(offer.maxDuration) }} +
++ {{ formatDuration(offer.unlockPeriodDuration) }} +
++ {{ formatDuration(offer.noRewardsPeriodDuration) }} +
+{{ modalText }}
{{ err }}
-
diff --git a/src/helpers/wallet_helper.ts b/src/helpers/wallet_helper.ts
index 81bb10e7d..9119cd66c 100644
--- a/src/helpers/wallet_helper.ts
+++ b/src/helpers/wallet_helper.ts
@@ -322,8 +322,7 @@ class WalletHelper {
const tx = await wallet.signP(unsignedTx, undefined, endTxTime)
return await ava.PChain().issueTx(tx)
} catch (err) {
- console.error(err)
- return
+ throw err
}
}
@@ -805,13 +804,18 @@ class WalletHelper {
static async sendMultisigAliasTxUpdate(
wallet: WalletType,
+ initialAddresses: string[],
addresses: string[],
memo: string,
+ initialThreshold: number,
threshold: number,
multisigAliasAddress: string
) {
const pchain = ava.PChain()
+ if (!multisigAliasAddress) {
+ throw new Error('Multisig alias address is required')
+ }
const multisigAliasParams: MultisigAliasParams = {
id: pchain.parseAddress(multisigAliasAddress),
memo: memo,
@@ -827,12 +831,12 @@ class WalletHelper {
.PChain()
.buildMultisigAliasTx(
wallet.platformUtxoset,
- [[multisigAliasAddress], addresses],
+ [[multisigAliasAddress], initialAddresses],
[multisigAliasAddress],
multisigAliasParams,
undefined,
ZeroBN,
- threshold
+ initialThreshold
)
let tx = await wallet.signP(unsignedTx)
diff --git a/src/locales/en.json b/src/locales/en.json
index 1cdb116c1..eb0f13313 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -615,7 +615,7 @@
"label_1": "Validator Node's Private Key",
"description_1": "Node Private Key",
"label_3": "P-Chain address your validator node will be assigned to",
- "label_4": "Are you sure you want initiate this transaction? To execute this transaction, {threshold} additional signatures from your multisignature co-owners are required.",
+ "label_4": "Are you sure you want initiate this transaction?",
"label_5": "Tx Details",
"duration": {
"label": "Validation End Date",
@@ -661,7 +661,7 @@
"transaction_end": "Transaction Expiration Date"
},
"register_validator_node": "Register Validator Node",
- "initiate_transaction": "Initiate transaction",
+ "initiate_transaction": "Initiate Transaction",
"confirm": "Confirm",
"submit": "Submit",
"cancel": "Cancel",
@@ -675,7 +675,10 @@
"camino_available": "{0} @.native:(0) are available on your P-chain address",
"kyc_verified": "KYC or KYB verified",
"consortium_member_verified": "Accepted to be a member of the consortium",
- "consortium_member_address_linked_to_node": "Consortium member address needs to be linked to your NodeID"
+ "consortium_member_address_linked_to_node": "Consortium member address needs to be linked to your NodeID",
+ "node_registration_fee": "Registering a validator node costs {fee} {symbol}.",
+ "duration_warn": "Your validation period must be at least {period} long.",
+ "threshold_validation": "To execute this transaction, {threshold} additional signatures from your multisignature co-owners are required."
},
"errs": {
"duration_warn": "WARNING: You must have at least 14 days remaining on your validation period to accept delegations.",
@@ -995,7 +998,7 @@
"transfer_success_msg": "You have succesfully sent your transaction.",
"transfer_error_msg": "Failed to send transaction.",
"transfer_cancelled_msg": "Transaction has been cancelled.",
- "execute_multisig_transaction_error": "Transaction execution failed",
+ "execute_multisig_transaction_error": "Transaction execution failed {error}",
"multisig_transaction_saved": "Your signature saved successfully!",
"multisig_transaction_not_saved": "Your signature saved successfully!",
"transaction_cancel_failed": "Cancelling the transaction failed",
diff --git a/src/store/modules/history/history.ts b/src/store/modules/history/history.ts
index 7ba6b7ce5..868383fae 100644
--- a/src/store/modules/history/history.ts
+++ b/src/store/modules/history/history.ts
@@ -117,7 +117,7 @@ const history_module: Module
{{ $t('validator.info.validator_running') }}
+
{{ durationText }}
+{{ calculatedDurationText }}
-
{{ err }}
-{{ $t('validator.suspended.validator_suspended') }}