Move.

帖子

分享您的知识。

Tawhid.
Mar 14, 2025
专家问答

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
分享
评论
.

答案

1
DRAMA.
Mar 14 2025, 22:40

最大移动矢量长度为 1024 个 u256 类型的项目. 只要你不超过这个限制,你的测试就可能不会失败.

1
评论
.

你知道答案吗?

请登录并分享。

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

148帖子231答案
Sui.X.Peera.

赚取你的 1000 Sui 份额

获取声誉积分,并因帮助 Sui 社区成长而获得奖励。

奖励活动五月
我们使用 cookie 确保您在我们的网站上获得最佳体验。
更多信息