From ecc8ecff87a198738cea5c1ba998cd8358e0d966 Mon Sep 17 00:00:00 2001 From: Andrew Chiaramonte Date: Tue, 17 Dec 2024 00:55:38 -0500 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20fm?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- test/Unwind.t.sol | 2 +- test/utils/Bootstrap.sol | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/test/Unwind.t.sol b/test/Unwind.t.sol index e4ac284a..3fcc2874 100644 --- a/test/Unwind.t.sol +++ b/test/Unwind.t.sol @@ -67,7 +67,7 @@ contract UnwindTest is Bootstrap { ); swapPath = getAssemblePath(pathId); - + engine.unwindCollateral({ _accountId: ACCOUNT_ID, _collateralId: WETH_SYNTH_MARKET_ID, diff --git a/test/utils/Bootstrap.sol b/test/utils/Bootstrap.sol index bb8c7105..38908495 100644 --- a/test/utils/Bootstrap.sol +++ b/test/utils/Bootstrap.sol @@ -48,6 +48,7 @@ contract Bootstrap is // ODOS using Surl for *; using stdJson for string; + struct Transaction { uint256 chainId; bytes data; @@ -58,6 +59,7 @@ contract Bootstrap is address to; uint256 value; } + string[] headers; // pDAO address @@ -141,7 +143,7 @@ contract Bootstrap is headers.push("Content-Type: application/json"); } - // ODOS + // ODOS function getOdosQuoteParams( uint256 chainId, address tokenIn, @@ -215,11 +217,7 @@ contract Bootstrap is returns (string memory) { return string.concat( - '{"userAddr": "', - vm.toString(zap), - '", "pathId": "', - pathId, - '"}' + '{"userAddr": "', vm.toString(zap), '", "pathId": "', pathId, '"}' ); }