z_22_d_filetest.gno

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