AssetName is defined in the following way
pub struct AssetName {
pub inner: Vec<u8>,
#[derivative(
PartialEq = "ignore",
Ord = "ignore",
PartialOrd = "ignore",
Hash = "ignore"
)]
#[serde(skip)]
pub encodings: Option<AssetNameEncoding>,
}
This leads to the incorrectly generated JSON type
export interface AssetNameJSON {
inner: number[];
}
To avoid this issue, we usually define JsonSchema for X to override the generated definition, but we're missing this for AssetName
AssetNameis defined in the following wayThis leads to the incorrectly generated JSON type
To avoid this issue, we usually define
JsonSchema for Xto override the generated definition, but we're missing this forAssetName