Home Blockchain Web3 Solidity Memory与storage的区别
Post
Cancel

Blockchain Web3 Solidity Memory与storage的区别

memory:  放在EVM内存中

storage: 持久化在 block上

所以到时候查询一下放在那里合适。

contract的constructor中的参数都是memory

This post is licensed under CC BY 4.0 by the author.