Skip to content

Commit

Permalink
Merge pull request #3 from Keydonix/upgrade
Browse files Browse the repository at this point in the history
upgrade to parity 2.2.7
  • Loading branch information
epheph authored Jan 21, 2019
2 parents df8505c + 1545451 commit c276165
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 16 deletions.
12 changes: 6 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
1 change: 0 additions & 1 deletion chain-spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
"eip161dTransition": "0x0",
"eip155Transition": "0x0",
"eip98Transition": "0x7fffffffffffff",
"eip86Transition": "0x7fffffffffffff",
"maxCodeSize": 24576,
"maxCodeSizeTransition": "0x0",
"eip140Transition": "0x0",
Expand Down
18 changes: 9 additions & 9 deletions config.toml
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit c276165

Please sign in to comment.