-
Notifications
You must be signed in to change notification settings - Fork 623
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
ICS20 authz E2E happy path #2996
ICS20 authz E2E happy path #2996
Conversation
func getValidatorsAndFullNodes() (int, int) { | ||
if testconfig.IsCI() { | ||
return 4, 1 | ||
} | ||
return 1, 0 | ||
} |
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.
unrelated QOL change to allow running tests locally to run faster.
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.
nice
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 i love this!
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.
Nice work! LGTM 🚀
func getValidatorsAndFullNodes() (int, int) { | ||
if testconfig.IsCI() { | ||
return 4, 1 | ||
} | ||
return 1, 0 | ||
} |
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.
nice
e2e/tests/transfer/authz_test.go
Outdated
suite.Require().NoError(err) | ||
}) | ||
|
||
t.Run("exec MsgTransfer", func(t *testing.T) { |
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.
wonder if we should reword this a little
t.Run("exec MsgTransfer", func(t *testing.T) { | |
t.Run("broadcast MsgExec for ibc MsgTransfer", func(t *testing.T) { |
@@ -129,6 +130,13 @@ func GetChainBTag() string { | |||
return chainBTag | |||
} | |||
|
|||
// IsCI returns true if the tests are running in CI, false is returned | |||
// if the tests are running locally. | |||
// Note: github actions passes a CI env value of true by default to all runners. |
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.
nice 🎉
e2e/tests/transfer/authz_test.go
Outdated
suite.Require().Equal(testvalues.IBCTransferAmount, actualBalance) | ||
}) | ||
|
||
t.Run("granter grant spend limit reduced", func(t *testing.T) { |
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.
should we try to broadcast another MsgGrant
to make sure it overwrites the first?
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.
nice work :)
Description
ref: #2964
Commit Message / Changelog Entry
see the guidelines for commit messages. (view raw markdown for examples)
Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.
docs/
) or specification (x/<module>/spec/
).godoc
comments.Files changed
in the Github PR explorer.Codecov Report
in the comment section below once CI passes.