Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🪲 Export ABIs as constants for better viem integration #410

Merged
merged 2 commits into from
Feb 15, 2024

Conversation

janjakubnanista
Copy link
Contributor

In this PR

  • viem relies on ABIs defined as constant expressions, without type widening, for ABI type inferrence. This PR adds as const to ABI exports to better support viem in all its adventures

@janjakubnanista janjakubnanista merged commit d7d1af1 into main Feb 15, 2024
5 checks passed
@janjakubnanista janjakubnanista deleted the export-fixes branch February 15, 2024 23:00
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.

2 participants