-
Notifications
You must be signed in to change notification settings - Fork 6
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
fix: miscellaneous cleanups #39
Conversation
82fb01b
to
cf9dfcb
Compare
b77e52a
to
1265d17
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Besides a couple nits, this overall looks like good reliability tweaks
latest_height=$(ag0 status | jq -r .SyncInfo.latest_block_height) | ||
height=$(($latest_height + $voting_period_s + 10)) | ||
|
||
latest_height=$(agd status | jq -r .SyncInfo.latest_block_height) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: the ag0
-> agd
rename here should be in the previous commit
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree. Though I think it's worth letting slide to land this now.
While trying to build Docker images with QEMU, I fixed a few issues with sensitivity to races and timeouts. Here they are:
PROPOSAL_STATUS_FAILED
, which means the upgrade was scheduled to start before the voting period was oversoftware-upgrade
height to mitigate thePROPOSAL_STATUS_FAILED
problemsAlso for my sanity when working on the
start_*.sh
scripts:agd
toag0
instart_ag0.sh
to reduce noise when trying to compare or copy-and-paste code fromstart_to_to.sh
.