From 4e58502e9922e1bde993cfb78187a580bc291491 Mon Sep 17 00:00:00 2001 From: leohhhn Date: Thu, 16 Jan 2025 22:26:29 +0100 Subject: [PATCH] make fmt --- examples/gno.land/r/demo/boards/public.gno | 2 +- examples/gno.land/r/demo/boards/z_0_c_filetest.gno | 2 +- examples/gno.land/r/demo/boards/z_0_d_filetest.gno | 2 +- examples/gno.land/r/demo/boards/z_0_filetest.gno | 3 ++- examples/gno.land/r/demo/boards/z_12_c_filetest.gno | 3 ++- examples/gno.land/r/demo/boards/z_12_d_filetest.gno | 3 ++- examples/gno.land/r/demo/boards/z_7_filetest.gno | 2 +- 7 files changed, 10 insertions(+), 7 deletions(-) diff --git a/examples/gno.land/r/demo/boards/public.gno b/examples/gno.land/r/demo/boards/public.gno index 8487c78081d..a1bc8c14a4b 100644 --- a/examples/gno.land/r/demo/boards/public.gno +++ b/examples/gno.land/r/demo/boards/public.gno @@ -20,7 +20,7 @@ func CreateBoard(name string) BoardID { if !(std.IsOriginCall() || std.PrevRealm().IsUser()) { panic("invalid non-user call") } - + bid := incGetBoardID() caller := std.GetOrigCaller() if usernameOf(caller) == "" { diff --git a/examples/gno.land/r/demo/boards/z_0_c_filetest.gno b/examples/gno.land/r/demo/boards/z_0_c_filetest.gno index c894cde055b..755359d15f0 100644 --- a/examples/gno.land/r/demo/boards/z_0_c_filetest.gno +++ b/examples/gno.land/r/demo/boards/z_0_c_filetest.gno @@ -15,7 +15,7 @@ var bid boards.BoardID func init() { std.TestSetRealm(std.NewUserRealm(std.Address("g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm"))) // so that CurrentRealm.Addr() matches OrigCaller std.TestSetRealm(std.NewUserRealm(std.Address("g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm"))) // so that CurrentRealm.Addr() matches OrigCaller -users.Register("gnouser123") + users.Register("gnouser123") boards.CreateThread(1, "First Post (title)", "Body of the first post. (body)") } diff --git a/examples/gno.land/r/demo/boards/z_0_d_filetest.gno b/examples/gno.land/r/demo/boards/z_0_d_filetest.gno index 14f5130fef6..bc6cc6b62bf 100644 --- a/examples/gno.land/r/demo/boards/z_0_d_filetest.gno +++ b/examples/gno.land/r/demo/boards/z_0_d_filetest.gno @@ -15,7 +15,7 @@ var bid boards.BoardID func init() { std.TestSetRealm(std.NewUserRealm(std.Address("g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm"))) // so that CurrentRealm.Addr() matches OrigCaller std.TestSetRealm(std.NewUserRealm(std.Address("g1wymu47drhr0kuq2098m792lytgtj2nyx77yrsm"))) // so that CurrentRealm.Addr() matches OrigCaller -users.Register("gnouser123") + users.Register("gnouser123") bid = boards.CreateBoard("test_board") boards.CreateReply(bid, 0, 0, "Reply of the second post") } diff --git a/examples/gno.land/r/demo/boards/z_0_filetest.gno b/examples/gno.land/r/demo/boards/z_0_filetest.gno index 52ea5af0675..4a0df90fd41 100644 --- a/examples/gno.land/r/demo/boards/z_0_filetest.gno +++ b/examples/gno.land/r/demo/boards/z_0_filetest.gno @@ -2,9 +2,10 @@ package boards_test import ( + "std" + "gno.land/r/demo/boards" users "gno.land/r/gnoland/users/v1" - "std" ) var bid boards.BoardID diff --git a/examples/gno.land/r/demo/boards/z_12_c_filetest.gno b/examples/gno.land/r/demo/boards/z_12_c_filetest.gno index 5ffa884ee4f..d5d78b2a890 100644 --- a/examples/gno.land/r/demo/boards/z_12_c_filetest.gno +++ b/examples/gno.land/r/demo/boards/z_12_c_filetest.gno @@ -4,9 +4,10 @@ package boards_test // SEND: 200000000ugnot import ( + "std" + "gno.land/r/demo/boards" users "gno.land/r/gnoland/users/v1" - "std" ) func main() { diff --git a/examples/gno.land/r/demo/boards/z_12_d_filetest.gno b/examples/gno.land/r/demo/boards/z_12_d_filetest.gno index 137b2637328..74c936e1d05 100644 --- a/examples/gno.land/r/demo/boards/z_12_d_filetest.gno +++ b/examples/gno.land/r/demo/boards/z_12_d_filetest.gno @@ -4,9 +4,10 @@ package boards_test // SEND: 200000000ugnot import ( + "std" + "gno.land/r/demo/boards" users "gno.land/r/gnoland/users/v1" - "std" ) func main() { diff --git a/examples/gno.land/r/demo/boards/z_7_filetest.gno b/examples/gno.land/r/demo/boards/z_7_filetest.gno index 1e98458a4cd..43136353e5c 100644 --- a/examples/gno.land/r/demo/boards/z_7_filetest.gno +++ b/examples/gno.land/r/demo/boards/z_7_filetest.gno @@ -5,7 +5,7 @@ package boards_test import ( "std" - + "gno.land/r/demo/boards" users "gno.land/r/gnoland/users/v1" )