-
Notifications
You must be signed in to change notification settings - Fork 13
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
[Migration] Gateway module #371
Conversation
738ac92
to
6f74de9
Compare
ignite scaffold module gateway --dep bank
ignite scaffold map gateway stake:coin --module gateway --no-message --index address --signer address
ignite scaffold message stake_gateway stake:coin --signer address --module gateway
ignite scaffold message unstake_gateway --signer address --module gateway
3b2c749
to
0807acd
Compare
0807acd
to
e3dc8e1
Compare
Address: simAccount.Address.String(), | ||
} | ||
|
||
// TODO: Handling the UnstakeGateway simulation |
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.
(same as #371 (comment))
@@ -0,0 +1 @@ | |||
package types |
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.
package types | |
package types | |
// This file is in place to declare the package for dynamically generated protobufs |
x/gateway/types/msg_update_params.go
Outdated
// ValidateBasic does a sanity check on the provided data. | ||
func (m *MsgUpdateParams) ValidateBasic() error { | ||
if _, err := sdk.AccAddressFromBech32(m.Authority); err != nil { | ||
return errorsmod.Wrap(err, "invalid authority address") |
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 this should probably be a new gateway error type.
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.
Looking good!
Summary
Human Summary
Gateway
module migration based off ofmigration/base
.Issue
Type of change
Select one or more:
Testing
make go_develop_and_test
make test_e2e
devnet-test-e2e
label to the PR. This is VERY expensive, only do it after all the reviews are complete.Sanity Checklist