What Git revision are you using?
Aiken v1.1.21+42babe5
What operating system are you using, and which version?
Describe what the problem is?
When compiling open source SundaeSwap DEX contracts on Aiken v1.0.26-alpha+075668b, we see only one Credential type (with payment and script credential variants), this is expected, Constr(0, 1). However, when we complile the same contracts on v1.1.21+42babe5, we see some sort of strange? type alias where we have a PaymentCredential Constr(0, 1) and Credential Constr(0, 1). This is confusing and I am not sure this is expected behavior. Now they are both idential, they only differ in name. Older version of Aiken didn't have this.
What should be the expected behavior?
I would expect only to see Credential without PaymentCredential like Aiken v1.0.26-alpha+075668b.
sundaeswap_aiken_v1_0_26_alpha_075668b.json
sundaeswap_aiken_v1_1_21_42babe5.json
Contracts link:
https://github.com/SundaeSwap-finance/sundae-contracts
Last but not least, maybe this is not a defect but it is strange so I prefered to raise it, feel free to close this but this is also behavioral difference between older and never compiler beyond some simple syntactic sugar.
What Git revision are you using?
Aiken v1.1.21+42babe5
What operating system are you using, and which version?
Describe what the problem is?
When compiling open source SundaeSwap DEX contracts on Aiken v1.0.26-alpha+075668b, we see only one Credential type (with payment and script credential variants), this is expected, Constr(0, 1). However, when we complile the same contracts on v1.1.21+42babe5, we see some sort of strange? type alias where we have a PaymentCredential Constr(0, 1) and Credential Constr(0, 1). This is confusing and I am not sure this is expected behavior. Now they are both idential, they only differ in name. Older version of Aiken didn't have this.
What should be the expected behavior?
I would expect only to see Credential without PaymentCredential like Aiken v1.0.26-alpha+075668b.
sundaeswap_aiken_v1_0_26_alpha_075668b.json
sundaeswap_aiken_v1_1_21_42babe5.json
Contracts link:
https://github.com/SundaeSwap-finance/sundae-contracts
Last but not least, maybe this is not a defect but it is strange so I prefered to raise it, feel free to close this but this is also behavioral difference between older and never compiler beyond some simple syntactic sugar.