-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Problem
#findListsDir only checked 2 directory levels (sibling + parent) when searching for the _lists/ directory. v3.0.0 schemas are nested 5+ levels deep, so shared lists were never found.
Symptom
Moralis OHLCV calls return HTTP 400 because evmChains shared list is not loaded. The chain alias ETHEREUM_MAINNET is sent directly instead of being converted to eth.
Root Cause
// Old: only 2 levels
const siblingDir = join( dirname( filePath ), '_lists' )
const parentDir = join( dirname( dirname( filePath ) ), '_lists' )Fix
Traverse up to 10 directory levels using Array.from().reduce() pattern. Short-circuits on first match or filesystem root.
Test
461/461 CLI tests pass after fix.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels