Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Enable sdBal stable pool in SOR. #966

Merged
merged 1 commit into from
Sep 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/strange-cheetahs-beam.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'backend': patch
---

Enable sdBal stable pool.
7 changes: 6 additions & 1 deletion modules/sor/sorV2/lib/static.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,12 @@ export async function sorGetPathsWithPools(
case 'STABLE':
// Since we allowed all the pools, we started getting BAL#322 errors
// Enabling pools one by one until we find the issue
if (prismaPool.id === '0x3dd0843a028c86e0b760b1a76929d1c5ef93a2dd000200000000000000000249') {
if (
[
'0x3dd0843a028c86e0b760b1a76929d1c5ef93a2dd000200000000000000000249', // auraBal/8020
'0x2d011adf89f0576c9b722c28269fcb5d50c2d17900020000000000000000024d', // sdBal/8020
].includes(prismaPool.id)
) {
basePools.push(StablePool.fromPrismaPool(prismaPool));
}
break;
Expand Down
Loading