Skip to content

Updating Parity

Alex edited this page Jul 2, 2019 · 1 revision

Configuration

Add remote upstream paritytech

git remote add paritytech https://github.com/paritytech/parity-ethereum.git

Fetch upstream tags from paritytech

git fetch --tags paritytech

Updating Parity

Checkout by-block-hash branch

git checkout by-block-hash

List remote upstream tags

git ls-remote --tags paritytech
git tag -l v\*

Merge latest tagged version into by-block-hash branch

git merge <tag_name>

Building Parity

Build parity via Docker

docker build -t parity .

Extract parity from image

docker run -v $PWD:/mnt --rm --entrypoint cp parity target/release/parity /mnt/parity