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

No ToSchema instance for AssetClass #3298

Closed
anton-k opened this issue Jun 2, 2021 · 0 comments · Fixed by #3303
Closed

No ToSchema instance for AssetClass #3298

anton-k opened this issue Jun 2, 2021 · 0 comments · Fixed by #3303
Labels

Comments

@anton-k
Copy link
Contributor

anton-k commented Jun 2, 2021

Area

[*] Plutus Application Framework Related to the Plutus application backend (PAB), emulator, Plutus libraries

Summary

AssetClass is useful type that binds together CurrencyCymbol and TokenName.
We have ToSchema for both of the components but instance for AssetClass itself is missing.
This prevents us from using AssetClass in the endpoints and testing with PAB.

@anton-k anton-k added the bug label Jun 2, 2021
ghost pushed a commit that referenced this issue Jun 3, 2021
michaelpj pushed a commit that referenced this issue Jun 4, 2021
* Add ToSchema instance for AssetClass (fix #3298)

* Remove ToSchema's AssetClass instance in Uniswap use case

* Remove no-warn-orphans
jakzale pushed a commit that referenced this issue Jun 4, 2021
* Add ToSchema instance for AssetClass (fix #3298)

* Remove ToSchema's AssetClass instance in Uniswap use case

* Remove no-warn-orphans
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 a pull request may close this issue.

1 participant