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 recently changed my computer (Fedora -> Mac) so my Gno installation is fresh, and I discovered that it was working correctly on my Fedora (that was installed on commit 93299802, which is at the time of writing 56 commits behind master).
It also works correctly on @agherasie's Mac, where he installed Gno at the same time as I did on my Fedora.
After doing a git checkout and make install on this commit, it works.
Looks like something broke in the meantime, I don't really know where, probably in gnodev ?
Or maybe in gno-js that doesn't support latest versions of gnodev ?, exact commit in the comment below
Your environment
Mac M3
master, 31a5f2ea
Steps to reproduce
Use evaluateExpression from gno-js (my usage: provider.evaluateExpression("gno.land/r/demo/gnovox", "GetBlogs()")
Run gnodev locally to serve the realm called (my usage: gnodev ./contract/r/gnovox)
Notice that the evaluateExpression return an error: Request timed out while other methods work correctly
Expected behaviour
It should returns a result, in my case (nil []string)
Actual behaviour
Throws an error: Request timed out
Logs
The text was updated successfully, but these errors were encountered:
PS: When testing locally these particular commits, you won't be able to launch gnodev because of the wrong package name introduced here: feat: add r/demo/bar20 example and fixed here fix(examples): update /r/demo/bar20/gno.mod
So either remove the bar20 or edit the gno.mod like the fix to be able to run gnodev
Bug recently introduced makes
gno-js
'sprovider.evaluateExpression
timeoutDescription
I'm trying to build a Medium-like app using Gno.
I started a bare-minimum contract and frontend (with gno-js and Adena), but when using
provider.evaluateExpression
it timeouts.But the issue isn't with the websocket connexion, as calling
provider.getFunctionSignatures
orprovider.getFileContent
works fine.I recently changed my computer (Fedora -> Mac) so my Gno installation is fresh, and I discovered that it was working correctly on my Fedora (that was installed on commit
93299802
, which is at the time of writing 56 commits behindmaster
).It also works correctly on @agherasie's Mac, where he installed Gno at the same time as I did on my Fedora.
After doing a
git checkout
andmake install
on this commit, it works.Looks like something broke in the meantime,
I don't really know where, probably in, exact commit in the comment belowgnodev
?Or maybe in
gno-js
that doesn't support latest versions ofgnodev
?Your environment
31a5f2ea
Steps to reproduce
evaluateExpression
fromgno-js
(my usage:provider.evaluateExpression("gno.land/r/demo/gnovox", "GetBlogs()")
gnodev ./contract/r/gnovox
)evaluateExpression
return an error:Request timed out
while other methods work correctlyExpected behaviour
It should returns a result, in my case
(nil []string)
Actual behaviour
Throws an error:
Request timed out
Logs
The text was updated successfully, but these errors were encountered: