How to fix InvalidBCSBytes Error for Integer Literal in PTB CLI
Sui Sui
7.8K subscribers
117 views
2

 Published On May 16, 2024

Sui Move compiler defaults to u64 for integer type. Fixing InvalidBCSBytes error for integer input just needs the type of the literal to be added as a suffix. e.g. 112u8, 354u16, 999u32.

💧 Sui Website: https://sui.io/
💧 Twitter:   / suinetwork  
💧 Discord:   / discord  
💧 Medium:   / mysten  
💧 Github: https://github.com/MystenLabs
💧 For Developers: https://docs.sui.io/build

ABOUT SUI:
Sui is a permissionless Layer 1 blockchain designed to empower creators and developers to build experiences that enable safe and secure digital asset ownership for everyone. Sui is horizontally scalable to support a wide range of applications that perform with unrivaled speed at low cost.

#suinetwork #blockchain #web3

show more

Share/Embed