-
Notifications
You must be signed in to change notification settings - Fork 191
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
fix: approvals failing for non-eth EVM chains #5577
Conversation
Current dependencies on/for this PR:
This stack of pull requests is managed by Graphite. |
075a871
to
abb52f9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Conceptually looks sane, will test at runtime and actually stamp
.../providers/thorchain-savers/components/ThorchainSaversManager/Deposit/components/Approve.tsx
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Description
Fixes broken ERC20 allowance approvals for non-eth EVM chains.
Pull Request Type
Issue (if applicable)
closes #5571
closes #5573
closes #5574
Risk
Risk of approvals still broken for EVM chains
Testing
Check approvals work for all EVM chains
Engineering
Note that this includes a fix to use the viem public client per chain, and I've hardcoded all other uses of the function to use ETH mainnet. Please double check this is correct for all cases where i've hardcoded it.
Operations
Screenshots (if applicable)
FOX/ETH LP appearing also