0.38-stable (#372)

This commit is contained in:
Jaco Greeff
2019-03-18 16:44:23 +01:00
committed by GitHub
parent 8d901db281
commit 7b0a39a2fa
13 changed files with 29 additions and 31 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
# 0.38.1
- Align with current substrate master for sr25519 keys and hard/soft derivation
- Swap default keyring to sr25519
- Swap default dev keys to derived (sr25519)
# 0.37.1
+1 -1
View File
@@ -9,5 +9,5 @@
"packages": [
"packages/*"
],
"version": "0.38.0-beta.5"
"version": "0.38.0"
}
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/chainspec",
"version": "0.38.0-beta.5",
"version": "0.38.0",
"description": "Contains chain specifications for known chains",
"main": "index.js",
"keywords": [
@@ -29,6 +29,6 @@
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/chainspec#readme",
"dependencies": {
"@babel/runtime": "^7.3.4",
"@polkadot/util": "^0.38.0-beta.5"
"@polkadot/util": "^0.38.0"
}
}
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/db",
"version": "0.38.0-beta.5",
"version": "0.38.0",
"description": "Implementation of a basic sync in-memory and on-disk databases with overlays",
"main": "index.js",
"keywords": [
@@ -29,8 +29,8 @@
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/db#readme",
"dependencies": {
"@babel/runtime": "^7.3.4",
"@polkadot/trie-hash": "^0.38.0-beta.5",
"@polkadot/util": "^0.38.0-beta.5",
"@polkadot/trie-hash": "^0.38.0",
"@polkadot/util": "^0.38.0",
"@types/mkdirp": "^0.5.2",
"@types/rimraf": "^2.0.2",
"@types/snappy": "^6.0.0",
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/keyring",
"version": "0.38.0-beta.5",
"version": "0.38.0",
"description": "Keyring management",
"main": "index.js",
"engines": {
@@ -31,8 +31,8 @@
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/keyring#readme",
"dependencies": {
"@babel/runtime": "^7.3.4",
"@polkadot/util": "^0.38.0-beta.5",
"@polkadot/util-crypto": "^0.38.0-beta.5",
"@polkadot/util": "^0.38.0",
"@polkadot/util-crypto": "^0.38.0",
"@types/bs58": "^4.0.0",
"bs58": "^4.0.1"
}
+1 -1
View File
@@ -33,7 +33,7 @@ export default class Keyring implements KeyringInstance {
private _type: KeypairType;
constructor (options: KeyringOptions = {}) {
options.type = options.type || 'sr25519';
options.type = options.type || 'ed25519';
assert(options && ['ed25519', 'sr25519'].includes(options.type || 'undefined'), `Expected a keyring type of either 'ed25519' or 'sr25519', found '${options.type}`);
-2
View File
@@ -51,8 +51,6 @@ const PAIRS = [
* are available on the dev chain and each test account is initialised with DOT funds.
*/
export default function testKeyring (options: KeyringOptions = {}, isDerived: boolean = true): KeyringInstance {
options.type = options.type || (isDerived ? 'sr25519' : 'ed25519');
const keyring = new Keyring(options);
SEEDS.forEach((entry, index) => {
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/trie-codec",
"version": "0.38.0-beta.5",
"version": "0.38.0",
"description": "This is an implementation of the codec for Substrate Trie",
"main": "index.js",
"keywords": [
@@ -29,6 +29,6 @@
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/trie-codec#readme",
"dependencies": {
"@babel/runtime": "^7.3.4",
"@polkadot/util": "^0.38.0-beta.5"
"@polkadot/util": "^0.38.0"
}
}
+8 -8
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/trie-db",
"version": "0.38.0-beta.5",
"version": "0.38.0",
"description": "This is an implementation of the modified merkle patricia tree as specified in Ethereum's yellow paper, adapted for Polkadot",
"main": "index.js",
"keywords": [
@@ -29,15 +29,15 @@
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/trie-db#readme",
"dependencies": {
"@babel/runtime": "^7.3.4",
"@polkadot/db": "^0.38.0-beta.5",
"@polkadot/trie-codec": "^0.38.0-beta.5",
"@polkadot/trie-hash": "^0.38.0-beta.5",
"@polkadot/util": "^0.38.0-beta.5",
"@polkadot/util-crypto": "^0.38.0-beta.5"
"@polkadot/db": "^0.38.0",
"@polkadot/trie-codec": "^0.38.0",
"@polkadot/trie-hash": "^0.38.0",
"@polkadot/util": "^0.38.0",
"@polkadot/util-crypto": "^0.38.0"
},
"devDependencies": {
"@polkadot/chainspec": "^0.38.0-beta.5",
"@polkadot/util-rlp": "^0.38.0-beta.5",
"@polkadot/chainspec": "^0.38.0",
"@polkadot/util-rlp": "^0.38.0",
"ethereumjs-testing": "1.0.4"
}
}
+3 -3
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/trie-hash",
"version": "0.38.0-beta.5",
"version": "0.38.0",
"description": "Generates trie roots from key-value pairs",
"main": "index.js",
"keywords": [
@@ -29,9 +29,9 @@
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/trie-hash#readme",
"dependencies": {
"@babel/runtime": "^7.3.4",
"@polkadot/util": "^0.38.0-beta.5"
"@polkadot/util": "^0.38.0"
},
"devDependencies": {
"@polkadot/chainspec": "^0.38.0-beta.5"
"@polkadot/chainspec": "^0.38.0"
}
}
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/util-crypto",
"version": "0.38.0-beta.5",
"version": "0.38.0",
"description": "A collection of useful crypto utilities for @polkadot",
"main": "index.js",
"keywords": [
@@ -29,7 +29,7 @@
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/util-crypto#readme",
"dependencies": {
"@babel/runtime": "^7.3.4",
"@polkadot/util": "^0.38.0-beta.5",
"@polkadot/util": "^0.38.0",
"@polkadot/wasm-schnorrkel": "^0.1.1",
"@types/bip39": "^2.4.2",
"@types/pbkdf2": "^3.0.0",
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/util-rlp",
"version": "0.38.0-beta.5",
"version": "0.38.0",
"description": "RLP encoding and decoding",
"main": "index.js",
"keywords": [
@@ -31,7 +31,7 @@
"homepage": "https://github.com/polkadot-js/common/tree/master/packages/util-rlp#readme",
"dependencies": {
"@babel/runtime": "^7.3.4",
"@polkadot/util": "^0.38.0-beta.5"
"@polkadot/util": "^0.38.0"
},
"devDependencies": {
"ethereumjs-testing": "1.0.4"
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@polkadot/util",
"version": "0.38.0-beta.5",
"version": "0.38.0",
"description": "A collection of useful utilities for @polkadot",
"main": "index.js",
"keywords": [