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

146_盛峰_lesson3&4 #31

Open
wants to merge 23 commits into
base: 146-盛峰
Choose a base branch
from
Open

146_盛峰_lesson3&4 #31

wants to merge 23 commits into from

Conversation

cottom
Copy link

@cottom cottom commented Mar 20, 2018

No description provided.

= [Z, K1, K2] + merge([A, B, O], [A, C, O])
= [Z, K1, K2, A] + merge([B, O], [C, O])
= [Z, K1, K2, A, B] + merge([O], [C, O])
= [Z, K1, K2, A, B, C, O]
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你这里结果不对,注意看老董的视频,这里继承顺序反了

Copy link

@brightq brightq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

well done!

@@ -0,0 +1,92 @@
pragma solidity ^0.4.14;

contract Payroll {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

在contract里需要用SafeMath

@cottom cottom changed the title 146_盛峰_lesson3 146_盛峰_lesson3&4 Mar 25, 2018
var PayRoll = artifacts.require("./PayRoll.sol");

contract('PayRoll', function(accounts) {
// TODO
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这里还都是空着的。

Copy link

@brightq brightq left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

第四课导入contract到truffle 还没做完, 另外test还没有写。

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

Successfully merging this pull request may close these issues.

4 participants