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

fix: retrieve decimals from asset #3

Merged
merged 2 commits into from
Oct 1, 2023
Merged

fix: retrieve decimals from asset #3

merged 2 commits into from
Oct 1, 2023

Conversation

superical
Copy link
Owner

The decimals function was left to the implementer to override and retrieve the decimals from the asset. However, this could have been done within the abstract contract. This PR fixes this issue by implementing a default decimals function to get the value from the asset contract if available.

@superical superical merged commit c48f86f into main Oct 1, 2023
1 check passed
@superical superical deleted the fix/decimals branch October 1, 2023 16:36
@github-actions
Copy link

github-actions bot commented Oct 1, 2023

🎉 This PR is included in version 1.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant