sui
sui copied to clipboard
[3/x][dynamic child loading] Dynamic child runtime and modules
- Added child loading to the move runtime
- Added the dynamic field modules that expose the new APIs
- Minimal tests and usages so far
Needs #5240
Apologies for yet another really large PR... Tried not doing it this time, but so many of the spots depended on each other and I felt like the motivations for the changes wasn't clear without the APIs so here we are...
For reviewing:
- I would start with dynamic_field.move and then dynamic_object_field.move
- Then go to their native implementation, in dynamic_field.rs
- Then work down the stack and how it affects the runtime in object_runtime/mod.rs and object_runtime/object_store.rs
Big update here fixing a bunch of incorrect behavior with the transaction effects