diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index 1ce184e..4c97754 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -13,6 +13,7 @@ - better multisig behavior for transactions - Simulate methods now have correct return types +- `stakeEthPopulateTx` not does not calculate `gasLimit` which prevented usage when stake limit is reached ## Playground diff --git a/packages/sdk/src/stake/stake.ts b/packages/sdk/src/stake/stake.ts index ed7a28e..925c68b 100644 --- a/packages/sdk/src/stake/stake.ts +++ b/packages/sdk/src/stake/stake.ts @@ -240,15 +240,10 @@ export class LidoSDKStake extends LidoSDKModule { const { referralAddress, value, account } = await this.parseProps(props); const data = this.stakeEthEncodeData({ referralAddress }); const address = await this.contractAddressStETH(); - const gas = await this.submitGasLimit(value, referralAddress, { - account, - chain: this.core.chain, - }); return { to: address, from: account.address, value, - gas, data, }; }