diff --git a/erc20/Ropsten_foreign.toml b/erc20/Ropsten_foreign.toml index 84ec913..c50e1c5 100644 --- a/erc20/Ropsten_foreign.toml +++ b/erc20/Ropsten_foreign.toml @@ -1,7 +1,7 @@ [parity] chain = "ropsten" -base_path = "/opt/storage/Ropsten" -keys_path = "/home/koal/parity/keys" +base_path = "/home/koal/poa/test" +keys_path = "./keys" [network] port = 30343 @@ -25,4 +25,4 @@ port = 48546 [account] unlock = ["0xf3ee321df87781864f46f6464e764c2827fca73b"] -password = ["/home/koal/parity/keys/passwd/foreign_f3ee321df87781864f46f6464e764c2827fca73b.pwd"] +password = ["./keys/passwd/foreign_f3ee321df87781864f46f6464e764c2827fca73b.pwd"] diff --git a/erc20/parity_Ropsten_foreign.sh b/erc20/parity_Ropsten_foreign.sh deleted file mode 100755 index 3df6da7..0000000 --- a/erc20/parity_Ropsten_foreign.sh +++ /dev/null @@ -1,8 +0,0 @@ -#!/bin/bash - -PARITY_EXEC=/opt/parity/parity -PARITY_CONFIG=/home/koal/parity/Ropsten_foreign.toml -#DEBUG_RPC='-l rpc=trace' -EXTRA_CONFIG='--no-ancient-blocks' - -exec ${PARITY_EXEC} --config ${PARITY_CONFIG} ${DEBUG_RPC} ${EXTRA_CONFIG} diff --git a/erc20/start_Ropsten_foreign.sh b/erc20/start_Ropsten_foreign.sh index 38481f2..c87c640 100755 --- a/erc20/start_Ropsten_foreign.sh +++ b/erc20/start_Ropsten_foreign.sh @@ -1,5 +1,18 @@ #!/bin/bash +PARITY_BASE="/home/koal/poa" +TASK="ropsten_foreign" +PARITY_CONFIG="Ropsten_foreign.toml" +TASK_WORK_DIR="${PARITY_BASE}/test" + +#DEBUG_RPC='-l rpc=trace' +EXTRA_CONFIG='--no-ancient-blocks' + +configdir=`dirname $0` +cd ${configdir} + +source start_common.sh + PARITY_BASE="/home/koal/parity" RUNNER="parity_Ropsten_foreign.sh" TASK="Ropsten_foreign"