-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
Description
Component
No response
Describe the suggested feature and problem it solves.
I was working on dynamic fees and needed to get the msgSender for my tests. While this function is documented, it does not currently exist inPoolSwapTest.
Describe the desired implementation.
Here is a suggestion, perhaps there is another way.
contract PoolSwapTest is PoolTestBase {
...
address internalMsgSender;
constructor(IPoolManager _manager) PoolTestBase(_manager) {}
...
function setMsgSender(address newMsgSender) external {
internalMsgSender = newMsgSender;
}
function msgSender() external view returns (address) {
return internalMsgSender;
}
}
Describe alternatives.
No response
Additional context.
No response
Pybast