Skip to content

Commit

Permalink
Sync ss58 (polkadot-js#1013)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacogr committed Jun 13, 2021
1 parent 4859157 commit b585432
Show file tree
Hide file tree
Showing 5 changed files with 787 additions and 826 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Contributed:
Changes:

- Export `BN` in `@polkadot/util`
- Sync with upstream Substrate ss58 registry


## 6.7.1 Jun 6, 2021
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
},
"devDependencies": {
"@babel/core": "^7.14.3",
"@polkadot/dev": "^0.62.38",
"@polkadot/ts": "^0.3.86",
"@polkadot/dev": "^0.62.42",
"@polkadot/ts": "^0.3.89",
"@types/jest": "^26.0.23"
},
"version": "6.7.2-7"
Expand Down
18 changes: 18 additions & 0 deletions packages/networks/src/substrate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -515,6 +515,24 @@ export const knownSubstrate: KnownSubstrate[] = [
symbols: ['NET'],
website: 'https://social.network'
},
{
decimals: [18],
displayName: 'Moonbeam',
network: 'moonbeam',
prefix: 1284,
standardAccount: '*25519',
symbols: ['GLMR'],
website: 'https://moonbeam.network'
},
{
decimals: [18],
displayName: 'Moonriver',
network: 'moonriver',
prefix: 1285,
standardAccount: '*25519',
symbols: ['MOVR'],
website: 'https://moonbeam.network'
},
{
decimals: [12],
displayName: 'Basilisk',
Expand Down
4 changes: 1 addition & 3 deletions packages/util/src/bn/toU8a.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
// Copyright 2017-2021 @polkadot/util authors & contributors
// SPDX-License-Identifier: Apache-2.0

import BN from 'bn.js';

import { bnToU8a } from '.';
import { BN, bnToU8a } from '.';

describe('bnToU8a', (): void => {
it('converts null values to 0x00', (): void => {
Expand Down
Loading

0 comments on commit b585432

Please sign in to comment.