In many Solidity examples I read that use strings for parameters or return values, I see they are typed as bytes32
although there's a string
type. What is the real reason for that?
Thanks.
Ethereum Stack Exchange is a question and answer site for users of Ethereum, the crypto value and blockchain-based consensus network. It's 100% free, no registration required.
Sign up
Sign up
Here's how it works:
- Anybody can ask a question
- Anybody can answer
- The best answers are voted up and rise to the top
|
||||
|
2 main reasons:
|
|||||||||
|