-
Notifications
You must be signed in to change notification settings - Fork 7
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
base: 146-盛峰
Are you sure you want to change the base?
The head ref may contain hidden characters: "146-\u76DB\u5CF0"
146_盛峰_lesson3&4 #31
Conversation
147_潘成鼎_第二课作业
Revert "147_潘成鼎_第二课作业"
Lesson-3/assignment/README.md
Outdated
= [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] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
你这里结果不对,注意看老董的视频,这里继承顺序反了
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
well done!
Lesson-3/assignment/yours.sol
Outdated
@@ -0,0 +1,92 @@ | |||
pragma solidity ^0.4.14; | |||
|
|||
contract Payroll { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
在contract里需要用SafeMath
var PayRoll = artifacts.require("./PayRoll.sol"); | ||
|
||
contract('PayRoll', function(accounts) { | ||
// TODO |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
这里还都是空着的。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
第四课导入contract到truffle 还没做完, 另外test还没有写。
No description provided.