-
Notifications
You must be signed in to change notification settings - Fork 208
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
Autopilot Channel Verification #728
Conversation
a019426
to
1ea62da
Compare
1ea62da
to
0f49b0f
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.
Looks pretty good, requesting a couple new tests
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 great, a few small comments but should be very quick. Excellent test coverage. Thank you for doing this!
dockernet/scripts/airdrop/README.md
Outdated
@@ -0,0 +1,23 @@ | |||
## Airdrop Integration Tests | |||
Each airdrop testing script (1 through 4) tests differnet aspects of the airdrop. |
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.
extreme nit: differnet -> different
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.
done
sleep 5 | ||
|
||
# AIRDROP CLAIMS | ||
# Check balances before claims | ||
echo "Initial balance before claim:" | ||
$STRIDE_MAIN_CMD query bank balances stride1nf6v2paty9m22l3ecm7dpakq2c92ueyununayr | ||
# QUESTION: I assume these tests cannot be run back to back - but if they can then I can change the expectations below to be deltas |
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.
I think they actually can be re-run but it requires the airdrop duration (line 38) to be something smaller, like 240s. imo not worth prioritizing this now, given it'll also take time to modify all of the queries, and I don't think we'll be running these back-to-back very often
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.
yup agreed! I think for now we should treat these tests as idempotent scripts that need a dockernet restart each time. And we can always come back and try to make them idempotent later, but low priority!
@@ -13,6 +13,7 @@ message Params { repeated Airdrop airdrops = 1; } | |||
message Airdrop { | |||
string airdrop_identifier = 1 | |||
[ (gogoproto.moretags) = "yaml:\"airdrop_identifier\"" ]; | |||
string chain_id = 7; |
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.
just curious, why add chain_id
here instead of after param 6?
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.
just my OCD taking over haha, It felt like a more logical ordering of the fields, plus it aligns with the ordering of the cli args
Resolutions look good to me |
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.
couple of minor changes, otherwise lgtm!
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.
lgtm
118df0d
to
0c68fa1
Compare
Closes: #XXX
Context and purpose of the change
Brief Changelog
Author's Checklist
I have...
If skipped any of the tests above, explain.
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
Documentation and Release Note
Unreleased
section inCHANGELOG.md
?How is the feature or change documented?
XXX
x/<module>/spec/
)