-
Notifications
You must be signed in to change notification settings - Fork 397
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
feat: refactor valopers to remove r/sys/validators
dependency
#3830
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: D4ryl00 <[email protected]>
Signed-off-by: D4ryl00 <[email protected]>
Signed-off-by: D4ryl00 <[email protected]>
🛠 PR Checks SummaryAll Automated Checks passed. ✅ Manual Checks (for Reviewers):
Read More🤖 This bot helps streamline PR reviews by verifying automated checks and providing guidance for contributors and reviewers. ✅ Automated Checks (for Contributors):🟢 Maintainers must be able to edit this pull request (more info) ☑️ Contributor Actions:
☑️ Reviewer Actions:
📚 Resources:Debug
|
Signed-off-by: D4ryl00 <[email protected]>
r/sys/validators
dependency
Signed-off-by: D4ryl00 <[email protected]>
r/sys/validators
dependencyr/sys/validators
dependency
|
||
// MakeProposal creates a proposal to the GovDAO | ||
// for adding the given valoper to the validator set. | ||
func MakeProposal(strAddress string) { |
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.
Why strAddress string
and not just std.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.
To be able to call this function from gnokey CLI directly, e.g.:
gnokey maketx call -pkgpath "gno.land/r/gnoland/valoper_dao_proposal" -func "MakeProposal" -gas-fee 1000000ugnot -gas-wanted 20000000 -broadcast -chainid "dev" -args "g1jg8mtutu9khhfwc4nxmuhcpftf0pajdhfvsqf5" -remote "tcp://127.0.0.1:26657" test1
and so don't need to create a gno file to create a std.Address
object and run it with gnokey maketx run...
.
Do you think it isn't worth it?
fixes #3567