-
Notifications
You must be signed in to change notification settings - Fork 14
migrate resources tests #125
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #125 +/- ##
========================================
Coverage 84.02% 84.02%
========================================
Files 35 35
Lines 1077 1077
Branches 201 221 +20
========================================
Hits 905 905
Misses 172 172 ☔ View full report in Codecov by Sentry. |
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.
Thank you!
.setName(ensRegistry.address, newENSName) | ||
.then((tx) => tx.wait()); | ||
|
||
const nameHash = ethers.utils.namehash(`${app.address.substring(2)}.addr.reverse`); |
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.
You can eventually declare this function once and reuse it
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.
Done and factorized reused code thanks
).to.be.revertedWith('caller is not the owner'); | ||
}); | ||
|
||
it('Should reject invalid configuration', async () => { |
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.
I wonder why there is no check on _newWorkerStakeRatioPolicy
🤔
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.
I guess there is no upper limit for the stake.
No description provided.