fix: Take address for EkuboExecutor init

- To match the other executor inits and to not leak information about ICore into the deployment script.
- Also fix fork block of tests. This had been temporarily changed to test the Ekubo executor. For some reason, vm.rollFork is not working in this case. Skip the Ekubo integration test for now (we know it runs with the correct block, where the pool we call is actually already deployed)
This commit is contained in:
TAMARA LIPOWSKI
2025-03-31 17:21:21 +02:00
parent b3078f9c7b
commit c678f40057
3 changed files with 6 additions and 3 deletions

View File

@@ -25,8 +25,8 @@ contract EkuboExecutor is IExecutor, ICallback, ILocker, IPayer {
uint256 constant POOL_DATA_OFFSET = 56;
uint256 constant HOP_BYTE_LEN = 52;
constructor(ICore _core) {
core = _core;
constructor(address _core) {
core = ICore(_core);
}
function swap(uint256 amountIn, bytes calldata data)