fix(codegen): Add tracing when checking for a constr vs another primitive

This commit is contained in:
microproofs
2024-03-17 16:25:17 -04:00
parent d1ba8db889
commit 61936cb91e
43 changed files with 189 additions and 51 deletions

View File

@@ -0,0 +1,20 @@
pub type Params {
ParamsData { params: Data }
}
pub type MonoDatum {
ParamsWrapper { params: Params }
}
pub type GlobalDatum {
price_feed_script_hash: ByteArray,
}
test expect_raw() fail {
let my_datum: Data =
GlobalDatum {
price_feed_script_hash: #"1234567890123456789012345678901234567890",
}
expect my_datum_parse: MonoDatum = my_datum
my_datum_parse == my_datum_parse
}