-
Notifications
You must be signed in to change notification settings - Fork 336
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
Vugu question #448
Comments
Thank you for responding @bradleypeabody, I don't have many quesitons right now, as we are currently working on the low-level bindings between wasm and our cosmwasm-vm runtime (custom ways to pass binary data different than JS land and some callbacks). But once we got a "ping-pong" example working, I would love to check with you on some libraries you used and gotchas of what can or cannot be done (I know a good chunk of the standard lib is not supported, but probably doesn't matter for app development). Also, if there are any common libraries that are blockers, let me know... we might want the same and can help port them. The one general issue I have now is getting the same code to run under Go and TinyGo. We use a few different packages under one root. To get it to compile in TinyGo, we have to remove the Any ideas on proper module handling? @KamiD is also working heavily on getting TinyGo wasm to work with cosmwasm |
@ethanfrey Okay cool and that all makes sense. On the imports, part of the reason I ended up making the devutil package and wrapping the build process is due to this same issue. The current implementation either uses docker's As regards testing, while I'm sure it can be improved (and I hope to put something together meant for outside just Vugu's own maintenance), what I ended up doing was making a docker container that acts as a webserver and runs headless Chrome and then the _test.go stuff drives it - building each test, creating a headless browser and then browsing to it and verifying that the pieces on the page look correct. The guts of it are here: https://github.com/vugu/vugu/tree/master/wasm-test-suite |
good advise, I will try it in my environment |
Closing this here because the Go standard library for CosmWasm smart contracts is developed in a different repository (still private). Feel free to continue the conversation over there. |
@ethanfrey
Sounds great to me. I see all the github issues for github.com/vugu/vugu and related projects so feel free to ask questions there. I'm on the Gophers Slack. And brad at vugu dot org also works.
The text was updated successfully, but these errors were encountered: