Summary
Vibenet uses humanizeKey to generate fallback labels for unknown contract keys. The current camelCase splitting only handles lowercase/digit to uppercase boundaries, so embedded acronyms stay attached to the following word.
Repro
Current behavior:
humanizeKey('myUSDCToken') // "My USDCToken"
humanizeKey('someAPIKey') // "Some APIKey"
Expected labels are My USDC Token and Some API Key.
Expected behavior
The formatter should split acronym-to-word boundaries before applying the existing lowercase/digit-to-uppercase split, while preserving current output for normal camelCase keys such as usdvToken and l2OutputOracle.
Summary
Vibenet uses
humanizeKeyto generate fallback labels for unknown contract keys. The current camelCase splitting only handles lowercase/digit to uppercase boundaries, so embedded acronyms stay attached to the following word.Repro
Current behavior:
Expected labels are
My USDC TokenandSome API Key.Expected behavior
The formatter should split acronym-to-word boundaries before applying the existing lowercase/digit-to-uppercase split, while preserving current output for normal camelCase keys such as
usdvTokenandl2OutputOracle.