-
Notifications
You must be signed in to change notification settings - Fork 45
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
Contract limits #276
Contract limits #276
Conversation
31c5aa2
to
9b004db
Compare
// Bug bounty release deposit limit | ||
uint256 public deposit_limit; | ||
// Bug bounty release deposit limits | ||
// The combined deposit of one channel is limited to 0,15 ETH. |
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.
nitpick: you are using a ,
for decimal separator here and a .
in the line below. Choose one and stick to it.
6ec99bc
to
3a5d9b7
Compare
As mentioned in raiden-network#276 (comment)
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.
LGTM
The combined deposit of one channel is limited to 0,15 ETH. So per person 0.075 ETH. The total combined deposit of all channels across the whole network is limited to 250 ETH. There will be only one token network contract created.
c128f04
to
41e9a64
Compare
As mentioned in raiden-network#276 (comment)
// This should never fail at this point. Added check for security, because we directly set | ||
// the participant_state.deposit = total_deposit, while we transfer `added_deposit` tokens. | ||
assert(participant_state.deposit + added_deposit == total_deposit); | ||
|
||
// Bug Bounty release token network limit |
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.
The bug bounty naming got reintroduced here through the rebase.
As mentioned in raiden-network#276 (comment)
41e9a64
to
8759311
Compare
fixes #262
To be reviewed after #275
The combined deposit of one channel is limited to 0,15 ETH. So per person 0.075 ETH.
The total combined deposit of all channels across the whole network is limited to 250 ETH.
Only one token network will be used.
Removed tests and test contracts for the old contract limits.