cloud8little
cloud8little
1. help message: PASS  2. block avgtime PASS  3. block sync PASS   4. block time PASS  5. block timesincelast PASS  6. block timestamp PASS...
@meevee98 could you help answer the #14 please? https://github.com/neo-project/neo-modules/pull/188#issuecomment-657949676
> @superboyiii @cloud8little can you or someone else check this one? > When there's a mismatch of Magic and Network attributes, the consensus can't start. Yes, it is intended, when...
可以这么理解,调用代理合约时,代理合约将会维护自己的状态变量,此处的状态变量是implementation和变量X,proxy合约通过构造函数初始化了implementation变量,变量X没有赋值,那么就是默认值0,调用increment函数,返回x+1,那么就是返回的0+1 也就是1。 理解代理合约一定要理解代理合约自己的状态变量和逻辑合约的状态变量是独立的