z_22_d_filetest.gno
0.35 Kb ยท 23 lines
1package main
2
3import (
4 "std"
5 "testing"
6
7 boards2 "gno.land/r/gnoland/boards2/v1"
8)
9
10const owner = std.Address("g16jpf0puufcpcjkph5nxueec8etpcldz7zwgydq") // @devx
11
12func main() {
13 testing.SetRealm(std.NewUserRealm(owner))
14
15 boards2.LockRealm(cross, true)
16
17 println(boards2.IsRealmLocked())
18 println(boards2.AreRealmMembersLocked())
19}
20
21// Output:
22// true
23// true