From 1545451acc3b6eae16e1ce8c8502442bdeccbbba Mon Sep 17 00:00:00 2001 From: Scott Bigelow Date: Sun, 20 Jan 2019 14:58:10 -0800 Subject: [PATCH] upgrade to parity 2.2.7 --- Dockerfile | 12 ++++++------ chain-spec.json | 1 - config.toml | 18 +++++++++--------- 3 files changed, 15 insertions(+), 16 deletions(-) diff --git a/Dockerfile b/Dockerfile index d06239a..8bdae8c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ -FROM parity/parity:v1.11.1 +FROM parity/parity:v2.2.7 WORKDIR / -COPY dev-key.json /parity/keys/DevChain/dev-key.json -COPY chain-spec.json /parity/chain-spec.json -COPY config.toml /parity/config.toml -RUN echo "" > /parity/password +COPY dev-key.json /home/parity/keys/DevChain/dev-key.json +COPY chain-spec.json /home/parity/chain-spec.json +COPY config.toml /home/parity/config.toml +RUN echo "" > /home/parity/password -ENTRYPOINT [ "/parity/parity", "--config", "/parity/config.toml" ] +ENTRYPOINT [ "/home/parity/bin/parity", "--config", "/home/parity/config.toml" ] # docker image build --tag keydonix/parity-instant-seal . # docker container run --rm -it -p 8000:8000 -p 8001:8001 -p 8545:8545 -p 8180:8180 --name parity-instant-seal keydonix/parity-instant-seal diff --git a/chain-spec.json b/chain-spec.json index 575c0c5..b48b2b5 100644 --- a/chain-spec.json +++ b/chain-spec.json @@ -14,7 +14,6 @@ "eip161dTransition": "0x0", "eip155Transition": "0x0", "eip98Transition": "0x7fffffffffffff", - "eip86Transition": "0x7fffffffffffff", "maxCodeSize": 24576, "maxCodeSizeTransition": "0x0", "eip140Transition": "0x0", diff --git a/config.toml b/config.toml index 39a5655..413e5f2 100644 --- a/config.toml +++ b/config.toml @@ -1,22 +1,22 @@ [parity] # Local Development Chain -chain = "/parity/chain-spec.json" +chain = "/home/parity/chain-spec.json" # Forces Parity to run even if there are known issues regarding consensus. Not recommended. no_consensus = true -# Blockchain and settings will be stored in /parity. -base_path = "/parity" -# Parity databases will be stored in /parity/chains. -db_path = "/parity/chains" -# Your encrypted private keys will be stored in /parity/keys. -keys_path = "/parity/keys" +# Blockchain and settings will be stored in /home/parity. +base_path = "/home/parity" +# Parity databases will be stored in /home/parity/chains. +db_path = "/home/parity/chains" +# Your encrypted private keys will be stored in /home/parity/keys. +keys_path = "/home/parity/keys" # Parity will not save local transaction queue to disk. no_persistent_txqueue = true [account] # From: [0x913da4198e6be1d5f5e4a40d0667f70c0b5430eb] you'll be able to send tranasactions without password. unlock = ["0x913da4198e6be1d5f5e4a40d0667f70c0b5430eb"] -# File at /parity/password should contain passwords to unlock your accounts. One password per line. -password = ["/parity/password"] +# File at /home/parity/password should contain passwords to unlock your accounts. One password per line. +password = ["/home/parity/password"] [network] # Enable or disable new peers discovery.