-
Notifications
You must be signed in to change notification settings - Fork 10
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
feat: Refactor to integration testing setup (SC-567) #7
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.
I would rename PsmCalls
-> PSMCalls
and SNstCalls
-> SNSTCalls
to match the casing elsewhere.
test/fork/ForkTestBase.t.sol
Outdated
deal(address(usdc), address(pocket), 100e6); // Gem is held in pocket | ||
deal(address(nst), address(PSM), 100e18); |
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 is already liquidity in here. I suppose this needs the psm wrapper for nst. This is okay for now, but I would aim to eliminate this as it is an artificial deviation from mainnet.
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.
Forgot to set to request changes. Also, I DMed you the NST PSM wrapper I would use that.
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.
A few issues. MockJug
is unused. Also, I noticed ALMProxy
is missing a way to send ETH to it. It should have a receive()
special function.
Not sure why CI is failing, but tests work locally.
Coverage after merging sc-567-refactor-to-integration into master will be
|
No description provided.