-
Notifications
You must be signed in to change notification settings - Fork 4
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
chore: Remove Background Voting Loop #59
Conversation
echo "done" | ||
} | ||
|
||
waitForBlock() ( |
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.
looks like waitForBlock
is still in use. I see a call to it below.
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.
strange that ci passed.
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.
Noted. In dapp-offer-up
, we are pulling the definition of waitForBlock
from /usr/src/upgrade-test-scripts/env_setup.sh
rather than defining it here. I would rather keep run-chain.sh
identical in both dapps. Let me know which one is preferable.
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.
yes, let's keep it identical.
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.
Looks like waitForBlock
is still used.
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.
ok except any removal of the final newline
contract/scripts/run-chain.sh
Outdated
|
||
make -C /workspace/contract mint100 | ||
|
||
# bring back chain process to foreground | ||
wait | ||
wait |
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.
Is that removing the final newline? Let's not do that.
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.
Added back.
contract/scripts/run-chain.sh
Outdated
wait |
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.
This is a fixup (a change to some earlier change in this PR), not a fix (a change in the behavior of the code w.r.t. what was previously released or merged). In agoric-sdk, we auto-squash on merge, but I don't think that's set up here, so please squash and force-push.
Not critical, but let's work toward Tidy Commit History in general.
0500327
to
9a1bf00
Compare
9a1bf00
to
2639959
Compare
Duplicating similar work in
dapp-offer-up
of removing voting loop running in the background.