Skip to content

Commit

Permalink
fix: Enable sdBal stable pool in SOR. (#966)
Browse files Browse the repository at this point in the history
  • Loading branch information
johngrantuk committed Sep 24, 2024
1 parent 1c9aa5b commit dd3e100
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
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

0 comments on commit dd3e100

Please sign in to comment.