My minimal example for reproduction is the following:
decode(encode(vec{ record{ topic = opt variant{DaoCommunitySettings} }; record{ topic = opt variant{SnsFrameworkManagement} }}))
vec {
record { 338_645_423 = opt variant { 1_138_944_090 } };
record { 338_645_423 = opt variant { 1_138_944_090 } };
}
This particular example is taken from SNS types, but generally the problem seems to be inferring the type of the variant inside the vec, which seems to default to just using the first.
My minimal example for reproduction is the following:
This particular example is taken from SNS types, but generally the problem seems to be inferring the type of the
variantinside thevec, which seems to default to just using the first.