Skip to content

Commit

Permalink
✨ fm
Browse files Browse the repository at this point in the history
  • Loading branch information
cmontecoding committed Dec 17, 2024
1 parent 12d8e2c commit ecc8ecf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion test/Unwind.t.sol
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ contract UnwindTest is Bootstrap {
);

swapPath = getAssemblePath(pathId);

engine.unwindCollateral({
_accountId: ACCOUNT_ID,
_collateralId: WETH_SYNTH_MARKET_ID,
Expand Down
10 changes: 4 additions & 6 deletions test/utils/Bootstrap.sol
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ contract Bootstrap is
// ODOS
using Surl for *;
using stdJson for string;

struct Transaction {
uint256 chainId;
bytes data;
Expand All @@ -58,6 +59,7 @@ contract Bootstrap is
address to;
uint256 value;
}

string[] headers;

// pDAO address
Expand Down Expand Up @@ -141,7 +143,7 @@ contract Bootstrap is
headers.push("Content-Type: application/json");
}

// ODOS
// ODOS
function getOdosQuoteParams(
uint256 chainId,
address tokenIn,
Expand Down Expand Up @@ -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, '"}'
);
}

Expand Down

0 comments on commit ecc8ecf

Please sign in to comment.