-
Notifications
You must be signed in to change notification settings - Fork 406
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
x/wasm hooks #1683
Comments
Thanks for bringing this topic up. I am happy to see new ideas and use cases rising. |
Are intra contract calls routed through msg_server? If so that would help me with exactly what I want |
yes, you can find all the message handling in https://github.com/CosmWasm/wasmd/blob/v0.44.0/x/wasm/keeper/handler_plugin.go#L54 The wasm keeper has private functions to not mess with the authorization system but we could provide some adapter here to help you out |
For a couple of months I've been thinking about a cosmwasm system where there can be namespaces: ability to upload codes to a namespace where they can interact each other but also open permissions to other namespaces you can think of like linux namespaces and a firewall.
First I thought just playing around with a fork but then I think that this could also be achieved if another module had access to hooks like
then an
x/namespace
module can just subscribe to hooks and apply whatever logic.This is just an idea but not sure if others would find this interesting our useful
The text was updated successfully, but these errors were encountered: