Skip to content

Commit

Permalink
Merge pull request #897 from LiskHQ/896-update-lisk-sdk-to-v6-0-1
Browse files Browse the repository at this point in the history
Update Lisk SDK to v6.0.1
  • Loading branch information
ManuGowda committed Nov 25, 2023
2 parents 05ecfdd + ac079b6 commit 894d57d
Show file tree
Hide file tree
Showing 3 changed files with 156 additions and 156 deletions.
20 changes: 10 additions & 10 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ Note: It is also possible to use [podman](https://github.com/containers/podman/)

## Run

Create a "lisk-core" container for betanet:
Run a "lisk-core" container against the mainnet:

```
docker run --volume lisk-data:/home/lisk/.lisk \
--publish 7667:7667 \
--name lisk-core \
lisk/core:4.0.0 \
start --network=betanet
lisk/core:4.0.1 \
start --network=mainnet
```

### Configuration
Expand All @@ -25,8 +25,8 @@ docker run --volume lisk-data:/home/lisk/.lisk \
--publish 7667:7667 \
--publish 127.0.0.1:7887:7887 \
--name lisk-core \
lisk/core:4.0.0 \
start --network=betanet --api-ws --api-http --log=debug
lisk/core:4.0.1 \
start --network=mainnet --api-ws --api-http --log=debug
```

Environment variables can be set with `--env`:
Expand All @@ -36,20 +36,20 @@ docker run --volume lisk-data:/home/lisk/.lisk \
--publish 7667:7667 \
--env LISK_LOG_LEVEL=debug \
--name lisk-core \
lisk/core:4.0.0 \
start --network=betanet
lisk/core:4.0.1 \
start --network=mainnet
```

See https://lisk.com/documentation/lisk-core/management/configuration.html for a reference of configuration options.

## Import blockchain snapshot

```
docker run --volume lisk-data:/home/lisk/.lisk -it --rm lisk/core:4.0.0 blockchain:download --network=betanet --output=/home/lisk/.lisk/tmp/
docker run --volume lisk-data:/home/lisk/.lisk -it --rm lisk/core:4.0.1 blockchain:download --network=mainnet --output=/home/lisk/.lisk/tmp/
docker run --volume lisk-data:/home/lisk/.lisk -it --rm lisk/core:4.0.0 blockchain:import /home/lisk/.lisk/tmp/blockchain.db.tar.gz
docker run --volume lisk-data:/home/lisk/.lisk -it --rm lisk/core:4.0.1 blockchain:import /home/lisk/.lisk/tmp/blockchain.db.tar.gz
docker run --volume lisk-data:/home/lisk/.lisk -it --rm --entrypoint rm lisk/core:4.0.0 -f /home/lisk/.lisk/tmp/blockchain.db.tar.gz
docker run --volume lisk-data:/home/lisk/.lisk -it --rm --entrypoint rm lisk/core:4.0.1 -f /home/lisk/.lisk/tmp/blockchain.db.tar.gz
docker start lisk-core
Expand Down
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,20 +107,20 @@
}
},
"dependencies": {
"@liskhq/lisk-framework-faucet-plugin": "0.3.0",
"@liskhq/lisk-framework-forger-plugin": "0.4.0",
"@liskhq/lisk-framework-monitor-plugin": "0.4.0",
"@liskhq/lisk-framework-report-misbehavior-plugin": "0.4.0",
"@liskhq/lisk-framework-chain-connector-plugin": "0.1.0",
"@liskhq/lisk-framework-faucet-plugin": "0.3.1",
"@liskhq/lisk-framework-forger-plugin": "0.4.1",
"@liskhq/lisk-framework-monitor-plugin": "0.4.1",
"@liskhq/lisk-framework-report-misbehavior-plugin": "0.4.1",
"@liskhq/lisk-framework-chain-connector-plugin": "0.1.1",
"@oclif/core": "1.20.4",
"@oclif/plugin-autocomplete": "1.3.6",
"@oclif/plugin-help": "5.1.19",
"@oclif/plugin-version": "1.1.3",
"axios": "1.6.0",
"fs-extra": "11.1.0",
"inquirer": "8.2.5",
"lisk-commander": "6.0.0",
"lisk-sdk": "6.0.0",
"lisk-commander": "6.0.1",
"lisk-sdk": "6.0.1",
"tar": "6.1.11",
"tslib": "2.4.1"
},
Expand Down

0 comments on commit 894d57d

Please sign in to comment.