Sync ss58 (#1013)
This commit is contained in:
@@ -10,6 +10,7 @@ Contributed:
|
||||
Changes:
|
||||
|
||||
- Export `BN` in `@polkadot/util`
|
||||
- Sync with upstream Substrate ss58 registry
|
||||
|
||||
|
||||
## 6.7.1 Jun 6, 2021
|
||||
|
||||
+2
-2
@@ -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"
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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 => {
|
||||
|
||||
Reference in New Issue
Block a user