-
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
CCIP-4114 refactor token pool tests for one function per file #15119
Conversation
contracts/src/v0.8/ccip/test/pools/USDC/USDCTokenPool.lockOrBurn.t.sol
Outdated
Show resolved
Hide resolved
assertEq(address(s_burnMintERC677), address(s_pool.getToken())); | ||
assertEq(address(s_mockRMN), s_pool.getRmnProxy()); | ||
assertEq(false, s_pool.getAllowListEnabled()); | ||
assertEq(type(uint256).max, s_burnMintERC677.allowance(address(s_pool), address(s_pool))); | ||
assertEq("BurnFromMintTokenPool 1.5.0", s_pool.typeAndVersion()); | ||
} | ||
|
||
function test_PoolBurn_Success() public { |
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 did you change the casing on these? The test rename comes after and these new names are not following the final naming scheme anyway?
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 was giving annoying linting errors about the case which is why but I will revert 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.
Huh!? Solhint issues?
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.
no idea.
Refactor tests in the token pools folder to better align with new formatting and solhint rules. One function per file. Hybrid USDC Token pool tests were also modified in name to align with the naming convention.
Previous Lines in the ccip.gas-snapshot: 748
Current lines: 756