fix: expect _ = ... not including the cast from data logic if the type is data and right hand has a type annotation

This commit is contained in:
microproofs
2023-06-23 18:39:12 -04:00
parent 226556bdd6
commit 8b3504e9a1
7 changed files with 106 additions and 5 deletions

View File

@@ -0,0 +1,19 @@
pub type AssetClass {
policy: ByteArray,
name: ByteArray,
}
pub type DatumOrc {
oracle_parameters: OracleParametersd,
token_a_amount: Int,
token_b_amount: Int,
expiration_time: Int,
maturity_time: Int,
}
pub type OracleParametersd {
pool_nft_cs: AssetClass,
oracle_nft_cs: AssetClass,
token_a_cs: AssetClass,
token_b_cs: AssetClass,
}