Skip to main content

One doc tagged with "Bytes32 vs String"

View All Tags

Bytes32 vs String

In Solidity, the type of data storage you choose can affect the gas cost of your contract operations, especially when storing or modifying state variables. The Ethereum Virtual Machine (EVM) charges gas for all operations, and the choice between using bytes32 and string types can impact these costs.