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

heartbeat challenge #258

Merged
merged 11 commits into from
Dec 5, 2019
Merged

heartbeat challenge #258

merged 11 commits into from
Dec 5, 2019

Conversation

johannbarbie
Copy link
Member

resolves #257

@troggy
Copy link
Member

troggy commented Dec 4, 2019

good todos, worth extracting as separate issues

Copy link
Member Author

@johannbarbie johannbarbie left a comment

Choose a reason for hiding this comment

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

one single comment.

contracts/PoaOperator.sol Show resolved Hide resolved
// TODO: Is the signer we challenged still in control of the Slot? Depends on timeout-time (currently casChallangeDuration) at the least.
function respondBeat(
bytes32[] memory _inclusionProof,
bytes32[] memory _walkProof,
Copy link
Member

Choose a reason for hiding this comment

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

@TheReturnOfJan could you please more comments about what is walkProof ?

Choose a reason for hiding this comment

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

@troggy new commit should be a bit clearer.

@codecov-io
Copy link

codecov-io commented Dec 5, 2019

Codecov Report

Merging #258 into master will decrease coverage by 0.08%.
The diff coverage is 73.68%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #258      +/-   ##
==========================================
- Coverage   75.77%   75.68%   -0.09%     
==========================================
  Files          40       40              
  Lines         908      946      +38     
  Branches      207      219      +12     
==========================================
+ Hits          688      716      +28     
  Misses         98       98              
- Partials      122      132      +10
Impacted Files Coverage Δ
contracts/PoaOperator.sol 78.29% <73.68%> (-1.93%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 74d2dc4...66b2de7. Read the comment docs.

Copy link
Member Author

@johannbarbie johannbarbie left a comment

Choose a reason for hiding this comment

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

looks great now 👍

Copy link
Member

@troggy troggy left a comment

Choose a reason for hiding this comment

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

approving for a friend (@johannbarbie)

@johannbarbie johannbarbie merged commit bc36403 into master Dec 5, 2019
@johannbarbie johannbarbie deleted the feature/beatChallenge branch December 5, 2019 16:42
@troggy troggy mentioned this pull request Feb 15, 2020
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.

add heartbeat challenges to Operator contract
4 participants