Skip to content

Commit 266ae2c

Browse files
committed
fix: market compressor gas limit
1 parent b223250 commit 266ae2c

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

.releaserc.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
"@semantic-release/commit-analyzer",
1919
"@semantic-release/release-notes-generator",
2020
"@semantic-release/npm",
21-
"@semantic-release/github"
21+
[
22+
"@semantic-release/github",
23+
{
24+
"successComment": false,
25+
"failTitle": false
26+
}
27+
]
2228
]
2329
}

scripts/example.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ async function example(): Promise<void> {
1212
const sdk = await GearboxSDK.attach({
1313
rpcURL: "http://127.0.0.1:8545",
1414
timeout: 480_000,
15-
addressProvider: "0x5fe2f174fe51474Cd198939C96e7dB65983EA307",
15+
addressProvider: "0x81ED8e0325B17A266B2aF225570679cfd635d0bb",
1616
logger,
1717
});
1818
await writeFile("example-state.json", json_stringify(sdk.state), "utf-8");

src/market/MarketRegister.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@ export class MarketRegister {
5151
underlying: ADDRESS_0X0,
5252
},
5353
],
54+
// It's passed as ...rest in viem readContract action, but this might change
55+
// @ts-ignore
56+
gas: 500_000_000n,
5457
});
5558

5659
for (const data of markets) {

0 commit comments

Comments
 (0)