Move.

Post

Share your knowledge.

Tawhid.
Mar 14, 2025
Expert Q&A

Why isn't my Move vector test failing with over 1000 items?

I'm running a test using the Move language where I am adding more than 1000 items to a vector. I've heard that there's a limit where vectors can only hold a maximum of 1000 items. Could anyone explain why my test isn't failing?

  • Move CLI
  • Move
0
1
Share
Comments
.

Answers

1
DRAMA.
Mar 14 2025, 22:40

The maximum Move vector length is 1024 items of type u256. As long as you don't exceed that limit, your tests likely won't fail.

1
Comments
.

Do you know the answer?

Please log in and share it.

Move is an executable bytecode language used to implement custom transactions and smart contracts.

148Posts231Answers
Sui.X.Peera.

Earn Your Share of 1000 Sui

Gain Reputation Points & Get Rewards for Helping the Sui Community Grow.

Reward CampaignMay
We use cookies to ensure you get the best experience on our website.
More info