Skip to content
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

web-wallet: Add allocation page #2202

Merged
merged 1 commit into from
Aug 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions web-wallet/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- Added gas settings validation on Unstake / Widthdraw Rewards flows [#2000]
- Added allocation (shield/unshield) page and UI [#2196]

### Changed

Expand All @@ -18,6 +19,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Update Transactions list design [#1922]
- Update Buttons to match the design system [#1606]
- Update `Stepper` component to new design [#2071]
- Update dashboard to use routes instead of `Tabs` for navigation pattern [#2075]

### Fixed

Expand Down
2 changes: 1 addition & 1 deletion web-wallet/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ N.B. the current `0.1.2` version of the library has no option to pick the networ
```
# can be empty string, must start with a slash otherwise, must not end with a slash
VITE_BASE_PATH=""
VITE_CONTRACT_ALLOCATE_DISABLED=true
VITE_CONTRACT_STAKE_DISABLED=false
VITE_CONTRACT_TRANSFER_DISABLED=false
VITE_CURRENT_NODE=${VITE_LOCAL_NODE}
Expand All @@ -51,7 +52,6 @@ VITE_TESTNET_NODE="https://nodes.dusk.network/"
VITE_TESTNET_PROVER_NODE="https://provers.dusk.network/"
VITE_TRANSFER_CONTRACT="0100000000000000000000000000000000000000000000000000000000000000"
VITE_GET_QUOTE_API_ENDPOINT="https://api.dusk.network/v1/quote"
VITE_MOONLIGHT_DISABLED=true
```

To run a local node different steps are needed, so please read the [related section](#running-a-local-rusk-node).
Expand Down
5 changes: 5 additions & 0 deletions web-wallet/src/__mocks__/mockedOperationsStore.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { mockReadableStore } from "$lib/dusk/test-helpers";

const content = { currentOperation: "something" };

export default mockReadableStore(content);
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,6 @@ const content = {
isSyncing: false,
};

export default mockReadableStore(content);
const mockedWalletStore = mockReadableStore(content);

export default mockedWalletStore;
Loading
Loading