test: add tests to generate runtime bytecode for the executors

This commit is contained in:
adrian
2025-09-09 11:29:32 +02:00
committed by Adrian Benavides
parent cefe7b1cfd
commit 299126da16
10 changed files with 37 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ contract CurveExecutorExposed is CurveExecutor {
}
}
contract CurveExecutorTest is Test, Constants {
contract CurveExecutorTest is Test, TestUtils, Constants {
using SafeERC20 for IERC20;
CurveExecutorExposed curveExecutorExposed;
@@ -393,6 +393,10 @@ contract CurveExecutorTest is Test, Constants {
metaRegistry.get_coin_indices(pool, tokenIn, tokenOut);
return (coinInIndex, coinOutIndex);
}
function testExportContract() public {
exportRuntimeBytecode(address(curveExecutorExposed), "Curve");
}
}
contract TychoRouterForBalancerV3Test is TychoRouterTestSetup {