-
Notifications
You must be signed in to change notification settings - Fork 111
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
Collateral plugin integration tests #989
Conversation
const rTokenSetup: IRTokenSetup = { | ||
assets: [], | ||
primaryBasket: [collateral.address, pairedColl.address], | ||
weights: [fp('0.5e-4'), fp('0.5e-4')], |
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.
why e-4?
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.
There was a delicate balancing act trying to find the right RToken supply + basket weights that would work with all token decimals plus max holder balances from mainnet. This is what I found worked for all tokens. It took lots of trial and error.
The
wcUSDCv3
tests failed before I merged 3.0.1 in, as expected