From d3049ae4227493993f3cd01594a84e9449add591 Mon Sep 17 00:00:00 2001
From: Manfred Touron <94029+moul@users.noreply.github.com>
Date: Fri, 4 Oct 2024 22:45:04 +0200
Subject: [PATCH 1/5] docs: test3 -> portal loop (#2897)
Update links from test3 to portal loop where appropriate.
---------
Signed-off-by: moul <94029+moul@users.noreply.github.com>
---
README.md | 6 +++---
docs/concepts/gnovm.md | 2 +-
examples/gno.land/r/demo/boards/README.md | 12 ++++++------
examples/gno.land/r/gnoland/home/home.gno | 4 +---
examples/gno.land/r/gnoland/home/home_filetest.gno | 4 +---
examples/gno.land/r/gnoland/pages/page_testnets.gno | 5 +----
gno.land/cmd/gnoweb/README.md | 2 +-
gnovm/README.md | 2 +-
gnovm/cmd/gno/mod.go | 2 +-
gnovm/pkg/gnomod/file_test.go | 6 +++---
10 files changed, 19 insertions(+), 26 deletions(-)
diff --git a/README.md b/README.md
index 19ac161e790..eeffc9adefc 100644
--- a/README.md
+++ b/README.md
@@ -21,9 +21,9 @@ If you haven't already, take a moment to check out our [website](https://gno.lan
> The website is a deployment of our [gnoweb](./gno.land/cmd/gnoweb) frontend; you
> can use it to check out
-> [some](https://test3.gno.land/r/demo/boards)
-> [example](https://test3.gno.land/r/gnoland/blog)
-> [contracts](https://test3.gno.land/r/demo/users).
+> [some](https://gno.land/r/demo/boards)
+> [example](https://gno.land/r/gnoland/blog)
+> [contracts](https://gno.land/r/demo/users).
>
> Use the `[source]` button in the header to inspect the program's source; use
> the `[help]` button to view how you can use [`gnokey`](./gno.land/cmd/gnokey)
diff --git a/docs/concepts/gnovm.md b/docs/concepts/gnovm.md
index 16e43cb0d42..13e55defb71 100644
--- a/docs/concepts/gnovm.md
+++ b/docs/concepts/gnovm.md
@@ -8,7 +8,7 @@ GnoVM is a virtual machine that interprets Gno, a custom version of Go optimized
It works with Tendermint2 and enables smarter, more modular, and transparent appchains with embedded smart-contracts.
It can be adapted for use in TendermintCore, forks, and non-Cosmos blockchains.
-Read the ["Intro to Gnoland"](https://test3.gno.land/r/gnoland/blog:p/intro) blogpost.
+Read the ["Intro to Gnoland"](https://gno.land/r/gnoland/blog:p/intro) blogpost.
This folder focuses on the VM, language, stdlibs, tests, and tools, independent of the blockchain.
This enables non-web3 developers to contribute without requiring an understanding of the broader context.
diff --git a/examples/gno.land/r/demo/boards/README.md b/examples/gno.land/r/demo/boards/README.md
index 628bc9aa349..3aa765df25a 100644
--- a/examples/gno.land/r/demo/boards/README.md
+++ b/examples/gno.land/r/demo/boards/README.md
@@ -8,8 +8,8 @@ name ["gno.land/r/demo/boards"](https://gno.land/r/demo/boards/)
## Build `gnokey`, create your account, and interact with Gno.
NOTE: Where you see `-remote localhost:26657` here, that flag can be replaced
-with `-remote test3.gno.land:26657` if you have $GNOT on the testnet.
-(To use the testnet, also replace `-chainid dev` with `-chainid test3` .)
+with `-remote gno.land:26657` if you have $GNOT on the testnet.
+(To use the testnet, also replace `-chainid dev` with `-chainid portal-loop` .)
### Build `gnokey` (and other tools).
@@ -85,7 +85,7 @@ The `USERNAME` for posting can different than your `KEYNAME`. It is internally l
./build/gnokey maketx call -pkgpath "gno.land/r/demo/users" -func "Register" -args "" -args "USERNAME" -args "Profile description" -gas-fee "10000000ugnot" -gas-wanted "2000000" -send "200000000ugnot" -broadcast -chainid dev -remote 127.0.0.1:26657 KEYNAME
```
-Interactive documentation: https://test3.gno.land/r/demo/users?help&__func=Register
+Interactive documentation: https://gno.land/r/demo/users?help&__func=Register
### Create a board with a smart contract call.
@@ -93,7 +93,7 @@ Interactive documentation: https://test3.gno.land/r/demo/users?help&__func=Regis
./build/gnokey maketx call -pkgpath "gno.land/r/demo/boards" -func "CreateBoard" -args "BOARDNAME" -gas-fee "1000000ugnot" -gas-wanted "10000000" -broadcast -chainid dev -remote localhost:26657 KEYNAME
```
-Interactive documentation: https://test3.gno.land/r/demo/boards?help&__func=CreateBoard
+Interactive documentation: https://gno.land/r/demo/boards?help&__func=CreateBoard
Next, query for the permanent board ID by querying (you need this to create a new post):
@@ -109,7 +109,7 @@ NOTE: If a board was created successfully, your SEQUENCE_NUMBER would have incre
./build/gnokey maketx call -pkgpath "gno.land/r/demo/boards" -func "CreateThread" -args BOARD_ID -args "Hello gno.land" -args "Text of the post" -gas-fee 1000000ugnot -gas-wanted 2000000 -broadcast -chainid dev -remote localhost:26657 KEYNAME
```
-Interactive documentation: https://test3.gno.land/r/demo/boards?help&__func=CreateThread
+Interactive documentation: https://gno.land/r/demo/boards?help&__func=CreateThread
### Create a comment to a post.
@@ -117,7 +117,7 @@ Interactive documentation: https://test3.gno.land/r/demo/boards?help&__func=Crea
./build/gnokey maketx call -pkgpath "gno.land/r/demo/boards" -func "CreateReply" -args BOARD_ID -args "1" -args "1" -args "Nice to meet you too." -gas-fee 1000000ugnot -gas-wanted 2000000 -broadcast -chainid dev -remote localhost:26657 KEYNAME
```
-Interactive documentation: https://test3.gno.land/r/demo/boards?help&__func=CreateReply
+Interactive documentation: https://gno.land/r/demo/boards?help&__func=CreateReply
```bash
./build/gnokey query "vm/qrender" -data "gno.land/r/demo/boards:BOARDNAME/1" -remote localhost:26657
diff --git a/examples/gno.land/r/gnoland/home/home.gno b/examples/gno.land/r/gnoland/home/home.gno
index 921492d81b4..93f9a68f39a 100644
--- a/examples/gno.land/r/gnoland/home/home.gno
+++ b/examples/gno.land/r/gnoland/home/home.gno
@@ -269,9 +269,7 @@ func discoverLinks() ui.Element {
- [Discover demo packages](https://github.com/gnolang/gno/tree/master/examples)
- [Gnoscan](https://gnoscan.io)
- [Portal Loop](https://docs.gno.land/concepts/portal-loop)
-- [Testnet 4](https://test4.gno.land/) (Launched July 2024!)
-- [Testnet 3](https://test3.gno.land/) (archive)
-- [Testnet 2](https://test2.gno.land/) (archive)
+- [Testnet 4](https://test4.gno.land/)
- Testnet Faucet Hub (soon)
diff --git a/examples/gno.land/r/gnoland/home/home_filetest.gno b/examples/gno.land/r/gnoland/home/home_filetest.gno
index b70b22c80af..2260dc3a409 100644
--- a/examples/gno.land/r/gnoland/home/home_filetest.gno
+++ b/examples/gno.land/r/gnoland/home/home_filetest.gno
@@ -56,9 +56,7 @@ func main() {
// - [Discover demo packages](https://github.com/gnolang/gno/tree/master/examples)
// - [Gnoscan](https://gnoscan.io)
// - [Portal Loop](https://docs.gno.land/concepts/portal-loop)
-// - [Testnet 4](https://test4.gno.land/) (Launched July 2024!)
-// - [Testnet 3](https://test3.gno.land/) (archive)
-// - [Testnet 2](https://test2.gno.land/) (archive)
+// - [Testnet 4](https://test4.gno.land/)
// - Testnet Faucet Hub (soon)
//
//
diff --git a/examples/gno.land/r/gnoland/pages/page_testnets.gno b/examples/gno.land/r/gnoland/pages/page_testnets.gno
index 05f29a8e0f4..900ee2e3bf7 100644
--- a/examples/gno.land/r/gnoland/pages/page_testnets.gno
+++ b/examples/gno.land/r/gnoland/pages/page_testnets.gno
@@ -6,10 +6,7 @@ func init() {
body := `
- [Portal Loop](https://docs.gno.land/concepts/portal-loop) - a rolling testnet
- [staging.gno.land](https://staging.gno.land) - wiped every commit to monorepo master
-- test4.gno.land (upcoming)
-- _[test3.gno.land](https://test3.gno.land) (latest)_
-- _[test2.gno.land](https://test2.gno.land) (archive)_
-- _[test1.gno.land](https://test1.gno.land) (archive)_
+- _[test4.gno.land](https://test4.gno.land) (latest)_
For a list of RPC endpoints, see the [reference documentation](https://docs.gno.land/reference/rpc-endpoints).
diff --git a/gno.land/cmd/gnoweb/README.md b/gno.land/cmd/gnoweb/README.md
index 941d5e4f67e..6379d3f6c43 100644
--- a/gno.land/cmd/gnoweb/README.md
+++ b/gno.land/cmd/gnoweb/README.md
@@ -2,7 +2,7 @@
The gno.land web interface.
-Live demo: https://test3.gno.land/
+Live demo: https://gno.land/
## Install `gnoweb`
diff --git a/gnovm/README.md b/gnovm/README.md
index 91419746cfa..2fe4345c367 100644
--- a/gnovm/README.md
+++ b/gnovm/README.md
@@ -4,7 +4,7 @@ GnoVM is a virtual machine that interprets Gnolang, a custom version of Golang o
It works with Tendermint2 and enables smarter, more modular, and transparent appchains with embedded smart-contracts.
It can be used in TendermintCore, forks, and non-Cosmos blockchains.
-Read the ["Intro to Gnoland"](https://test3.gno.land/r/gnoland/blog:p/intro) blogpost.
+Read the ["Intro to Gnoland"](https://gno.land/r/gnoland/blog:p/intro) blogpost.
This folder focuses on the VM, language, stdlibs, tests, and tools, independent of the blockchain.
This enables non-web3 developers to contribute without requiring an understanding of the broader context.
diff --git a/gnovm/cmd/gno/mod.go b/gnovm/cmd/gno/mod.go
index fec1b0ab2c1..03b2bb348a8 100644
--- a/gnovm/cmd/gno/mod.go
+++ b/gnovm/cmd/gno/mod.go
@@ -131,7 +131,7 @@ func (c *modDownloadCfg) RegisterFlags(fs *flag.FlagSet) {
fs.StringVar(
&c.remote,
"remote",
- "test3.gno.land:26657",
+ "gno.land:26657",
"remote for fetching gno modules",
)
diff --git a/gnovm/pkg/gnomod/file_test.go b/gnovm/pkg/gnomod/file_test.go
index 7abfe16f340..a64c2794a65 100644
--- a/gnovm/pkg/gnomod/file_test.go
+++ b/gnovm/pkg/gnomod/file_test.go
@@ -14,7 +14,7 @@ import (
"golang.org/x/mod/module"
)
-const testRemote string = "test3.gno.land:26657"
+const testRemote string = "gno.land:26657" // XXX(race condition): test with a local node so that this test is consistent with git and not with a deploy
func TestFetchDeps(t *testing.T) {
for _, tc := range []struct {
@@ -68,7 +68,7 @@ func TestFetchDeps(t *testing.T) {
"cached gno.land/p/demo/avl",
},
}, {
- desc: "fetch_gno.land/p/demo/blog",
+ desc: "fetch_gno.land/p/demo/blog6",
modFile: File{
Module: &modfile.Module{
Mod: module.Version{
@@ -84,7 +84,7 @@ func TestFetchDeps(t *testing.T) {
},
},
},
- requirements: []string{"avl", "blog", "ufmt"},
+ requirements: []string{"avl", "blog", "ufmt", "mux"},
stdOutContains: []string{
"fetching gno.land/p/demo/blog",
"fetching gno.land/p/demo/avl // indirect",
From 628f965a1983697cf9b197a053e31878409924f0 Mon Sep 17 00:00:00 2001
From: Manfred Touron <94029+moul@users.noreply.github.com>
Date: Sat, 5 Oct 2024 22:47:58 +0200
Subject: [PATCH 2/5] chore(ci): do not mark master as failing due to benchmark
(#2913)
---
.github/workflows/benchmark-master-push.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.github/workflows/benchmark-master-push.yml b/.github/workflows/benchmark-master-push.yml
index ba8c11b2007..a219a49305a 100644
--- a/.github/workflows/benchmark-master-push.yml
+++ b/.github/workflows/benchmark-master-push.yml
@@ -49,7 +49,7 @@ jobs:
max-items-in-chart: 100
# Show alert with commit comment on detecting possible performance regression
alert-threshold: "120%"
- fail-on-alert: true
+ fail-on-alert: false
comment-on-alert: true
alert-comment-cc-users: "@ajnavarro,@thehowl,@zivkovicmilos"
# Enable Job Summary for PRs
From e5840e2aa2ed0e0fdf2d4c43c1d3d277f0cbd47b Mon Sep 17 00:00:00 2001
From: Leon Hudak <33522493+leohhhn@users.noreply.github.com>
Date: Tue, 8 Oct 2024 16:35:31 +0200
Subject: [PATCH 3/5] fix(gnoweb): fix broken link (#2926)
## Description
Fixes a broken link. Closes: #2925
Contributors' checklist...
- [x] Added new tests, or not needed, or not feasible
- [x] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [x] Updated the official documentation or not needed
- [x] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [x] Added references to related issues and PRs
- [x] Provided any useful hints for running manual tests
- [x] Added new benchmarks to [generated
graphs](https://gnoland.github.io/benchmarks), if any. More info
[here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
---
gno.land/pkg/gnoweb/views/realm_help.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gno.land/pkg/gnoweb/views/realm_help.html b/gno.land/pkg/gnoweb/views/realm_help.html
index b9c8e119e7a..0a93f786c0d 100644
--- a/gno.land/pkg/gnoweb/views/realm_help.html
+++ b/gno.land/pkg/gnoweb/views/realm_help.html
@@ -17,7 +17,7 @@
These are the realm's exposed functions ("public smart contracts").
{{ template "func_specs" . }}
From 2f605805efee5b48f26fe8cef2ac69b936845ea3 Mon Sep 17 00:00:00 2001
From: Michelle <117160070+michelleellen@users.noreply.github.com>
Date: Tue, 8 Oct 2024 17:09:38 +0200
Subject: [PATCH 4/5] chore(gnoweb): update page_contribute.gno (#2922)
Added the gno.land grants GH repository link to the page
---
examples/gno.land/r/gnoland/pages/page_contribute.gno | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/examples/gno.land/r/gnoland/pages/page_contribute.gno b/examples/gno.land/r/gnoland/pages/page_contribute.gno
index 3cdef10d9dc..a4bdfabb6ef 100644
--- a/examples/gno.land/r/gnoland/pages/page_contribute.gno
+++ b/examples/gno.land/r/gnoland/pages/page_contribute.gno
@@ -80,7 +80,7 @@ _[3XL]_ \* | $ 32000
The gno.land grants program is to encourage and support the growth of the gno.land contributor community, and build out the usability of the platform and smart contract library. The program provides financial resources to contributors to explore the Gno tech stack, and build dApps, tooling, infrastructure, products, and smart contract libraries in gno.land.
-
+For more details on gno.land grants, suggested topics, and how to apply, visit our grants [repository](https://github.com/gnolang/grants).
## Join Game of Realms
From 912a5dbf5c1d7118472a4f46b26bfcd7f4072856 Mon Sep 17 00:00:00 2001
From: Malek Lahbib <111009238+MalekLahbib@users.noreply.github.com>
Date: Tue, 8 Oct 2024 18:20:04 +0200
Subject: [PATCH 5/5] docs(/p/demo/json): update json package README.md (#2921)
in the three examples provided in the README.md file, there's a useless
import of "fmt" package.
Contributors' checklist...
- [ ] Added new tests, or not needed, or not feasible
- [ ] Provided an example (e.g. screenshot) to aid review or the PR is
self-explanatory
- [ ] Updated the official documentation or not needed
- [ ] No breaking changes were made, or a `BREAKING CHANGE: xxx` message
was included in the description
- [ ] Added references to related issues and PRs
- [ ] Provided any useful hints for running manual tests
- [ ] Added new benchmarks to [generated
graphs](https://gnoland.github.io/benchmarks), if any. More info
[here](https://github.com/gnolang/gno/blob/master/.benchmarks/README.md).
---
examples/gno.land/p/demo/json/README.md | 3 ---
1 file changed, 3 deletions(-)
diff --git a/examples/gno.land/p/demo/json/README.md b/examples/gno.land/p/demo/json/README.md
index 86bc9928194..d983333d246 100644
--- a/examples/gno.land/p/demo/json/README.md
+++ b/examples/gno.land/p/demo/json/README.md
@@ -75,7 +75,6 @@ The converted `Node` type allows you to modify the JSON data or search and extra
package main
import (
- "fmt"
"gno.land/p/demo/json"
"gno.land/p/demo/ufmt"
)
@@ -100,7 +99,6 @@ Encoding (or Marshaling) is the functionality that converts JSON data represente
package main
import (
- "fmt"
"gno.land/p/demo/json"
"gno.land/p/demo/ufmt"
)
@@ -133,7 +131,6 @@ Here is an example of finding data with a specific key. For more examples, pleas
package main
import (
- "fmt"
"gno.land/p/demo/json"
"gno.land/p/demo/ufmt"
)