You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been out for a few weeks and coming back there is a new change that I wasn't expecting. When I am working on a realm (currently working on /r/demo/art/haiku), I am finding that gnoland is automatically creating a realm before making a transaction.
Reproduce
Create a realm folder (I'm using https://github.com/schollz/gno/tree/realm/haiku with the haiku realm added) and start gnoland. I use the following script to spin-up a fresh gnoland locally:
#!/bin/bash# run from gno/ folder
pkill -f 'build/gnoland'
pkill -f 'build/gnoweb'
rm -rf gno.land/testdir
cd gno.land && ./build/gnoland start &
sleep 3
cd gno.land && ./build/gnoweb -bind 0.0.0.0:8888 &
sleep 3
Now I can query the realm before creating a transaction to add it:
> curl localhost:8888/r/demo/art/haiku
Expected behaviour
Previously, the behavior was that it would produce a response correctly saying it could not find realm:
Yes, expected behaviour. #763 (tl;dr: everything with a gno.mod in examples gets automatically loaded)
Because realm/pkg upgrades are still up for discussion (#694), current behaviour is to reject any addpkg to an existing path. Suggestion is to change the name to something else. (For my own pet-project, I configured an auto-deployer that watches for fs changes, and publishes the realm with a random numerical suffix, ie gno.land/r/demo/chess_1234)
Description
I've been out for a few weeks and coming back there is a new change that I wasn't expecting. When I am working on a realm (currently working on
/r/demo/art/haiku
), I am finding thatgnoland
is automatically creating a realm before making a transaction.Reproduce
Create a realm folder (I'm using https://github.com/schollz/gno/tree/realm/haiku with the haiku realm added) and start gnoland. I use the following script to spin-up a fresh gnoland locally:
Now I can query the realm before creating a transaction to add it:
Expected behaviour
Previously, the behavior was that it would produce a response correctly saying it could not find realm:
Actual behaviour
Now it actually prints out some HTML from a different realm:
Problem
The problem is that I can't seem to add a realm anymore because it "already exists" though it has not actually been added:
Perhaps this is all expected behavior now? If so, I'm not sure how to add my realm in when starting gnoland.
The text was updated successfully, but these errors were encountered: