Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

优化合约生成 #124

Open
nanmuxiusi opened this issue Aug 6, 2019 · 1 comment
Open

优化合约生成 #124

nanmuxiusi opened this issue Aug 6, 2019 · 1 comment

Comments

@nanmuxiusi
Copy link

  1. 生成合约时,nonce, validUntilBlock, version, chainId这几个参数都是重复要输入的,自动获取或者通过构造函数传入
  2. 非payable的函数生成方法应该不用传value
  3. 生成合约类时候对于 payable 函数多一个 weivalue,大家不理解,最好能在文档或社区中增加一篇详细说明
    来源用户反馈:https://talk.citahub.com/t/topic/777
@luotuo29
Copy link

  1. 生成合约时,nonce, validUntilBlock, version, chainId这几个参数都是重复要输入的,自动获取或者通过构造函数传入
  2. 非payable的函数生成方法应该不用传value
  3. 生成合约类时候对于 payable 函数多一个 weivalue,大家不理解,最好能在文档或社区中增加一篇详细说明
    来源用户反馈:https://talk.citahub.com/t/topic/777

这种改法会不会让原来使用的代码版本更新后引发不可用?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants