Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
🔀 Merge branch 'release/2.0.0' into development
Browse files Browse the repository at this point in the history
  • Loading branch information
sameersubudhi committed Sep 26, 2023
2 parents 39e27a0 + 3cbb8a1 commit 1c66f7e
Show file tree
Hide file tree
Showing 3 changed files with 114 additions and 2 deletions.
2 changes: 1 addition & 1 deletion config/testnet/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"blockTime": 10,
"chainID": "01000000",
"maxTransactionsSize": 15360,
"minimumCertifyHeight": 26689155
"minimumCertifyHeight": 20520176
},
"network": {
"version": "4.0",
Expand Down
112 changes: 112 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"name": "lisk-migrator",
"version": "2.0.0-rc.3",
"description": "A command-line tool for migrating the blockchain state to the latest protocol after a hard fork",
"author": "Lisk Foundation <[email protected]>, lightcurve GmbH <[email protected]>",
"license": "Apache-2.0",
"keywords": [
"lisk",
"blockchain"
],
"homepage": "https://github.com/LiskHQ/lisk-migrator/tree/master/#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/LiskHQ/lisk-migrator.git"
},
"bugs": {
"url": "https://github.com/LiskHQ/lisk-migrator/issues"
},
"engines": {
"node": ">=18.16 <=18",
"npm": ">=8.3.1"
},
"main": "dist/index.js",
"bin": {
"lisk-migrator": "./bin/run"
},
"scripts": {
"start": "ts-node src/index.js",
"format": "prettier --write '**/*'",
"lint": "eslint --ext .ts .",
"lint:fix": "eslint --fix --ext .ts .",
"test": "jest",
"test:coverage": "jest --config=jest.config.js --coverage=true --verbose --forceExit",
"test:ci": "jest --coverage=true --coverage-reporters=json --verbose",
"test:watch": "npm test -- --watch",
"copy-static-files": "copyfiles -u 1 src/**/*.sql ./dist",
"prebuild": "if test -d dist; then rm -r dist; fi; rm -f tsconfig.tsbuildinfo",
"build": "tsc && yarn copy-static-files",
"prepack": "oclif-dev manifest && oclif-dev readme --multi --dir=docs/commands",
"prepublishOnly": "yarn && yarn lint && yarn build"
},
"oclif": {
"commands": "./dist/commands",
"bin": "lisk-migrator",
"plugins": [
"@oclif/plugin-help"
]
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
}
},
"files": [
"/bin",
"/npm-shrinkwrap.json",
"/oclif.manifest.json",
"/dist",
"/docs"
],
"dependencies": {
"@liskhq/lisk-api-client": "5.2.0-rc.0",
"@liskhq/lisk-chain": "0.4.0-rc.0",
"@liskhq/lisk-codec": "0.4.0-rc.1",
"@liskhq/lisk-cryptography": "4.0.0-rc.1",
"@liskhq/lisk-db": "0.3.10",
"@liskhq/lisk-utils": "0.4.0-rc.0",
"@liskhq/lisk-validator": "0.8.0-rc.1",
"@oclif/command": "1.8.21",
"@oclif/config": "1.14.0",
"@oclif/errors": "1.2.2",
"@oclif/plugin-help": "2.2.3",
"cli-ux": "5.5.1",
"debug": "4.1.1",
"fs-extra": "11.1.0",
"lisk-framework": "0.11.0-rc.1",
"semver": "7.3.2",
"shelljs": "^0.8.5",
"tar": "6.1.13"
},
"devDependencies": {
"@oclif/dev-cli": "1.22.2",
"@types/debug": "4.1.5",
"@types/ed2curve": "0.2.2",
"@types/fs-extra": "9.0.1",
"@types/jest": "27.0.2",
"@types/jest-when": "2.7.3",
"@types/lodash.clonedeep": "4.5.6",
"@types/node": "12.12.11",
"@types/semver": "7.3.3",
"@types/tar": "6.1.4",
"@typescript-eslint/eslint-plugin": "5.44.0",
"@typescript-eslint/parser": "5.44.0",
"copyfiles": "2.2.0",
"eslint": "8.28.0",
"eslint-config-lisk-base": "2.0.1",
"eslint-config-prettier": "6.11.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jest": "27.1.6",
"husky": "4.3.8",
"jest": "27.3.1",
"jest-extended": "1.1.0",
"jest-when": "3.4.1",
"lint-staged": "10.2.11",
"prettier": "2.0.5",
"source-map-support": "0.5.19",
"ts-jest": "27.0.7",
"ts-node": "10.9.1",
"tsconfig-paths": "3.9.0",
"typescript": "4.9.3"
}
}
2 changes: 1 addition & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const DB_KEY_TRANSACTIONS_ID = 'transactions:id';
export const CHAIN_STATE_DELEGATE_VOTE_WEIGHTS = 'dpos:delegateVoteWeights';
export const CHAIN_STATE_UNREGISTERED_ADDRESSES = 'unregisteredAddresses';

export const POS_INIT_ROUNDS = 60480;
export const POS_INIT_ROUNDS = 587;
export const MAX_COMMISSION = 10000;
export const NUMBER_ACTIVE_VALIDATORS = 101;
export const NUMBER_STANDBY_VALIDATORS = 2;
Expand Down

0 comments on commit 1c66f7e

Please sign in to comment.