Skip to content

Commit

Permalink
🚀 Validator dashboard release 3.0.0 (#4783)
Browse files Browse the repository at this point in the history
  • Loading branch information
thesan authored Feb 21, 2024
2 parents a74c38c + 0936409 commit 96778c5
Show file tree
Hide file tree
Showing 86 changed files with 3,459 additions and 1,455 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [3.0.0 (Validator dashboard)][3.0.0] - 2024-02-21

### Added
- Validator dashboard.
- Binding validator accounts to new or existing memberships.

## [2.6.0] - 2024-02-15

### Added
Expand Down Expand Up @@ -319,7 +325,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [0.1.1] - 2022-12-02

[unreleased]: https://github.com/Joystream/pioneer/compare/v2.6.0...HEAD
[unreleased]: https://github.com/Joystream/pioneer/compare/v3.0.0...HEAD
[3.0.0]: https://github.com/Joystream/pioneer/compare/v2.6.0...v3.0.0
[2.6.0]: https://github.com/Joystream/pioneer/compare/v2.5.0...v2.6.0
[2.5.0]: https://github.com/Joystream/pioneer/compare/v2.4.2...v2.5.0
[2.4.2]: https://github.com/Joystream/pioneer/compare/v2.4.1...v2.4.2
Expand Down
13 changes: 8 additions & 5 deletions packages/ui/.storybook/preview.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { TransactionStatusProvider } from '../src/common/providers/transactionSt
import { MockProvidersDecorator, MockRouterDecorator } from '../src/mocks/providers'
import { i18next } from '../src/services/i18n'
import { KeyringContext } from '../src/common/providers/keyring/context'
import { ValidatorContextProvider } from '../src/validators/providers/provider'
import { Keyring } from '@polkadot/ui-keyring'

configure({ testIdAttribute: 'id' })
Expand Down Expand Up @@ -56,11 +57,13 @@ const ModalDecorator: Decorator = (Story) => (
<TransactionStatusProvider>
<ModalContextProvider>
<OnBoardingProvider>
<Story />
<GlobalModals />
<NotificationsHolder>
<TransactionStatus />
</NotificationsHolder>
<ValidatorContextProvider>
<Story />
<GlobalModals />
<NotificationsHolder>
<TransactionStatus />
</NotificationsHolder>
</ValidatorContextProvider>
</OnBoardingProvider>
</ModalContextProvider>
</TransactionStatusProvider>
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@joystream/pioneer",
"version": "2.6.0",
"version": "3.0.0",
"license": "GPL-3.0-only",
"scripts": {
"build": "node --max_old_space_size=4096 ./build.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/ui/src/accounts/model/encodeAddress.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { encodeAddress as encode } from '@polkadot/util-crypto'

const JOYSTREAM_SS58_PREFIX = 126
import { CHAIN_PROPERTIES } from '@/app/constants/chain'

export const encodeAddress = (key: Parameters<typeof encode>[0]) => encode(key, JOYSTREAM_SS58_PREFIX)
export const encodeAddress = (key: Parameters<typeof encode>[0]) => encode(key, CHAIN_PROPERTIES.ss58Format)
Loading

0 comments on commit 96778c5

Please sign in to comment.