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

Withdraw expires #1103

Merged
merged 4 commits into from
Jul 3, 2019
Merged

Withdraw expires #1103

merged 4 commits into from
Jul 3, 2019

Conversation

pirapira
Copy link
Contributor

@pirapira pirapira commented Jul 2, 2019

This PR adds an argument expiration_block to TokenNetwork.setTotalWithdraw().

This closes #1102.

pirapira added 4 commits July 2, 2019 15:30
Especially, calling setTotalWithdraw() with zero, the current block number,
or one bigger as the expiration block number.
@codecov
Copy link

codecov bot commented Jul 2, 2019

Codecov Report

Merging #1103 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1103   +/-   ##
=======================================
  Coverage   80.75%   80.75%           
=======================================
  Files          20       20           
  Lines        1382     1382           
  Branches      174      174           
=======================================
  Hits         1116     1116           
  Misses        227      227           
  Partials       39       39
Impacted Files Coverage Δ
raiden_contracts/utils/proofs.py 92.1% <ø> (ø) ⬆️

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 5c93549...114942a. Read the comment docs.

Copy link
Contributor

@rakanalh rakanalh left a comment

Choose a reason for hiding this comment

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

LGTM

@pirapira
Copy link
Contributor Author

pirapira commented Jul 3, 2019

Yay!

@pirapira pirapira merged commit 37d6787 into raiden-network:master Jul 3, 2019
@pirapira pirapira deleted the withdraw-expires branch July 3, 2019 08:16
@pirapira
Copy link
Contributor Author

pirapira commented Jul 3, 2019

I'll make a raiden-contracts release for this.

@pirapira pirapira mentioned this pull request Jul 3, 2019
pirapira added a commit to pirapira/spec that referenced this pull request Sep 5, 2019
This commit adds the new argument `expiration_block` to
`setTotalWithdraw()` function.

The change follows the implementation
raiden-network/raiden-contracts#1103

This commit is a part of updating the spec
raiden-network#253
pirapira added a commit to pirapira/spec that referenced this pull request Sep 5, 2019
This commit adds the new argument `expiration_block` to
`setTotalWithdraw()` function.

The change follows the implementation
raiden-network/raiden-contracts#1103

This commit is a part of updating the spec
raiden-network#253
palango pushed a commit to raiden-network/spec that referenced this pull request Sep 6, 2019
This commit adds the new argument `expiration_block` to
`setTotalWithdraw()` function.

The change follows the implementation
raiden-network/raiden-contracts#1103

This commit is a part of updating the spec
#253
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 expiration blocknumber to withdrawal proof
2 participants