-
Notifications
You must be signed in to change notification settings - Fork 410
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
Add tx query to wasmd QueryPlugins for smart contract #788
Comments
Can you please provide a clear use case where this is essential? It may open up some possible non-determinism calling into tendermint, so adding it will require large amount of testing to ensure there is no issue, especially as many validators run patched tendermint versions. |
wasmd theory is to limit functionality to what we know is correct. and even there, we keep finding odd corner cases where the cosmos sdk doesn't behave like we assumed it did |
I want to make a contract on osmosis that manages fund sent from contracts on juno. For example contract A on juno sent 10 ibc juno to this contract, contract A can now send ibc packet to command this contract on what to do with that 10 ibc juno fund. Right now, this can be done by ibc-ing juno to some controlled osmosis account and then use that controlled osmosis account to send the ibc juno to this contract. This means that controlled osmosis account must be trusted or it can be some kind of reflect ibc contract in case the fund is anything related to gov (dao contract for example). I just think that it is really inconvenient. |
This sounds a bit like interchain accounts or a custom protocol built on top of IBC. We provide some very nice integration with IBC, so that you get all their safety guarantees and do not need to replicate them. |
I think this will be useful since in some cases, contracts need proof of on chain actions. Tx can't be query with StargateQuerrier.
The text was updated successfully, but these errors were encountered: