diff --git a/.github/goreleaser-master.yaml b/.github/goreleaser-master.yaml index ffe122153da..bca52615db8 100644 --- a/.github/goreleaser-master.yaml +++ b/.github/goreleaser-master.yaml @@ -500,3 +500,4 @@ nightly: tag_name: master publish_release: true keep_single_release: true + name_template: "{{ incpatch .Version }}-{{ .ShortCommit }}-master" \ No newline at end of file diff --git a/.github/goreleaser-nightly.yaml b/.github/goreleaser-nightly.yaml index 0cb2a50b633..3dac915b7cd 100644 --- a/.github/goreleaser-nightly.yaml +++ b/.github/goreleaser-nightly.yaml @@ -499,3 +499,4 @@ nightly: tag_name: nightly publish_release: true keep_single_release: true + name_template: "{{ incpatch .Version }}-{{ .ShortCommit }}-nightly" \ No newline at end of file diff --git a/.github/goreleaser.yaml b/.github/goreleaser.yaml index 35fdfbea0e5..ab98aa92555 100644 --- a/.github/goreleaser.yaml +++ b/.github/goreleaser.yaml @@ -493,9 +493,4 @@ release: You can find all docker images at: - https://github.com/orgs/gnolang/packages?repo_name={{ .ProjectName }} - -nightly: - tag_name: nightly - publish_release: true - keep_single_release: true + https://github.com/orgs/gnolang/packages?repo_name={{ .ProjectName }} \ No newline at end of file diff --git a/LICENSE.md b/LICENSE.md index b5d453a337e..be2cf7f5999 100644 --- a/LICENSE.md +++ b/LICENSE.md @@ -20,7 +20,7 @@ You should have received a copy of the GNO Network General Public License along with this program. If not, see . Attached below are the terms of the GNO Network General Public License, Version -4 (a fork of the GNU Afferro General Public License 3). +4 (a fork of the GNU Affero General Public License 3). ## Additional Terms @@ -409,7 +409,7 @@ that material) supplement the terms of this License with terms: - g) Requiring strong attribution such as notices on any user interfaces that run or convey any covered work, such as a prominent link to a URL on the header of a website, such that all users of the covered work may - become aware of the the notice, for a period no longer than 20 years. + become aware of the notice, for a period no longer than 20 years. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you diff --git a/contribs/Makefile b/contribs/Makefile index 5a2a00fc2ef..e743351bcfd 100644 --- a/contribs/Makefile +++ b/contribs/Makefile @@ -3,7 +3,7 @@ help: @echo "Available make commands:" @cat Makefile | grep '^[a-z][^:]*:' | cut -d: -f1 | sort | sed 's/^/ /' -programs=gnodev gnofaucet +programs=$(wildcard */) # command to run dependency utilities, like goimports. rundep=go run -modfile ../misc/devdeps/go.mod diff --git a/contribs/gnodev/README.md b/contribs/gnodev/README.md index fca018c83bf..6da9e7b1ebc 100644 --- a/contribs/gnodev/README.md +++ b/contribs/gnodev/README.md @@ -2,6 +2,8 @@ `gnodev` is designed to be a robust and user-friendly tool in your realm package development journey, streamlining your workflow and enhancing productivity. +We will only give a quick overview below. You may find the official documentation at [docs/gno-tooling/gnodev.md](../../docs/gno-tooling/cli/gnodev.md). + ### Synopsis **gnodev** [**-minimal**] [**-no-watch**] [**PKG_PATH ...**] diff --git a/contribs/gnodev/cmd/gnodev/main.go b/contribs/gnodev/cmd/gnodev/main.go index 7cca6cb793f..d175a02ec9d 100644 --- a/contribs/gnodev/cmd/gnodev/main.go +++ b/contribs/gnodev/cmd/gnodev/main.go @@ -309,11 +309,13 @@ func execDev(cfg *devCfg, args []string, io commands.IO) (err error) { return runEventLoop(ctx, logger, book, rt, devNode, watcher) } -var helper string = ` +var helper string = `For more in-depth documentation, visit the GNO Tooling CLI documentation: +https://docs.gno.land/gno-tooling/cli/gno-tooling-gnodev + A Accounts - Display known accounts and balances H Help - Display this message -R Reload - Reload all packages to take change into account. -Ctrl+R Reset - Reset application state. +R Reload - Reload all packages to take change into account +Ctrl+R Reset - Reset application state Ctrl+C Exit - Exit the application ` diff --git a/contribs/gnofaucet/Makefile b/contribs/gnofaucet/Makefile index 03ef409cac9..b520a17182f 100644 --- a/contribs/gnofaucet/Makefile +++ b/contribs/gnofaucet/Makefile @@ -5,3 +5,9 @@ install: .PHONY: build build: go build -o build/gnofaucet . + +test: + @echo "XXX: add tests" + +lint: + @echo "XXX: add lint" diff --git a/contribs/gnokeykc/Makefile b/contribs/gnokeykc/Makefile new file mode 100644 index 00000000000..f953631b529 --- /dev/null +++ b/contribs/gnokeykc/Makefile @@ -0,0 +1,8 @@ +install: + go install . + +test: + @echo "XXX: add tests" + +lint: + @echo "XXX: add lint" diff --git a/contribs/gnomd/Makefile b/contribs/gnomd/Makefile new file mode 100644 index 00000000000..f953631b529 --- /dev/null +++ b/contribs/gnomd/Makefile @@ -0,0 +1,8 @@ +install: + go install . + +test: + @echo "XXX: add tests" + +lint: + @echo "XXX: add lint" diff --git a/docs/concepts/effective-gno.md b/docs/concepts/effective-gno.md index 8e589f41845..8f563b192dc 100644 --- a/docs/concepts/effective-gno.md +++ b/docs/concepts/effective-gno.md @@ -597,7 +597,7 @@ In this example, `GetPost` is a function that retrieves a post from the loading any other posts. In the future, we plan to add built-in "map" support that will match the -efficienty of an `avl.Tree` while offering a more intuitive API. Until then, if +efficiency of an `avl.Tree` while offering a more intuitive API. Until then, if you're dealing with a compact dataset, it's probably best to use slices. For larger datasets where you need to quickly retrieve elements by keys, `avl.Tree` is the way to go. diff --git a/docs/concepts/stdlibs/gnopher-hole.md b/docs/concepts/stdlibs/gnopher-hole.md index b9ce0c700af..c1e52cde8a3 100644 --- a/docs/concepts/stdlibs/gnopher-hole.md +++ b/docs/concepts/stdlibs/gnopher-hole.md @@ -6,7 +6,7 @@ id: gnopher-hole-stdlib ## Native bindings -Gno has support for "natively-defined" functions exclusively within the standard +Gno has support for "natively-defined" functions exclusively within the standard libraries. These are functions which are _declared_ in Gno code, but only _defined_ in Go. There are generally three reasons why a function should be natively defined: diff --git a/docs/gno-infrastructure/validators/faq.md b/docs/gno-infrastructure/validators/faq.md index a84cf9ee635..296015eda5f 100644 --- a/docs/gno-infrastructure/validators/faq.md +++ b/docs/gno-infrastructure/validators/faq.md @@ -46,14 +46,14 @@ network. ### What stage is the Gno.land project in? Gno.land is currently in Testnet 3, the single-node testnet stage. The next version, Testnet 4, is scheduled to go live -in Q2 2024, which will include a validator set implementation for a multinode environment. +in Q3 2024, which will include a validator set implementation for a multinode environment. ## Becoming a Validator ### How do I join the testnet as a validator? Out of many official Gno testnets, Testnet4 (`test4`) is the purpose-built network for testing the multi-node validator -environment prior to mainnet launch. Testnet4 is scheduled to go live in Q2 2024 with genesis validators consisting of +environment prior to mainnet launch. Testnet4 is scheduled to go live in Q3 2024 with genesis validators consisting of the Gno Core Team, partners, and external contributors. For more information about joining testnet4, diff --git a/docs/how-to-guides/creating-grc20.md b/docs/how-to-guides/creating-grc20.md index 34e3fb59991..4c43f02b454 100644 --- a/docs/how-to-guides/creating-grc20.md +++ b/docs/how-to-guides/creating-grc20.md @@ -17,7 +17,7 @@ Our **GRC20** Realm will have the following functionality: ## 1. Importing token package For this realm, we import the `grc20` package, as this includes -the main functionality of our token realm. The package can be found the +the main functionality of our token realm. The package can be found at the `gno.land/p/demo/grc/grc20` path. [embedmd]:# (../assets/how-to-guides/creating-grc20/mytoken-1.gno go) @@ -55,7 +55,7 @@ The code snippet above does the following: pointer to the GRC20 token type, `grc20.AdminToken`, - Defines and sets the value of `admin` with a type of `std.Address` to contain the address of the deployer -- Initializes `mytoken` as a new GRC20 token, and set its name, symbol, and +- Initializes `mytoken` as a new GRC20 token, and sets its name, symbol, and decimal values, - Mint 1 million units of `My Token` and assign them to the admin's address. diff --git a/examples/gno.land/p/demo/uassert/uassert.gno b/examples/gno.land/p/demo/uassert/uassert.gno index 61885574360..0bae30f0730 100644 --- a/examples/gno.land/p/demo/uassert/uassert.gno +++ b/examples/gno.land/p/demo/uassert/uassert.gno @@ -88,7 +88,7 @@ func PanicsWithMessage(t TestingT, msg string, f func(), msgs ...string) bool { } if panicValue != msg { - return fail(t, msgs, "func should panic with message:\t%s\n\tPanic value:\t%s", panicValue, msg) + return fail(t, msgs, "func should panic with message:\t%s\n\tPanic value:\t%s", msg, panicValue) } return true } @@ -126,7 +126,7 @@ func Equal(t TestingT, expected, actual interface{}, msgs ...string) bool { if av, ok := actual.(string); ok { equal = ev == av ok_ = true - es, as = ev, as + es, as = ev, av } case std.Address: if av, ok := actual.(std.Address); ok { diff --git a/examples/gno.land/p/demo/uassert/uassert_test.gno b/examples/gno.land/p/demo/uassert/uassert_test.gno index a881070a04b..bd1194c4dff 100644 --- a/examples/gno.land/p/demo/uassert/uassert_test.gno +++ b/examples/gno.land/p/demo/uassert/uassert_test.gno @@ -89,14 +89,14 @@ func TestPanicsWithMessage(t *testing.T) { }) { t.Error("PanicsWithMessage should return false") } - mockT.equals(t, "error: func should panic with message:\tpanic\n\tPanic value:\tat the disco") + mockT.equals(t, "error: func should panic with message:\tat the disco\n\tPanic value:\tpanic") if PanicsWithMessage(mockT, "Panic!", func() { panic("panic") }) { t.Error("PanicsWithMessage should return false") } - mockT.equals(t, "error: func should panic with message:\tpanic\n\tPanic value:\tPanic!") + mockT.equals(t, "error: func should panic with message:\tPanic!\n\tPanic value:\tpanic") } func TestNotPanics(t *testing.T) { diff --git a/examples/gno.land/r/gnoland/home/home.gno b/examples/gno.land/r/gnoland/home/home.gno index 07ce461020b..43b3a052662 100644 --- a/examples/gno.land/r/gnoland/home/home.gno +++ b/examples/gno.land/r/gnoland/home/home.gno @@ -195,7 +195,8 @@ func packageStaffPicks() ui.Element { ui.Link{URL: "r/demo/microblog"}, ui.Link{URL: "r/demo/nft"}, ui.Link{URL: "r/demo/types"}, - ui.Link{URL: "r/demo/art"}, + ui.Link{URL: "r/demo/art/gnoface"}, + ui.Link{URL: "r/demo/art/millipede"}, ui.Link{URL: "r/demo/groups"}, ui.Text("..."), }, diff --git a/examples/gno.land/r/gnoland/home/home_filetest.gno b/examples/gno.land/r/gnoland/home/home_filetest.gno index 919f8dd4fbc..2f2ac26f2fe 100644 --- a/examples/gno.land/r/gnoland/home/home_filetest.gno +++ b/examples/gno.land/r/gnoland/home/home_filetest.gno @@ -133,7 +133,8 @@ func main() { // - [r/demo/microblog](r/demo/microblog) // - [r/demo/nft](r/demo/nft) // - [r/demo/types](r/demo/types) -// - [r/demo/art](r/demo/art) +// - [r/demo/art/gnoface](r/demo/art/gnoface) +// - [r/demo/art/millipede](r/demo/art/millipede) // - [r/demo/groups](r/demo/groups) // - ... // diff --git a/examples/gno.land/r/gnoland/pages/page_license.gno b/examples/gno.land/r/gnoland/pages/page_license.gno index 6c477fb27e6..77bdd8cdaab 100644 --- a/examples/gno.land/r/gnoland/pages/page_license.gno +++ b/examples/gno.land/r/gnoland/pages/page_license.gno @@ -20,7 +20,7 @@ You should have received a copy of the GNO Network General Public License along with this program. If not, see . Attached below are the terms of the GNO Network General Public License, Version -4 (a fork of the GNU Afferro General Public License 3). +4 (a fork of the GNU Affero General Public License 3). ## Additional Terms @@ -409,7 +409,7 @@ that material) supplement the terms of this License with terms: - g) Requiring strong attribution such as notices on any user interfaces that run or convey any covered work, such as a prominent link to a URL on the header of a website, such that all users of the covered work may - become aware of the the notice, for a period no longer than 20 years. + become aware of the notice, for a period no longer than 20 years. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you