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

chore: improve the default NativeOFTAdapter.quoteOFT() method #1228

Merged
merged 2 commits into from
Feb 4, 2025

Conversation

ryandgoulding
Copy link
Contributor

This method is meant to be overriden. This function should not fail, and keeping the default OFTCore.quoteOFT(...) implementation was leading to failed calls as Native tokens aren't ERC-20.

This method is meant to be overriden.  This function should not fail,
and keeping the default OFTCore.quoteOFT(...) implementation was leading
to failed calls as Native tokens aren't ERC-20.

Signed-off-by: Ryan Goulding <[email protected]>
@ryandgoulding ryandgoulding force-pushed the chore/improve_quoteOFT branch from e13d57f to 74c41a6 Compare February 3, 2025 16:06
Copy link
Contributor

@ItsAdel ItsAdel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this PR necessary after the changes introduced in #1227 ?

@ryandgoulding
Copy link
Contributor Author

This PR is meant to replace #1227

DanL0
DanL0 previously approved these changes Feb 4, 2025
Signed-off-by: Ryan Goulding <[email protected]>
@ryandgoulding ryandgoulding merged commit a09c401 into main Feb 4, 2025
7 checks passed
@ryandgoulding ryandgoulding deleted the chore/improve_quoteOFT branch February 4, 2025 18:20
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.

4 participants