Closed Morgandri1 closed 3 weeks ago
Why is Extension on MintMsg? Shouldnt the extensions be global throughout the contract?
Extension
If not, Extension should be Option<T> instead of T as this will make development easier.
Option<T>
T
Imo similar to Response<T = Empty>. What we can do is defining ExecuteMsg<T=Empty, E=Empty>. Would simplify things.
Response<T = Empty>
ExecuteMsg<T=Empty, E=Empty>
Yeah, and I found that you can define extension as Option, but that’s more steps that are subjectively unnecessary, especially when trying to write clean and concise tests
Fixed in #161
Why is
Extension
on MintMsg? Shouldnt the extensions be global throughout the contract?If not, Extension should be
Option<T>
instead ofT
as this will make development easier.