Skip to content

Upgrade workspace to Move compiler v1.62.1#12

Open
SSez wants to merge 12 commits into
circlefin:masterfrom
SSez:master
Open

Upgrade workspace to Move compiler v1.62.1#12
SSez wants to merge 12 commits into
circlefin:masterfrom
SSez:master

Conversation

@SSez

@SSez SSez commented Feb 6, 2026

Copy link
Copy Markdown

Summary

  • bump all Sui dependencies to mainnet-v1.62.1
  • update Move.lock files and fix deprecated APIs (vec_set, type_name, etc.)

Notes

  • Verified regenerated lockfiles with Move 1.62.1 toolchain.
  • No behavior change beyond API compatibility.

@SSez

SSez commented Feb 6, 2026

Copy link
Copy Markdown
Author

Suggestion:
coin::create_regulated_currency_v2 is kind of a legacy convenience helper. It does a lot at once (treasury cap, deny cap, metadata) inside usdc.move, which makes the setup a bit opaque.

The newer pattern is to use coin_registry::new_currency_with_otw, then call make_regulated() before finalize(). That flow registers the coin in the global registry, tracks the regulated state properly, and gives you things like global pause + better ecosystem/compliance.

Probably worth switching to the registry-based flow so this matches the current regulated currency standard and plays nicely with wallets/exchanges going forward.

@SSez

SSez commented Feb 7, 2026

Copy link
Copy Markdown
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant