Skip to content

Conversation

@mystenmark
Copy link
Contributor

@mystenmark mystenmark commented Dec 2, 2025

The AccumulatorMetadata repr saves hundreds of bytes per balance and the AccumulatorOwner repr saves hundreds of bytes per unique balance-holding address

…dreds of bytes per balance) and AccumulatorOwner (saves hundreds of bytes per unique address)
@mystenmark mystenmark requested a review from joyqvq as a code owner December 2, 2025 16:23
@mystenmark mystenmark requested a review from lxfind December 2, 2025 16:23
@vercel
Copy link

vercel bot commented Dec 2, 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 Dec 2, 2025 4:25pm
2 Skipped Deployments
Project Deployment Preview Comments Updated (UTC)
multisig-toolkit Ignored Ignored Preview Dec 2, 2025 4:25pm
sui-kiosk Ignored Ignored Preview Dec 2, 2025 4:25pm

@mystenmark mystenmark temporarily deployed to sui-typescript-aws-kms-test-env December 2, 2025 16:23 — with GitHub Actions Inactive
@mystenmark mystenmark changed the title Add efficient type representations for AccumulatorMetadata (saves hundreds of bytes per balance) and AccumulatorOwner (saves hundreds of bytes per unique address) Add efficient type representations for AccumulatorMetadata and AccumulatorOwner Dec 2, 2025
MoveObjectType_::BalanceAccumulatorMetadataField(balance_type)
}
} else {
MoveObjectType_::Other(s)
Copy link
Contributor

Choose a reason for hiding this comment

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

hmm when would this happen? Could you add a comment here if it's legit case?
Similarly for the same thing above in the is_balance_accumulator_field case

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.

3 participants