Skip to content

Commit

Permalink
SOV-4191: Raise the Gas Limit for OSSOV withdrawals (#928)
Browse files Browse the repository at this point in the history
* fix: convert page selector

* fix: withdraw os fees gas limit

* Create tasty-suits-float.md

* fix: convert page selection

---------

Co-authored-by: soulBit <[email protected]>
  • Loading branch information
rick23p and soulBit authored Jun 4, 2024
1 parent 5bdfda1 commit 7b62c35
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/tasty-suits-float.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"frontend": patch
---

SOV-4191: Raise the Gas Limit for OSSOV withdrawals
6 changes: 3 additions & 3 deletions apps/frontend/src/app/5_pages/ConvertPage/ConvertPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -438,7 +438,7 @@ const ConvertPage: FC = () => {
<Helmet>
<title>{t(pageTranslations.meta.title)}</title>
</Helmet>
<div className="w-full flex flex-col items-center text-gray-10 mt-9 sm:mt-24">
<div className="w-full flex flex-col items-center text-gray-10 my-9 sm:my-24">
<Heading className="text-base sm:text-2xl font-medium">
{t(pageTranslations.title)}
</Heading>
Expand Down Expand Up @@ -484,7 +484,7 @@ const ConvertPage: FC = () => {
options={sourceTokenOptions}
labelRenderer={() => getAssetRenderer(sourceToken)}
className="min-w-[6.7rem]"
menuClassName="max-h-[10rem] sm:max-h-[20rem]"
menuClassName="max-h-[10rem] sm:max-h-[12rem]"
dataAttribute="convert-from-asset"
/>
</div>
Expand Down Expand Up @@ -531,7 +531,7 @@ const ConvertPage: FC = () => {
onChange={onDestinationTokenChange}
options={destinationTokenOptions}
className="min-w-[6.7rem]"
menuClassName="max-h-[10rem] sm:max-h-[20rem]"
menuClassName="max-h-[10rem] sm:max-h-[12rem]"
dataAttribute="convert-to-asset"
/>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const WithdrawLiquidOsFee: FC<WithdrawLiquidOsFeeProps> = ({
contract: stakingRewards,
fnName: 'collectReward',
args: [nextWithdrawTimestamp],
gasLimit: GAS_LIMIT.REWARDS,
gasLimit: GAS_LIMIT.REWARDS_OS_FEE,
},
onComplete,
},
Expand Down
1 change: 1 addition & 0 deletions apps/frontend/src/constants/gasLimits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ export const GAS_LIMIT = {
STABILITY_POOL_DLLR_INC_WITHDRAW: 690_000,
REWARDS: 240_000,
REWARDS_CLAIM: 6_800_000,
REWARDS_OS_FEE: 600_000,
TRANSFER_LOC: 900_000,
LENDING_MINT: 350_000,
LENDING_BURN: 450_000,
Expand Down

0 comments on commit 7b62c35

Please sign in to comment.