geniusyield / atlas

Application backend for Plutus smart contracts on Cardano
https://atlas-app.io
Apache License 2.0
67 stars 18 forks source link

Fix missing `Default (TxBuilderStrategy m)` constraint on `GYTxBuilderMonad` #325

Closed TotallyNotChase closed 4 months ago

TotallyNotChase commented 4 months ago

Summary

Very small change. I removed this constraint in a previous commit as part of #322 thinking it's redundant. But that's not correct since most use cases don't care about choosing a strategy when building transactions. So most use sites will just require a verbose Default (TxBuilderStrategy m) constraint on top. This improves upon that.

Type of Change

Please mark the relevant option(s) for your pull request:

Checklist

Please ensure that your pull request meets the following criteria:

Testing

Additional Information

4TT1L4 commented 4 months ago

LGTM!

Thanks for the PR!