Skip to content

Commit be03e59

Browse files
committed
fix: enable hasVirtualPools for devnet (Celo network)
Made-with: Cursor
1 parent 0f7b0a4 commit be03e59

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ui-dashboard/src/lib/__tests__/networks.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,8 +194,8 @@ describe("NETWORKS — Monad networks", () => {
194194
});
195195

196196
describe("NETWORKS — virtual pool support", () => {
197-
it("enables virtual pools only for Celo mainnet and Celo Sepolia variants", () => {
198-
expect(NETWORKS.devnet.hasVirtualPools).toBe(false);
197+
it("enables virtual pools for all Celo networks, disables for Monad", () => {
198+
expect(NETWORKS.devnet.hasVirtualPools).toBe(true);
199199
expect(NETWORKS["celo-sepolia-local"].hasVirtualPools).toBe(true);
200200
expect(NETWORKS["celo-sepolia-hosted"].hasVirtualPools).toBe(true);
201201
expect(NETWORKS["celo-mainnet-local"].hasVirtualPools).toBe(true);

ui-dashboard/src/lib/networks.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,7 @@ export const NETWORKS: Record<IndexerNetworkId, Network> = {
9999
id: "devnet",
100100
label: "Celo Devnet (local)",
101101
local: true,
102+
hasVirtualPools: true,
102103
chainId: 42220,
103104
contractsNamespace: NS["celo-mainnet"],
104105
hasuraUrl:

0 commit comments

Comments
 (0)