Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update rotate_keys.sh #37

Merged
merged 1 commit into from
Aug 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions rotate_keys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ prompt_for_input() {
}

# Prompt user for base path
base_path=$(prompt_for_input "Enter the base path for the node (e.g., /tmp/node01): ")
base_path=$(prompt_for_input "Enter the base path for the node (e.g., /var/log/argochain): ")

# Prompt user for chain specification file
chain_spec=$(prompt_for_input "Enter the chain specification file (e.g., minervaRaw.json): ")
Expand Down Expand Up @@ -63,4 +63,4 @@ rotate_key "imon" "Sr25519" "$base_path" "$chain_spec"


echo "Node has now been injected with new validator keys."
./target/release/argochain --chain $chain_spec --name $name
./target/release/argochain --chain $chain_spec --name $name --validator --base-path $base_path
Loading