Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gno Playground - deploy on portal loop does not take my namespace input #2682

Closed
MikaelVallenet opened this issue Aug 13, 2024 · 3 comments
Closed

Comments

@MikaelVallenet
Copy link
Member

Gno Playground deploy with my registered namespace

Description

I'm trying to deploy a simple hello world realm on the portal loop where I've registered my namespace (cf. https://gno.land/r/demo/users). but it does not read my input and try to deploy to /r//<realm_name>.

I tried to set my input equal to my address too, but I didn't have this problem when I deploy on testnet 4 and the deployment modal pre-fills my address.

I can deploy under my namespace using the CLI but cannot using gno playground.
I think it's just reading the namespace entry that doesn't work.

https://www.loom.com/share/75b0c3cd27324edaaac642f49fbe908c?sid=da4451fb-4044-4678-8173-ef3f4ea6ea57

Your environment

  • Google Chrome: Version 127.0.6533.88 (Official Build) (64-bit)
  • Adena: Version 1.11.0

Steps to reproduce

  • Register username as namespace on portal loop
  • Use the web UI to deploy under your namespace

Expected behaviour

deploy the contract and render here: https://gno.land/r/mikaelvallenet/hello

Actual behaviour

Error:

msg:0,success:false,log:--= Error =--
Data: vm.InvalidPkgPathError{abciError:vm.abciError{}}
Msg Traces:
    0  /home/runner/work/gno/gno/gno.land/pkg/sdk/vm/errors.go:44 - invalid package/realm path "gno.land/r//hello", failed to match "^gno\\.land\\/(?:p|r)(?:\\/_?[a-z]+[a-z0-9_]*)+$"
Stack Trace:
    0  /home/runner/work/gno/gno/tm2/pkg/errors/errors.go:20
    1  /home/runner/work/gno/gno/gno.land/pkg/sdk/vm/errors.go:44
    2  /home/runner/work/gno/gno/gno.land/pkg/sdk/vm/keeper.go:381
    3  /home/runner/work/gno/gno/gno.land/pkg/sdk/vm/handler.go:44
    4  /home/runner/work/gno/gno/gno.land/pkg/sdk/vm/handler.go:31
    5  /home/runner/work/gno/gno/tm2/pkg/sdk/baseapp.go:646
    6  /home/runner/work/gno/gno/tm2/pkg/sdk/baseapp.go:823
    7  /home/runner/work/gno/gno/tm2/pkg/sdk/baseapp.go:577
    8  /home/runner/work/gno/gno/tm2/pkg/bft/abci/client/local_client.go:82
    9  /home/runner/work/gno/gno/tm2/pkg/bft/appconn/app_conn.go:74
   10  /home/runner/work/gno/gno/tm2/pkg/bft/state/execution.go:265
   11  /home/runner/work/gno/gno/tm2/pkg/bft/state/execution.go:102
   12  /home/runner/work/gno/gno/tm2/pkg/bft/consensus/state.go:1370
   13  /home/runner/work/gno/gno/tm2/pkg/bft/consensus/state.go:1294
   14  /home/runner/work/gno/gno/tm2/pkg/bft/consensus/state.go:1240
   15  /home/runner/work/gno/gno/tm2/pkg/bft/consensus/state.go:1271
   16  /home/runner/work/gno/gno/tm2/pkg/bft/consensus/state.go:1684
   17  /home/runner/work/gno/gno/tm2/pkg/bft/consensus/state.go:1518
   18  /home/runner/work/gno/gno/tm2/pkg/bft/consensus/state.go:696
   19  /home/runner/work/gno/gno/tm2/pkg/bft/consensus/state.go:655
   20  /opt/hostedtoolcache/go/1.22.5/x64/src/runtime/asm_amd64.s:1695
--= /Error =--
,events:[]
@leohhhn
Copy link
Contributor

leohhhn commented Aug 13, 2024

Hey @MikaelVallenet, thanks for opening up this issue. This is a known bug and is being fixed right now by the team.

@leohhhn
Copy link
Contributor

leohhhn commented Sep 17, 2024

This was fixed.

@leohhhn leohhhn closed this as completed Sep 17, 2024
@linear linear bot reopened this Nov 1, 2024
@thehowl
Copy link
Member

thehowl commented Nov 6, 2024

Linear re-opened this, but it's incorrect.

@thehowl thehowl closed this as completed Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

3 participants