-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
update reserve amount of LINK after offchain settlement #12916
Conversation
I see you updated files related to |
1d06869
to
7aed150
Compare
@@ -875,6 +883,9 @@ contract NOPsSettlement is SetUp { | |||
assertEq(i, index); | |||
assertEq(0, balance); | |||
} | |||
|
|||
// assert reserve amount of LINK is reduced by the offchain settlement amount | |||
assertEq(registry.getReserveAmount(address(linkToken)), prevReserveBalances - totalPayments); |
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.
reserve amount of link should be 0 since it is offchain mode, users cant deposit link to registry
add test to cover the above
7aed150
to
7bcd4d5
Compare
7bcd4d5
to
4af6928
Compare
Quality Gate passedIssues Measures |
AUTO-10222