@@ -16,24 +16,8 @@ import (
1616// Test updating a name via GovDAO
1717var c address = runtime.OriginCaller()
1818
19- const gUsersV1Path = "gno.land/r/gnoland/users/v1"
20-
21- // Register a namespace for every addresses
22- // Necessary to test GovDAO Vote
23- func registerTestUser(addrs ...address) {
24- // Set realm to users admin to register test user
25- testing.SetRealm(testing.NewCodeRealm(gUsersV1Path))
26- for _, addr := range addrs {
27- err := susers.RegisterUser(cross, addr.String()[1:], addr)
28- if err != nil {
29- panic(err.Error() + " : " + addr.String())
30- }
31- }
32- }
33-
3419func init() {
3520 daov3init.InitWithUsers(c)
36- registerTestUser(c)
3721
3822 alice := testutils.TestAddress("alice")
3923
@@ -83,7 +67,7 @@ func main() {
8367// [> Go to Memberstore <](/r/gov/dao/v3/memberstore)
8468// ## Proposals
8569// ### [Prop #0 - User Registry V1: Rename user `alice123` to `alice_new123`](/r/gov/dao:0)
86- // Author: [@1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm](/u/1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm)
70+ // Author: g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm
8771//
8872// Status: ACTIVE
8973//
@@ -94,7 +78,7 @@ func main() {
9478//
9579// --
9680// ## Prop #0 - User Registry V1: Rename user `alice123` to `alice_new123`
97- // Author: [@1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm](/u/1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm)
81+ // Author: g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm
9882//
9983//
10084//
@@ -116,12 +100,10 @@ func main() {
116100// [Vote YES](/r/gov/dao$help&func=MustVoteOnProposalSimple&option=YES&pid=0) | [Vote NO](/r/gov/dao$help&func=MustVoteOnProposalSimple&option=NO&pid=0) | [Vote ABSTAIN](/r/gov/dao$help&func=MustVoteOnProposalSimple&option=ABSTAIN&pid=0)
117101//
118102// WARNING: Please double check transaction data before voting.
119- //
120- // **New**: Members **must** have a namespace to vote to enforce simpler tracking.
121103// --
122104// --
123105// ## Prop #0 - User Registry V1: Rename user `alice123` to `alice_new123`
124- // Author: [@1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm](/u/1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm)
106+ // Author: g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm
125107//
126108//
127109//
@@ -143,12 +125,10 @@ func main() {
143125// [Vote YES](/r/gov/dao$help&func=MustVoteOnProposalSimple&option=YES&pid=0) | [Vote NO](/r/gov/dao$help&func=MustVoteOnProposalSimple&option=NO&pid=0) | [Vote ABSTAIN](/r/gov/dao$help&func=MustVoteOnProposalSimple&option=ABSTAIN&pid=0)
144126//
145127// WARNING: Please double check transaction data before voting.
146- //
147- // **New**: Members **must** have a namespace to vote to enforce simpler tracking.
148128// --
149129// --
150130// ## Prop #0 - User Registry V1: Rename user `alice123` to `alice_new123`
151- // Author: [@1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm](/u/1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm)
131+ // Author: g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm
152132//
153133//
154134//
@@ -170,6 +150,4 @@ func main() {
170150// [Vote YES](/r/gov/dao$help&func=MustVoteOnProposalSimple&option=YES&pid=0) | [Vote NO](/r/gov/dao$help&func=MustVoteOnProposalSimple&option=NO&pid=0) | [Vote ABSTAIN](/r/gov/dao$help&func=MustVoteOnProposalSimple&option=ABSTAIN&pid=0)
171151//
172152// WARNING: Please double check transaction data before voting.
173- //
174- // **New**: Members **must** have a namespace to vote to enforce simpler tracking.
175153// g1v9kxjcm9ta047h6lta047h6lta047h6lzd40gh
0 commit comments