// PKGPATH: gno.land/r/g1ftppd2jpfx0p8cy08th4u9whwvqcpychhlad28/z3 // Moves past one bucket still read back right, and an author is capped. package z3 import ( "strconv" "gno.land/r/g1ftppd2jpfx0p8cy08th4u9whwvqcpychhlad28/moves/v3" ) func main(cur realm) { for i := 0; i < moves.MaxPerAuthor; i++ { moves.Publish(cross(cur), "M"+strconv.Itoa(i)+"/"+strconv.Itoa(40+i)+"/P24") } println(moves.Count(), moves.Recipe(1), moves.Recipe(16), moves.Recipe(17), moves.Recipe(32)) println(moves.Render("move/33")) moves.Publish(cross(cur), "One More/40/P24") } // Error: // an author can publish 32 moves