Skip to content
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
10 changes: 5 additions & 5 deletions auto-qa/tests/algebra-pool-price.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* This file targets the newer Algebra Integral shape. A regression
* that flips them silently mis-decodes globalState in production.
*
* 2. GNOSIS_RPCS — 5 endpoints, HTTPS-only, deduplicated. Cross-pin
* 2. GNOSIS_RPCS — 4 endpoints, HTTPS-only, deduplicated. Cross-pin
* vs the canonical lists in getRpcUrl.js / providers.jsx (already
* covered in rpc-config.test.mjs but here as a third occurrence
* worth pinning so the duplication is visible).
Expand Down Expand Up @@ -121,15 +121,15 @@ test('cross-file divergence — algebraQuoter.js POOL_ABI uses the OLDER V3 7-fi
});

// ---------------------------------------------------------------------------
// GNOSIS_RPCS — 5 endpoints, HTTPS-only, deduplicated
// GNOSIS_RPCS — 4 endpoints, HTTPS-only, deduplicated
// ---------------------------------------------------------------------------

test('GNOSIS_RPCS — has exactly 5 entries (drift surfaces as more/fewer fallback options)', () => {
test('GNOSIS_RPCS — has exactly 4 entries (drift surfaces as more/fewer fallback options)', () => {
const m = SRC.match(/GNOSIS_RPCS\s*=\s*\[([\s\S]*?)\]/);
assert.ok(m);
const urls = [...m[1].matchAll(/['"]([^'"]+)['"]/g)].map(x => x[1]);
assert.equal(urls.length, 5,
`GNOSIS_RPCS drifted from 5 entries; got ${urls.length}. ` +
assert.equal(urls.length, 4,
`GNOSIS_RPCS drifted from 4 entries; got ${urls.length}. ` +
`Compare against rpc-config.test.mjs canonical list.`);
});

Expand Down
4 changes: 2 additions & 2 deletions auto-qa/tests/dead-references.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,13 @@ test('PR #43 — no tickspread.com URLs remain in src/', () => {
});

// ────────────────────────────────────────────────────────────────────────
// PR #47 — Remove dead Supabase code (cleanup is PARTIAL)
// PR #47 — Remove dead Supabase code (cleanup COMPLETE as of PR #90)
//
// Baseline = the count of imports as of this iteration. If new ones get
// added: test fails (regression). If real-fix work removes some: test
// fails (forces the baseline to be lowered, ratcheting the cleanup).
// ────────────────────────────────────────────────────────────────────────
const SUPABASE_IMPORT_BASELINE = 10;
const SUPABASE_IMPORT_BASELINE = 0;

test('PR #47 — supabase import count matches baseline', () => {
const hits = findHits("from\\s+['\"]@supabase/supabase-js['\"]");
Expand Down
96 changes: 0 additions & 96 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"@safe-global/protocol-kit": "^6.1.2",
"@safe-global/safe-core-sdk-types": "^5.1.0",
"@storybook/addon-actions": "^8.1.10",
"@supabase/supabase-js": "^2.97.0",
"@swapr/sdk": "github:rodsouto/swapr-sdk#5e3b4f7abf8411434f0a05628a23653c8d6b87a0",
"@tanstack/react-query": "^5.62.16",
"@uniswap/universal-router-sdk": "^4.32.0",
Expand Down
Loading
Loading