Closed Stebalien closed 2 years ago
Note: in terms of reverts, the FVM handles that for us. The FVM keeps state "layers" for every call. If any call "reverts", all effects of that call (recursively) are discarded.
Proposed Design
rt.send
with a function that:
sself::get_root
) and compares it with the saved root.NOTE: we could exempt method 0 sends, but that's probably not worth it.
@Stebalien I added this to the checklist based on Quartz milestone assigned.
We need to efficiently:
The current runtime abstraction doesn't work for us here, so we'll likely have to extend it. Specifically, we need to, e.g., be able to learn the state "root" without actually reading it.
Examples: