-
Notifications
You must be signed in to change notification settings - Fork 334
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
Document cross-contract (and ibc) queries #98
Comments
After much thinking, I think the "readonly recent snapshot" is good for both the actor model theory and rust borrowing rules. It will take some changes to the eg. if a contract queries it's erc20 balance before releasing it, that balance may be off if I had another msg in the same transaction that sent funds here. I would prefer to be explicit here to never require this to work, and leave us the flexibility of the actor model. If this is absolutely needed for some use cases in the future, we can revisit this decision. But it is always easier to provide more accurate data to a contract without breaking things, than provide less accurate data. We will also add a gas price per call and a max depth (as we have the overhead of many contracts open simultaneously), as well as enforce no call cycles. |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
chore: create merge commit 0.12.0
This is left as TODO until 0.7 for open theoretical issues.
Let's think a bit more and finalize the design (so we can update the implementation)
The text was updated successfully, but these errors were encountered: