Merge branch 'deploy-mm' into ts-client

This commit is contained in:
microwavedcola1 2023-03-20 08:56:05 +01:00
commit f381147bf6
2 changed files with 10 additions and 8 deletions

View File

@ -468,9 +468,10 @@ async function makeMarketUpdateInstructions(
),
];
instructions.push(
await client.healthRegionBeginIx(group, mangoAccount, [], [perpMarket]),
);
// Temporary: Health regions are currently disabled on mainnet for security reasons
//instructions.push(
// await client.healthRegionBeginIx(group, mangoAccount, [], [perpMarket]),
//);
const expiryTimestamp =
params.tif !== undefined ? Date.now() / 1000 + params.tif : 0;
@ -698,9 +699,10 @@ async function makeMarketUpdateInstructions(
}
}
instructions.push(
await client.healthRegionEndIx(group, mangoAccount, [], [perpMarket]),
);
// Temporary: Health regions are currently disabled on mainnet for security reasons
//instructions.push(
// await client.healthRegionEndIx(group, mangoAccount, [], [perpMarket]),
//);
// If instruction is only the sequence enforcement and health region ixs, then just send empty
if (instructions.length === 3) {

View File

@ -5,7 +5,7 @@
"assets": {
"BTC": {
"perp": {
"sizePerc": 0.75,
"sizePerc": 1,
"leanCoeff": 0.00025,
"bias": 0.0,
"requoteThresh": 0.0002,
@ -16,7 +16,7 @@
},
"SOL": {
"perp": {
"sizePerc": 0.75,
"sizePerc": 1,
"leanCoeff": 0.00025,
"bias": 0.0,
"requoteThresh": 0.0002,