-
Notifications
You must be signed in to change notification settings - Fork 382
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
Bug recently introduced makes gno-js
's provider.evaluateExpression
timeout
#2420
Comments
I'll dig this evening if I have some time to try to find the commit where this broke. |
This is the commit where it broke: fix: (gnovm) star expr assign for It was working fine in the commit just before: feat: refactor govdao structure and examples PS: When testing locally these particular commits, you won't be able to launch |
Hey @RezaRahemtola, Thank you for opening up the issue 🙏 I'll look into it, and let you know what I find |
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: