rooch-network / rooch

VApp Container with Move Language for Bitcoin ecosystem
https://rooch.network
Apache License 2.0
158 stars 83 forks source link

[framework][break] cleanup deprecated functions of packages #2548

Closed pause125 closed 3 weeks ago

pause125 commented 3 weeks ago

Summary

continue of #2529

resolve #2505 resolve #2517

break changes: @stevenlaw123 @wow-sven @jolestar @baichuan3

  1. The format of exported package binary by rooch move build is changed.
  2. New publishing workflow: rooch move framework-upgrade is deprecated. Now there are two ways to publish modules: 1). Run rooch move publish directly 2). Run rooch move bulid -p <path/to/package> --export to export package binary. And then run rooch move run --function 0x2::module_store::publish_package_entry --sender default --args 'file:path/to/package.blob' to submit the transaction.
  3. refactor stdlib artifacts.
vercel[bot] commented 3 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
rooch-portal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 1, 2024 10:02am
rooch-portal-v2.1 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 1, 2024 10:02am
1 Skipped Deployment | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **rooch** | ⬜️ Ignored ([Inspect](https://vercel.com/rooch/rooch/2LugaTrZYdNGMJYiSuRu7oHJR6EZ)) | [Visit Preview](https://rooch-git-fork-pause125-clean-rooch.vercel.app) | | Sep 1, 2024 10:02am |
pause125 commented 3 weeks ago

@wow-sven 0x2::module_store::publish_modules_entry is deprecated, the sdk need to be updated to use 0x2::module_store::publish_package_entry instead.

pause125 commented 3 weeks ago

@jolestar New feature added, pls review again.

wow-sven commented 3 weeks ago

@wow-sven 0x2::module_store::publish_modules_entry is deprecated, the sdk need to be updated to use 0x2::module_store::publish_package_entry instead.

sdk publish package it has not been officially used, and we can enable this pr after it is passed