-
Notifications
You must be signed in to change notification settings - Fork 229
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
Relative daily limit #306
base: develop
Are you sure you want to change the base?
Relative daily limit #306
Conversation
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.
Looks good to me! Here are some details that I think we should address before merging this:
- Add unit tests that covers functionality in methods from
RelativeDailyLimit
contract targetLimit
andtreshold
parameter are not initialized in deployment scripts. Should we add them to be also set ininitialize
methods? @akolotov- Update flatten script to include new Home/Foreign contracts
- For every new parameter added in
.env.example
we should add a description in https://github.com/poanetwork/poa-bridge-contracts/blob/master/deploy/README.md
@maxaleks can you please resolve the merge conflicts? |
Done |
@patitonar ok, thanks! |
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.
Can you check the merge one more time? For example, I have found that _relayTokens
was removed from the ForeignBridgeErcToNative.sol
by some reason.
Also I see that the tests were failed for the latest changes in the branch -- could you elaborate the root cause of fails?
Could you rerun the task or, even better, give me rights to do it by myself? |
They are different as far as I see:
vs
|
Sorry, I missed it when fixing merge conflicts |
These changes are adding the ability to use a relative daily limit for withdrawals