Skip to content

Conversation

@lxfind
Copy link
Contributor

@lxfind lxfind commented Nov 16, 2025

Description

Make the Move API public for object balance withdraw.
Check in runtime to make sure it cannot be called if accumulator is not enabeld.

Test plan

Added a test to check that when accumulator is disabled, one cannot withdraw from objects.


Release notes

Check each box that your changes affect. If none of the boxes relate to your changes, release notes aren't required.

For each box you select, include information after the relevant heading that describes the impact of your changes that a user might notice and any actions they must take to implement updates.

  • Protocol:
  • Nodes (Validators and Full nodes):
  • gRPC:
  • JSON-RPC:
  • GraphQL:
  • CLI:
  • Rust SDK:
  • Indexing Framework:

@vercel
Copy link

vercel bot commented Nov 16, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
sui-docs Ready Ready Preview Comment Nov 25, 2025 5:25pm
2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
multisig-toolkit Ignored Ignored Preview Nov 25, 2025 5:25pm
sui-kiosk Ignored Ignored Preview Nov 25, 2025 5:25pm

@lxfind lxfind temporarily deployed to sui-typescript-aws-kms-test-env November 16, 2025 02:51 — with GitHub Actions Inactive
@lxfind lxfind force-pushed the xun/enable-object-withdraw-move branch from a7c2a63 to 1f5d267 Compare November 17, 2025 17:15
@lxfind lxfind temporarily deployed to sui-typescript-aws-kms-test-env November 17, 2025 17:15 — with GitHub Actions Inactive
@lxfind lxfind changed the base branch from main to mlogan-balance-checks November 17, 2025 17:16
@lxfind lxfind force-pushed the xun/enable-object-withdraw-move branch from 1f5d267 to 36aa1c7 Compare November 17, 2025 17:17
@lxfind lxfind temporarily deployed to sui-typescript-aws-kms-test-env November 17, 2025 17:18 — with GitHub Actions Inactive
@lxfind lxfind force-pushed the xun/enable-object-withdraw-move branch from 36aa1c7 to d74761d Compare November 17, 2025 17:24
@lxfind lxfind temporarily deployed to sui-typescript-aws-kms-test-env November 17, 2025 17:24 — with GitHub Actions Inactive
@lxfind lxfind force-pushed the xun/enable-object-withdraw-move branch from d74761d to d84b945 Compare November 17, 2025 17:58
@lxfind lxfind temporarily deployed to sui-typescript-aws-kms-test-env November 17, 2025 17:58 — with GitHub Actions Inactive
@lxfind lxfind force-pushed the xun/enable-object-withdraw-move branch from d84b945 to a072733 Compare November 17, 2025 18:44
@lxfind lxfind temporarily deployed to sui-typescript-aws-kms-test-env November 17, 2025 18:44 — with GitHub Actions Inactive
@lxfind lxfind force-pushed the xun/enable-object-withdraw-move branch from a072733 to 7e468c0 Compare November 17, 2025 19:16
@lxfind lxfind temporarily deployed to sui-typescript-aws-kms-test-env November 17, 2025 19:18 — with GitHub Actions Inactive
@lxfind lxfind force-pushed the xun/enable-object-withdraw-move branch from 7e468c0 to 523fd07 Compare November 17, 2025 20:40
@lxfind lxfind temporarily deployed to sui-typescript-aws-kms-test-env November 17, 2025 20:40 — with GitHub Actions Inactive
@lxfind lxfind requested a review from tnowacki November 17, 2025 22:15
@lxfind lxfind force-pushed the xun/enable-object-withdraw-move branch from 523fd07 to 28dd2b8 Compare November 17, 2025 23:16
@mystenmark mystenmark force-pushed the mlogan-balance-checks branch 2 times, most recently from b421a25 to b7ee335 Compare November 20, 2025 16:49
@mystenmark mystenmark requested a review from a team as a code owner November 20, 2025 16:49
@mystenmark mystenmark force-pushed the mlogan-balance-checks branch from b7ee335 to 7c5fd41 Compare November 20, 2025 20:54
@lxfind lxfind force-pushed the xun/enable-object-withdraw-move branch from 28dd2b8 to 91d0dfc Compare November 20, 2025 21:15
Base automatically changed from mlogan-balance-checks to main November 20, 2025 21:16
@lxfind lxfind force-pushed the xun/enable-object-withdraw-move branch 2 times, most recently from 08e6017 to 24eac85 Compare November 20, 2025 21:18
@lxfind lxfind temporarily deployed to sui-typescript-aws-kms-test-env November 20, 2025 21:18 — with GitHub Actions Inactive
@lxfind lxfind requested a review from tnowacki November 20, 2025 21:26
Copy link
Contributor

@tnowacki tnowacki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Move side of things LGTM. I have not looked too closely at the various unit tests so I will leave it to @mystenmark to approve


/// Attempted to check a feature flag name that is not valid UTF-8.
#[allow(unused_const)]
#[error(code = 1)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you emit this from the native, I don't think you will get a message ever... though maybe @tzakian has ideas

@lxfind lxfind force-pushed the xun/enable-object-withdraw-move branch from dab6bc6 to f2d2bb0 Compare November 25, 2025 17:21
@lxfind lxfind temporarily deployed to sui-typescript-aws-kms-test-env November 25, 2025 17:21 — with GitHub Actions Inactive
@lxfind lxfind changed the base branch from main to xun/check-feature-flag-in-move November 25, 2025 17:21
@lxfind
Copy link
Contributor Author

lxfind commented Nov 25, 2025

Rebased on top of #24422

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.

4 participants