Solidity是一个有诸多限制的语言,部署智能合约以及运行都需要gas. 部署的时候如果程序太大,所需要的gas会超过一个区块的上限,这样就没法部署合约.如果用metamask测试的话会弹出以下警告,强行执行部署交易也没用: Gas estimation errored with the following message (see below). The transaction execution will likely fail. Do you want to force sending?…