Skip to content

Fix generated UI ABI getter calls for viem overload handling#38

Merged
snissn merged 1 commit into
masterfrom
fix/ui-viem-overload
Feb 5, 2026
Merged

Fix generated UI ABI getter calls for viem overload handling#38
snissn merged 1 commit into
masterfrom
fix/ui-viem-overload

Conversation

@snissn
Copy link
Copy Markdown
Contributor

@snissn snissn commented Feb 5, 2026

Summary:\n- fix generated UI runtime to pass function names (not full signatures) into viem for overloaded getter calls\n- retain ABI mismatch guardrails while avoiding viem encodeFunctionData failure\n- harden generated UI smoke checks to fail when route HTML contains "not found on ABI"\n\nValidation:\n- pnpm build\n- pnpm mocha test/integration/testGeneratedAppUiTests.js\n\nThis addresses runtime errors like: Function "getCandidate(uint256)" not found on ABI.

@snissn snissn merged commit 51e9513 into master Feb 5, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant