Skip to content

Commit

Permalink
Merge pull request #3029 from dusk-network/feature-3028
Browse files Browse the repository at this point in the history
web-wallet: update stake warning's text
  • Loading branch information
ascartabelli authored Nov 20, 2024
2 parents 8104f7c + 057cabb commit ad0ef94
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 2 deletions.
2 changes: 2 additions & 0 deletions web-wallet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed

- Update Transactions list design [#1922]
- Update stake warning's text [#3028]

### Removed

Expand Down Expand Up @@ -360,6 +361,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[#3000]: https://github.com/dusk-network/rusk/issues/3000
[#3006]: https://github.com/dusk-network/rusk/issues/3006
[#3010]: https://github.com/dusk-network/rusk/issues/3010
[#3028]: https://github.com/dusk-network/rusk/issues/3028

<!-- VERSIONS -->

Expand Down
7 changes: 6 additions & 1 deletion web-wallet/src/lib/components/Stake/Stake.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,12 @@
rel="noopener noreferrer"
target="_blank"
href={DOCUMENTATION_LINKS.RUN_A_PROVISIONER}>HERE</AppAnchor
>, and that I will lose funds if I have not done so correctly.
>, and that, if not done correctly, I may be subject to <AppAnchor
class="staking-warning__step-node-setup-link"
href={DOCUMENTATION_LINKS.SLASHING}
rel="noopener noreferrer"
target="_blank">soft-slashing</AppAnchor
> penalties, requiring me to unstake and restake.
</p>

<Agreement
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,16 @@ exports[`Stake > should render the Stake notice 1`] = `
>
HERE
</a>
, and that I will lose funds if I have not done so correctly.
, and that, if not done correctly, I may be subject to
<a
class="dusk-anchor dusk-anchor--on-surface"
href="https://docs.dusk.network/operator/02-provisioner/#slashing"
rel="noopener noreferrer"
target="_blank"
>
soft-slashing
</a>
penalties, requiring me to unstake and restake.
</p>
<div
Expand Down
1 change: 1 addition & 0 deletions web-wallet/src/lib/constants/documentationLinks.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
export const DOCUMENTATION_LINKS = {
RESTORE_BLOCK_HEIGHT: "https://docs.dusk.network/learn/guides/restore-height",
RUN_A_PROVISIONER: "https://docs.dusk.network/operator/02-provisioner/",
SLASHING: "https://docs.dusk.network/operator/02-provisioner/#slashing",
};

0 comments on commit ad0ef94

Please sign in to comment.