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
Send rewards into l2 #818
Send rewards into l2 #818
Conversation
@@ -120,9 +141,28 @@ contract SynthetixBridgeToOptimism is Owned, MixinResolver, ISynthetixBridgeToOp | |||
emit BridgeMigrated(address(this), newBridge, contractBalance); | |||
} | |||
|
|||
// invoked by RewardsDistribution on L1 (takes SNX) | |||
function notifyRewardAmount(uint256 reward) external { |
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.
It seems that notifyRewardAmount()
and rewardDeposit()
can be combined and merged
# Conflicts: # package-lock.json
Codecov Report
@@ Coverage Diff @@
## develop #818 +/- ##
===========================================
- Coverage 98.40% 97.94% -0.47%
===========================================
Files 59 59
Lines 3954 3990 +36
Branches 513 514 +1
===========================================
+ Hits 3891 3908 +17
- Misses 63 82 +19
Continue to review full report at Codecov.
|
Also updates
SynthetixBridgeToOptimism
to use new smockit testing library