@gearbox-protocol/sdk 14.11.11 → 14.11.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -498,10 +498,10 @@ class AccountOpener extends import_sdk.SDKConstruct {
498
498
  );
499
499
  txHash = await this.#anvil.writeContract({
500
500
  account: depositor,
501
- address: metadata.approveTarget,
501
+ address: underlying,
502
502
  abi: import_iERC20.ierc20Abi,
503
503
  functionName: "approve",
504
- args: [address, allowance],
504
+ args: [metadata.approveTarget, allowance],
505
505
  chain: this.#anvil.chain
506
506
  });
507
507
  let receipt = await this.#anvil.waitForTransactionReceipt({
@@ -203,7 +203,7 @@ const chains = {
203
203
  symbol: "USDT0"
204
204
  },
205
205
  firstBlock: 34650262n,
206
- gasLimit: 200000000n
206
+ gasLimit: 150000000n
207
207
  }),
208
208
  Berachain: withPublicNode(
209
209
  {
@@ -490,10 +490,10 @@ class AccountOpener extends SDKConstruct {
490
490
  );
491
491
  txHash = await this.#anvil.writeContract({
492
492
  account: depositor,
493
- address: metadata.approveTarget,
493
+ address: underlying,
494
494
  abi: ierc20Abi,
495
495
  functionName: "approve",
496
- args: [address, allowance],
496
+ args: [metadata.approveTarget, allowance],
497
497
  chain: this.#anvil.chain
498
498
  });
499
499
  let receipt = await this.#anvil.waitForTransactionReceipt({
@@ -189,7 +189,7 @@ const chains = {
189
189
  symbol: "USDT0"
190
190
  },
191
191
  firstBlock: 34650262n,
192
- gasLimit: 200000000n
192
+ gasLimit: 150000000n
193
193
  }),
194
194
  Berachain: withPublicNode(
195
195
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/sdk",
3
- "version": "14.11.11",
3
+ "version": "14.11.13",
4
4
  "description": "Gearbox SDK",
5
5
  "license": "MIT",
6
6
  "repository": {