test: add tests to generate runtime bytecode for the executors
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user