aws-samples / aws-blockchain-node-runners

Run blockchain nodes on cloud
https://aws-samples.github.io/aws-blockchain-node-runners/
MIT No Attribution
56 stars 47 forks source link

updated blocksbehind logic for bsc and .env file for base #111

Closed varnarmat closed 3 months ago

varnarmat commented 3 months ago

What does this PR do?

🛑 Please open an issue first to discuss any significant work and flesh out details/direction - we would hate for your time to be wasted. Consult the CONTRIBUTING guide for submitting pull-requests.

In the syncchecker-bsc.sh file, I added a check in order to be able handle negative values in the case that the current block value is bigger than the highest block value. That way, in the CW dashboard, for the BSC Client Blocks Behind graph, the graph doesn't keep going into the negatives. In addition to that, in the README.md file for Base, I fixed the name of the .env file. It was cp ./sample-configs/.env-sample-rpc .env but should be
cp ./sample-configs/.env-sample-full .env.

Motivation

License

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

More

For Moderators

Additional Notes