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

It would be better if root-shard.mainnet.rchain.coop was a script argument #70

Open
Bill-Kunj opened this issue Jun 26, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@Bill-Kunj
Copy link
Contributor

          It would be better if `root-shard.mainnet.rchain.coop` was a script argument

Originally posted by @Bill-Kunj in #67 (comment)

@azazime azazime added the enhancement New feature or request label Jul 3, 2023
@azazime
Copy link
Collaborator

azazime commented Jul 3, 2023

##Check all validator last block

#Get the script argument
arg="$1"

i=0
while [ $i -lt 30 ]; do
lastblock=$(curl -s https://$arg/api/blocks | jq ".[0].blockNumber")
echo node$i $lastblock
i=$(($i+1))
#exit
done

does this work?

@Bill-Kunj
Copy link
Contributor Author

does this work?

Well, you've got the $arg correct, but I think maybe it should be $i.$arg?

@azazime
Copy link
Collaborator

azazime commented Jul 8, 2023

$i.$arg didn't seem to work correctly

@Bill-Kunj
Copy link
Contributor Author

Now that mainnet is down, I guess we have to figure it out for devnet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants