z1_dress_yourself_filetest.gno
0.40 Kb · 15 lines
1// Calling the wardrobe from your own realm: you are the realm acting, not
2// the steward.
3
4// PKGPATH: gno.land/r/g1zkzjmyveh7euq83h5zhnhj6mg0d7kr35nphzd2/tailor
5
6package tailor
7
8import "gno.land/r/g15c02s5hhdny9uvr9za3xsyn9sw8p0klptrh6kf/cellar/livery"
9
10func main(cur realm) {
11 livery.Dress(address("g1zkzjmyveh7euq83h5zhnhj6mg0d7kr35nphzd2"))
12}
13
14// Error:
15// livery: only the steward hands out the livery