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

Some packages are not recognized on the playground even if they exist #1874

Open
MalekLahbib opened this issue Apr 2, 2024 · 3 comments
Open

Comments

@MalekLahbib
Copy link
Contributor

Description

I added a testfile to the "todolist" realm as asked on the PR #1811 but I have this error msg:

Screenshot from 2024-03-29 10-35-19

you can find my code on my fork. When I test my realm locally on gnodev, it works as it should.

I tried the same project on playground, I deployed the pkg and realm. The realm works as it should, but when I try realm test file on playground I have this error:

Screenshot from 2024-04-01 13-20-18

So I tried my code without "seqid" pkg and had this:

Screenshot from 2024-04-02 13-04-28

@leohhhn tested my code too, and had the same issue, so he asked me to open the issue.

here's the playground link for pkg and realm.

@MalekLahbib MalekLahbib changed the title Some packages are not recognized on the playground if they exists Some packages are not recognized on the playground even if they exist Apr 2, 2024
@MalekLahbib
Copy link
Contributor Author

I realized that the first error msg I was having was because gno was calling my pkg from another repo with a first version of my files that I modified after in my fork. So that problem was solved by reinstalling gno from my fork repo.
The second problem is because Portal loop doesn't have access to the last versions of packages (and to some new pkgs).
I don't know if I have to close this issue or not?

Copy link

This issue is stale because it has been open 6 months with no activity. Remove stale label or comment or this will be closed in 3 months.

@github-actions github-actions bot added the Stale label Nov 20, 2024
@leohhhn
Copy link
Contributor

leohhhn commented Nov 20, 2024

This issue is due to the fact that currently the playground GnoVM does not know about on-chain packages, and thus cannot use them for testing with gno test. @salmad3, do you know if there is an issue in the playground repo about this? We can close this one if that's the case.

@github-actions github-actions bot removed the Stale label Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants