sui
sui copied to clipboard
[Package Upgrades] Enable Lock Files
Part of #2045
Lock files are an important piece for robust source indexing and verification -- we have recently landed support in a stack ending at move-language/move#861, and this requires integration into Sui.
Steps
- [x] Move bump, past https://github.com/move-language/move/commit/6216ac6d96efd301d9b6ddd839ca26ae3ad2606d to incorporate lock file support.
- [ ] Enable lock files, by setting
BuildConfig::lock_file
to the appropriate path (Move.lock
in the project root). - [ ] Update documentation introducing the concept to the community (lock files are generated by builds, they should be checked in with source, but not modified by hand).
Further Work
Once lock files are ubiquitous, it becomes possible to speed up builds and otherwise improve developer experience by:
- #8344 and parallelising Move package fetches (which now predominantly happen via recursive descent, or linearly).
- https://github.com/MystenLabs/sui/issues/8345