From 49aa5e01a0b9ba3d42249f0949c88c49240e7c2b Mon Sep 17 00:00:00 2001 From: hade Date: Tue, 19 Nov 2024 12:24:34 +0700 Subject: [PATCH 01/14] feat: update change#2 costmodels --- crates/uplc/src/machine/cost_model.rs | 566 +++++++++++++++++++++++++- 1 file changed, 561 insertions(+), 5 deletions(-) diff --git a/crates/uplc/src/machine/cost_model.rs b/crates/uplc/src/machine/cost_model.rs index 033d421a6..e7bd36da4 100644 --- a/crates/uplc/src/machine/cost_model.rs +++ b/crates/uplc/src/machine/cost_model.rs @@ -344,6 +344,18 @@ pub struct BuiltinCosts { // bitwise integer_to_byte_string: CostingFun, byte_string_to_integer: CostingFun, + and_byte_string: CostingFun, + or_byte_string: CostingFun, + xor_byte_string: CostingFun, + complement_byte_string: CostingFun, + read_bit: CostingFun, + write_bits: CostingFun, + replicate_byte: CostingFun, + shift_byte_string: CostingFun, + rotate_byte_string: CostingFun, + count_set_bits: CostingFun, + find_first_set_bit: CostingFun, + ripemd_160: CostingFun, } impl BuiltinCosts { @@ -790,6 +802,54 @@ impl BuiltinCosts { cpu: TwoArguments::ConstantCost(30000000000), mem: TwoArguments::ConstantCost(30000000000), }, + and_byte_string: CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + or_byte_string: CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + xor_byte_string: CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + complement_byte_string: CostingFun { + cpu: OneArgument::ConstantCost(30000000000), + mem: OneArgument::ConstantCost(30000000000), + }, + read_bit: CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + write_bits: CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + replicate_byte: CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + shift_byte_string: CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + rotate_byte_string: CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + count_set_bits: CostingFun { + cpu: OneArgument::ConstantCost(30000000000), + mem: OneArgument::ConstantCost(30000000000), + }, + find_first_set_bit: CostingFun { + cpu: OneArgument::ConstantCost(30000000000), + mem: OneArgument::ConstantCost(30000000000), + }, + ripemd_160: CostingFun { + cpu: OneArgument::ConstantCost(30000000000), + mem: OneArgument::ConstantCost(30000000000), + }, } } @@ -1236,6 +1296,54 @@ impl BuiltinCosts { cpu: TwoArguments::ConstantCost(30000000000), mem: TwoArguments::ConstantCost(30000000000), }, + and_byte_string: CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + or_byte_string: CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + xor_byte_string: CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + complement_byte_string: CostingFun { + cpu: OneArgument::ConstantCost(30000000000), + mem: OneArgument::ConstantCost(30000000000), + }, + read_bit: CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + write_bits: CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + replicate_byte: CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + shift_byte_string: CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + rotate_byte_string: CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + count_set_bits: CostingFun { + cpu: OneArgument::ConstantCost(30000000000), + mem: OneArgument::ConstantCost(30000000000), + }, + find_first_set_bit: CostingFun { + cpu: OneArgument::ConstantCost(30000000000), + mem: OneArgument::ConstantCost(30000000000), + }, + ripemd_160: CostingFun { + cpu: OneArgument::ConstantCost(30000000000), + mem: OneArgument::ConstantCost(30000000000), + }, } } @@ -1732,6 +1840,114 @@ impl BuiltinCosts { slope: 1, }), }, + and_byte_string: CostingFun { + cpu: TwoArguments::LinearInXAndY(TwoVariableLinearSize { + intercept: 100181, + slope1: 726, + slope2: 719, + }), + mem: TwoArguments::LinearInY(LinearSize { + intercept: 0, + slope: 1, + }), + }, + or_byte_string: CostingFun { + cpu: TwoArguments::LinearInXAndY(TwoVariableLinearSize { + intercept: 100181, + slope1: 726, + slope2: 719, + }), + mem: TwoArguments::LinearInY(LinearSize { + intercept: 0, + slope: 1, + }), + }, + xor_byte_string: CostingFun { + cpu: TwoArguments::LinearInXAndY(TwoVariableLinearSize { + intercept: 100181, + slope1: 726, + slope2: 719, + }), + mem: TwoArguments::LinearInY(LinearSize { + intercept: 0, + slope: 1, + }), + }, + complement_byte_string: CostingFun { + cpu: OneArgument::LinearCost(LinearSize { + intercept: 107878, + slope: 680, + }), + mem: OneArgument::LinearCost(LinearSize { + intercept: 0, + slope: 1, + }), + }, + read_bit: CostingFun { + cpu: TwoArguments::ConstantCost(95336), + mem: TwoArguments::ConstantCost(1), + }, + write_bits: CostingFun { + cpu: TwoArguments::LinearInY(LinearSize { + intercept: 281145, + slope: 18848, + }), + mem: TwoArguments::LinearInY(LinearSize { + intercept: 0, + slope: 1, + }), + }, + replicate_byte: CostingFun { + cpu: TwoArguments::LinearInY(LinearSize { + intercept: 180194, + slope: 159, + }), + mem: TwoArguments::LinearInY(LinearSize { + intercept: 1, + slope: 1, + }), + }, + shift_byte_string: CostingFun { + cpu: TwoArguments::LinearInY(LinearSize { + intercept: 158519, + slope: 8942, + }), + mem: TwoArguments::LinearInY(LinearSize { + intercept: 0, + slope: 1, + }), + }, + rotate_byte_string: CostingFun { + cpu: TwoArguments::LinearInY(LinearSize { + intercept: 159378, + slope: 8813, + }), + mem: TwoArguments::LinearInY(LinearSize { + intercept: 0, + slope: 1, + }), + }, + count_set_bits: CostingFun { + cpu: OneArgument::LinearCost(LinearSize { + intercept: 107490, + slope: 3298, + }), + mem: OneArgument::ConstantCost(1), + }, + find_first_set_bit: CostingFun { + cpu: OneArgument::LinearCost(LinearSize { + intercept: 106057, + slope: 655, + }), + mem: OneArgument::ConstantCost(1), + }, + ripemd_160: CostingFun { + cpu: OneArgument::LinearCost(LinearSize { + intercept: 1964219, + slope: 24520, + }), + mem: OneArgument::ConstantCost(3), + }, } } } @@ -2707,8 +2923,8 @@ pub fn initialize_cost_model(version: &Language, costs: &[i64]) -> CostModel { } Language::PlutusV3 => { assert!( - costs.len() == 251, - "expecting 251 cost parameters, but got {:?}", + costs.len() == 297, + "expecting 297 cost parameters, but got {:?}", costs.len() ); hashmap! { @@ -2962,7 +3178,53 @@ pub fn initialize_cost_model(version: &Language, costs: &[i64]) -> CostModel { "byteStringToInteger-cpu-arguments-c1" => costs[247], "byteStringToInteger-cpu-arguments-c2" => costs[248], "byteStringToInteger-mem-arguments-intercept" => costs[249], - "byteStringToInteger-mem-arguments-slope" => costs[250] + "byteStringToInteger-mem-arguments-slope" => costs[250], + "andByteString-cpu-arguments-intercept"=> costs[251], + "andByteString-cpu-arguments-slope1"=> costs[252], + "andByteString-cpu-arguments-slope2"=> costs[253], + "andByteString-memory-arguments-intercept"=> costs[254], + "andByteString-memory-arguments-slope"=> costs[255], + "orByteString-cpu-arguments-intercept"=> costs[256], + "orByteString-cpu-arguments-slope1"=> costs[257], + "orByteString-cpu-arguments-slope2"=> costs[258], + "orByteString-memory-arguments-intercept"=> costs[259], + "orByteString-memory-arguments-slope"=> costs[260], + "xorByteString-cpu-arguments-intercept"=> costs[261], + "xorByteString-cpu-arguments-slope1"=> costs[262], + "xorByteString-cpu-arguments-slope2"=> costs[263], + "xorByteString-memory-arguments-intercept"=> costs[264], + "xorByteString-memory-arguments-slope"=> costs[265], + "complementByteString-cpu-arguments-intercept"=> costs[266], + "complementByteString-cpu-arguments-slope"=> costs[267], + "complementByteString-memory-arguments-intercept"=> costs[268], + "complementByteString-memory-arguments-slope"=> costs[269], + "readBit-cpu-arguments"=> costs[270], + "readBit-memory-arguments"=> costs[271], + "writeBits-cpu-arguments-intercept"=> costs[272], + "writeBits-cpu-arguments-slope"=> costs[273], + "writeBits-memory-arguments-intercept"=> costs[274], + "writeBits-memory-arguments-slope"=> costs[275], + "replicateByte-cpu-arguments-intercept"=> costs[276], + "replicateByte-cpu-arguments-slope"=> costs[277], + "replicateByte-memory-arguments-intercept"=> costs[278], + "replicateByte-memory-arguments-slope"=> costs[279], + "shiftByteString-cpu-arguments-intercept"=> costs[280], + "shiftByteString-cpu-arguments-slope"=> costs[281], + "shiftByteString-memory-arguments-intercept"=> costs[282], + "shiftByteString-memory-arguments-slope"=> costs[283], + "rotateByteString-cpu-arguments-intercept"=> costs[284], + "rotateByteString-cpu-arguments-slope"=> costs[285], + "rotateByteString-memory-arguments-intercept"=> costs[286], + "rotateByteString-memory-arguments-slope"=> costs[287], + "countSetBits-cpu-arguments-intercept"=> costs[288], + "countSetBits-cpu-arguments-slope"=> costs[289], + "countSetBits-memory-arguments"=> costs[290], + "findFirstSetBit-cpu-arguments-intercept"=> costs[291], + "findFirstSetBit-cpu-arguments-slope"=> costs[292], + "findFirstSetBit-memory-arguments"=> costs[293], + "ripemd_160-cpu-arguments-intercept"=> costs[294], + "ripemd_160-cpu-arguments-slope"=> costs[295], + "ripemd_160-memory-arguments"=> costs[296], } } }; @@ -4421,6 +4683,288 @@ pub fn initialize_cost_model(version: &Language, costs: &[i64]) -> CostModel { }), }, }, + and_byte_string: match version { + Language::PlutusV1 | Language::PlutusV2 => CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + Language::PlutusV3 => CostingFun { + cpu: TwoArguments::LinearInXAndY(TwoVariableLinearSize { + intercept: *cost_map + .get("andByteString-cpu-arguments-intercept") + .unwrap_or(&30000000000), + slope1: *cost_map + .get("andByteString-cpu-arguments-slope1") + .unwrap_or(&30000000000), + slope2: *cost_map + .get("andByteString-cpu-arguments-slope2") + .unwrap_or(&30000000000), + }), + mem: TwoArguments::LinearInY(LinearSize { + intercept: *cost_map + .get("andByteString-memory-arguments-intercept") + .unwrap_or(&30000000000), + slope: *cost_map + .get("andByteString-memory-arguments-slope") + .unwrap_or(&30000000000), + }), + }, + }, + or_byte_string: match version { + Language::PlutusV1 | Language::PlutusV2 => CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + Language::PlutusV3 => CostingFun { + cpu: TwoArguments::LinearInXAndY(TwoVariableLinearSize { + intercept: *cost_map + .get("orByteString-cpu-arguments-intercept") + .unwrap_or(&30000000000), + slope1: *cost_map + .get("orByteString-cpu-arguments-slope1") + .unwrap_or(&30000000000), + slope2: *cost_map + .get("orByteString-cpu-arguments-slope2") + .unwrap_or(&30000000000), + }), + mem: TwoArguments::LinearInY(LinearSize { + intercept: *cost_map + .get("orByteString-memory-arguments-intercept") + .unwrap_or(&30000000000), + slope: *cost_map + .get("orByteString-memory-arguments-slope") + .unwrap_or(&30000000000), + }), + }, + }, + xor_byte_string: match version { + Language::PlutusV1 | Language::PlutusV2 => CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + Language::PlutusV3 => CostingFun { + cpu: TwoArguments::LinearInXAndY(TwoVariableLinearSize { + intercept: *cost_map + .get("xorByteString-cpu-arguments-intercept") + .unwrap_or(&30000000000), + slope1: *cost_map + .get("xorByteString-cpu-arguments-slope1") + .unwrap_or(&30000000000), + slope2: *cost_map + .get("xorByteString-cpu-arguments-slope2") + .unwrap_or(&30000000000), + }), + mem: TwoArguments::LinearInY(LinearSize { + intercept: *cost_map + .get("xorByteString-memory-arguments-intercept") + .unwrap_or(&30000000000), + slope: *cost_map + .get("xorByteString-memory-arguments-slope") + .unwrap_or(&30000000000), + }), + }, + }, + complement_byte_string: match version { + Language::PlutusV1 | Language::PlutusV2 => CostingFun { + cpu: OneArgument::ConstantCost(30000000000), + mem: OneArgument::ConstantCost(30000000000), + }, + Language::PlutusV3 => CostingFun { + cpu: OneArgument::LinearCost(LinearSize { + intercept: *cost_map + .get("complementByteString-cpu-arguments-intercept") + .unwrap_or(&30000000000), + slope: *cost_map + .get("complementByteString-cpu-arguments-slope") + .unwrap_or(&30000000000), + }), + mem: OneArgument::LinearCost(LinearSize { + intercept: *cost_map + .get("complementByteString-memory-arguments-intercept") + .unwrap_or(&30000000000), + slope: *cost_map + .get("complementByteString-memory-arguments-slope") + .unwrap_or(&30000000000), + }), + }, + }, + read_bit: match version { + Language::PlutusV1 | Language::PlutusV2 => CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + Language::PlutusV3 => CostingFun { + cpu: TwoArguments::ConstantCost( + *cost_map + .get("readBit-cpu-arguments") + .unwrap_or(&30000000000), + ), + mem: TwoArguments::ConstantCost( + *cost_map + .get("readBit-memory-arguments") + .unwrap_or(&30000000000), + ), + }, + }, + write_bits: match version { + Language::PlutusV1 | Language::PlutusV2 => CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + Language::PlutusV3 => CostingFun { + cpu: TwoArguments::LinearInY(LinearSize { + intercept: *cost_map + .get("writeBits-cpu-arguments-intercept") + .unwrap_or(&30000000000), + slope: *cost_map + .get("writeBits-cpu-arguments-slope") + .unwrap_or(&30000000000), + }), + mem: TwoArguments::LinearInY(LinearSize { + intercept: *cost_map + .get("writeBits-memory-arguments-intercept") + .unwrap_or(&30000000000), + slope: *cost_map + .get("writeBits-memory-arguments-slope") + .unwrap_or(&30000000000), + }), + }, + }, + replicate_byte: match version { + Language::PlutusV1 | Language::PlutusV2 => CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + Language::PlutusV3 => CostingFun { + cpu: TwoArguments::LinearInY(LinearSize { + intercept: *cost_map + .get("replicateByte-cpu-arguments-intercept") + .unwrap_or(&30000000000), + slope: *cost_map + .get("replicateByte-cpu-arguments-slope") + .unwrap_or(&30000000000), + }), + mem: TwoArguments::LinearInY(LinearSize { + intercept: *cost_map + .get("replicateByte-memory-arguments-intercept") + .unwrap_or(&30000000000), + slope: *cost_map + .get("replicateByte-memory-arguments-slope") + .unwrap_or(&30000000000), + }), + }, + }, + shift_byte_string: match version { + Language::PlutusV1 | Language::PlutusV2 => CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + Language::PlutusV3 => CostingFun { + cpu: TwoArguments::LinearInY(LinearSize { + intercept: *cost_map + .get("shiftByteString-cpu-arguments-intercept") + .unwrap_or(&30000000000), + slope: *cost_map + .get("shiftByteString-cpu-arguments-slope") + .unwrap_or(&30000000000), + }), + mem: TwoArguments::LinearInY(LinearSize { + intercept: *cost_map + .get("shiftByteString-memory-arguments-intercept") + .unwrap_or(&30000000000), + slope: *cost_map + .get("shiftByteString-memory-arguments-slope") + .unwrap_or(&30000000000), + }), + }, + }, + rotate_byte_string: match version { + Language::PlutusV1 | Language::PlutusV2 => CostingFun { + cpu: TwoArguments::ConstantCost(30000000000), + mem: TwoArguments::ConstantCost(30000000000), + }, + Language::PlutusV3 => CostingFun { + cpu: TwoArguments::LinearInY(LinearSize { + intercept: *cost_map + .get("rotateByteString-cpu-arguments-intercept") + .unwrap_or(&30000000000), + slope: *cost_map + .get("rotateByteString-cpu-arguments-slope") + .unwrap_or(&30000000000), + }), + mem: TwoArguments::LinearInY(LinearSize { + intercept: *cost_map + .get("rotateByteString-memory-arguments-intercept") + .unwrap_or(&30000000000), + slope: *cost_map + .get("rotateByteString-memory-arguments-slope") + .unwrap_or(&30000000000), + }), + }, + }, + count_set_bits: match version { + Language::PlutusV1 | Language::PlutusV2 => CostingFun { + cpu: OneArgument::ConstantCost(30000000000), + mem: OneArgument::ConstantCost(30000000000), + }, + Language::PlutusV3 => CostingFun { + cpu: OneArgument::LinearCost(LinearSize { + intercept: *cost_map + .get("countSetBits-cpu-arguments-intercept") + .unwrap_or(&30000000000), + slope: *cost_map + .get("countSetBits-cpu-arguments-slope") + .unwrap_or(&30000000000), + }), + mem: OneArgument::ConstantCost( + *cost_map + .get("countSetBits-memory-arguments") + .unwrap_or(&30000000000), + ), + }, + }, + find_first_set_bit: match version { + Language::PlutusV1 | Language::PlutusV2 => CostingFun { + cpu: OneArgument::ConstantCost(30000000000), + mem: OneArgument::ConstantCost(30000000000), + }, + Language::PlutusV3 => CostingFun { + cpu: OneArgument::LinearCost(LinearSize { + intercept: *cost_map + .get("findFirstSetBit-cpu-arguments-intercept") + .unwrap_or(&30000000000), + slope: *cost_map + .get("findFirstSetBit-cpu-arguments-slope") + .unwrap_or(&30000000000), + }), + mem: OneArgument::ConstantCost( + *cost_map + .get("findFirstSetBit-memory-arguments") + .unwrap_or(&30000000000), + ), + }, + }, + ripemd_160: match version { + Language::PlutusV1 | Language::PlutusV2 => CostingFun { + cpu: OneArgument::ConstantCost(30000000000), + mem: OneArgument::ConstantCost(30000000000), + }, + Language::PlutusV3 => CostingFun { + cpu: OneArgument::LinearCost(LinearSize { + intercept: *cost_map + .get("ripemd_160-cpu-arguments-intercept") + .unwrap_or(&30000000000), + slope: *cost_map + .get("ripemd_160-cpu-arguments-slope") + .unwrap_or(&30000000000), + }), + mem: OneArgument::ConstantCost( + *cost_map + .get("ripemd_160-memory-arguments") + .unwrap_or(&30000000000), + ), + }, + }, }, } } @@ -4451,6 +4995,7 @@ pub enum TwoArguments { ConstantCost(i64), LinearInX(LinearSize), LinearInY(LinearSize), + LinearInXAndY(TwoVariableLinearSize), AddedSizes(AddedSizes), SubtractedSizes(SubtractedSizes), MultipliedSizes(MultipliedSizes), @@ -4469,6 +5014,7 @@ impl TwoArguments { TwoArguments::ConstantCost(c) => *c, TwoArguments::LinearInX(l) => l.slope * x + l.intercept, TwoArguments::LinearInY(l) => l.slope * y + l.intercept, + TwoArguments::LinearInXAndY(l) => l.slope1 * x + l.slope2 * y + l.intercept, TwoArguments::AddedSizes(s) => s.slope * (x + y) + s.intercept, TwoArguments::SubtractedSizes(s) => s.slope * s.minimum.max(x - y) + s.intercept, TwoArguments::MultipliedSizes(s) => s.slope * (x * y) + s.intercept, @@ -4567,6 +5113,13 @@ pub struct LinearSize { pub slope: i64, } +#[derive(Debug, PartialEq, Clone)] +pub struct TwoVariableLinearSize { + pub intercept: i64, + pub slope1: i64, + pub slope2: i64, +} + #[derive(Debug, PartialEq, Clone)] pub struct AddedSizes { pub intercept: i64, @@ -4711,7 +5264,7 @@ mod tests { } #[test] - fn assert_default_cost_model_v3_mainnet_2024_09_29() { + fn assert_default_cost_model_v3_preprod_2024_11_22() { let costs: Vec = vec![ 100788, 420, 1, 1, 1000, 173, 0, 1, 1000, 59957, 4, 1, 11183, 32, 201305, 8356, 4, 16000, 100, 16000, 100, 16000, 100, 16000, 100, 16000, 100, 16000, 100, 100, 100, @@ -4729,7 +5282,10 @@ mod tests { 52538055, 3756, 18, 267929, 18, 76433006, 8868, 18, 52948122, 18, 1995836, 36, 3227919, 12, 901022, 1, 166917843, 4307, 36, 284546, 36, 158221314, 26549, 36, 74698472, 36, 333849714, 1, 254006273, 72, 2174038, 72, 2261318, 64571, 4, 207616, 8310, 4, 1293828, - 28716, 63, 0, 1, 1006041, 43623, 251, 0, 1, + 28716, 63, 0, 1, 1006041, 43623, 251, 0, 1, 100181, 726, 719, 0, 1, 100181, 726, 719, + 0, 1, 100181, 726, 719, 0, 1, 107878, 680, 0, 1, 95336, 1, 281145, 18848, 0, 1, 180194, + 159, 1, 1, 158519, 8942, 0, 1, 159378, 8813, 0, 1, 107490, 3298, 1, 106057, 655, 1, + 1964219, 24520, 3, ]; let cost_model = initialize_cost_model(&Language::PlutusV3, &costs); From befbb6ec1835ed71cc16a0261914cc439fdd889b Mon Sep 17 00:00:00 2001 From: microproofs Date: Mon, 25 Nov 2024 08:36:01 +0700 Subject: [PATCH 02/14] Start adding implementation for new builtins --- crates/aiken-lang/src/builtins.rs | 13 +++++ crates/uplc/src/builtins.rs | 69 +++++++++++++++++++++++++-- crates/uplc/src/machine/cost_model.rs | 54 +++++++++++++++++++++ crates/uplc/src/machine/runtime.rs | 56 +++++++++++++++++++++- 4 files changed, 187 insertions(+), 5 deletions(-) diff --git a/crates/aiken-lang/src/builtins.rs b/crates/aiken-lang/src/builtins.rs index 2a9c53c14..fc24c7368 100644 --- a/crates/aiken-lang/src/builtins.rs +++ b/crates/aiken-lang/src/builtins.rs @@ -908,6 +908,19 @@ pub fn from_default_function(builtin: DefaultFunction, id_gen: &IdGenerator) -> (tipo, 2) } + DefaultFunction::AndByteString => todo!(), + DefaultFunction::OrByteString => todo!(), + DefaultFunction::XorByteString => todo!(), + DefaultFunction::ComplementByteString => todo!(), + DefaultFunction::ReadBit => todo!(), + DefaultFunction::WriteBits => todo!(), + DefaultFunction::ReplicateByte => todo!(), + DefaultFunction::ShiftByteString => todo!(), + DefaultFunction::RotateByteString => todo!(), + DefaultFunction::CountSetBits => todo!(), + DefaultFunction::FindFirstSetBit => todo!(), + DefaultFunction::Ripemd_160 => todo!(), + DefaultFunction::ExpModInteger => todo!(), }; ValueConstructor::public( diff --git a/crates/uplc/src/builtins.rs b/crates/uplc/src/builtins.rs index 2a777c41c..4464b3123 100644 --- a/crates/uplc/src/builtins.rs +++ b/crates/uplc/src/builtins.rs @@ -101,9 +101,28 @@ pub enum DefaultFunction { Bls12_381_MulMlResult = 69, Bls12_381_FinalVerify = 70, - // Bitwise + // Conversions IntegerToByteString = 73, ByteStringToInteger = 74, + // Logical + AndByteString = 75, + OrByteString = 76, + XorByteString = 77, + ComplementByteString = 78, + ReadBit = 79, + WriteBits = 80, + ReplicateByte = 81, + // Bitwise + ShiftByteString = 82, + RotateByteString = 83, + CountSetBits = 84, + FindFirstSetBit = 85, + // Ripemd_160 + Ripemd_160 = 86, + ExpModInteger = 87, + // Match + // CaseList = 88, + // CaseData = 89, } impl TryFrom for DefaultFunction { @@ -362,11 +381,23 @@ impl FromStr for DefaultFunction { "bls12_381_millerLoop" => Ok(Bls12_381_MillerLoop), "bls12_381_mulMlResult" => Ok(Bls12_381_MulMlResult), "bls12_381_finalVerify" => Ok(Bls12_381_FinalVerify), - - // Bitwise "integerToByteString" => Ok(IntegerToByteString), "byteStringToInteger" => Ok(ByteStringToInteger), - + "andByteString" => Ok(AndByteString), + "orByteString" => Ok(OrByteString), + "xorByteString" => Ok(XorByteString), + "complementByteString" => Ok(ComplementByteString), + "readBit" => Ok(ReadBit), + "writeBits" => Ok(WriteBits), + "replicateByte" => Ok(ReplicateByte), + "shiftByteString" => Ok(ShiftByteString), + "rotateByteString" => Ok(RotateByteString), + "countSetBits" => Ok(CountSetBits), + "findFirstSetBit" => Ok(FindFirstSetBit), + "ripemd160" => Ok(Ripemd_160), + "expModInteger" => Ok(ExpModInteger), + // "caseList" => Ok(CaseList), + // "caseData" => Ok(CaseData), rest => Err(format!("Default Function not found - {rest}")), } } @@ -452,6 +483,21 @@ impl Display for DefaultFunction { Bls12_381_FinalVerify => write!(f, "bls12_381_finalVerify"), IntegerToByteString => write!(f, "integerToByteString"), ByteStringToInteger => write!(f, "byteStringToInteger"), + AndByteString => write!(f, "andByteString"), + OrByteString => write!(f, "orByteString"), + XorByteString => write!(f, "xorByteString"), + ComplementByteString => write!(f, "complementByteString"), + ReadBit => write!(f, "readBit"), + WriteBits => write!(f, "writeBits"), + ReplicateByte => write!(f, "replicateByte"), + ShiftByteString => write!(f, "shiftByteString"), + RotateByteString => write!(f, "rotateByteString"), + CountSetBits => write!(f, "countSetBits"), + FindFirstSetBit => write!(f, "findFirstSetBit"), + Ripemd_160 => write!(f, "ripemd160"), + ExpModInteger => write!(f, "expModInteger"), + // CaseList => write!(f, "caseList"), + // CaseData => write!(f, "caseData"), } } } @@ -536,6 +582,21 @@ impl DefaultFunction { Bls12_381_FinalVerify => "bls12_381_final_verify", IntegerToByteString => "integer_to_bytearray", ByteStringToInteger => "bytearray_to_integer", + AndByteString => "and_bytearray", + OrByteString => "or_bytearray", + XorByteString => "xor_bytearray", + ComplementByteString => "complement_bytearray", + ReadBit => "read_bit", + WriteBits => "write_bits", + ReplicateByte => "replicate_byte", + ShiftByteString => "shift_bytearray", + RotateByteString => "rotate_bytearray", + CountSetBits => "count_set_bits", + FindFirstSetBit => "find_first_set_bit", + Ripemd_160 => "ripemd160", + ExpModInteger => "exp_mod_integer", + // CaseList => "case_list", + // CaseData => "case_data", } .to_string() } diff --git a/crates/uplc/src/machine/cost_model.rs b/crates/uplc/src/machine/cost_model.rs index e7bd36da4..51c28b0cc 100644 --- a/crates/uplc/src/machine/cost_model.rs +++ b/crates/uplc/src/machine/cost_model.rs @@ -2566,6 +2566,60 @@ impl BuiltinCosts { .cpu .cost(args[0].to_ex_mem(), args[1].to_ex_mem()), }, + DefaultFunction::AndByteString => ExBudget { + mem: self + .and_byte_string + .mem + .cost(args[0].to_ex_mem(), args[1].to_ex_mem()), + cpu: self + .and_byte_string + .cpu + .cost(args[0].to_ex_mem(), args[1].to_ex_mem()), + }, + DefaultFunction::OrByteString => ExBudget { + mem: self + .or_byte_string + .mem + .cost(args[0].to_ex_mem(), args[1].to_ex_mem()), + cpu: self + .or_byte_string + .cpu + .cost(args[0].to_ex_mem(), args[1].to_ex_mem()), + }, + DefaultFunction::XorByteString => ExBudget { + mem: self + .xor_byte_string + .mem + .cost(args[0].to_ex_mem(), args[1].to_ex_mem()), + cpu: self + .xor_byte_string + .cpu + .cost(args[0].to_ex_mem(), args[1].to_ex_mem()), + }, + DefaultFunction::ComplementByteString => ExBudget { + mem: self.complement_byte_string.mem.cost(args[0].to_ex_mem()), + cpu: self.complement_byte_string.cpu.cost(args[0].to_ex_mem()), + }, + DefaultFunction::ReadBit => ExBudget { + mem: self + .read_bit + .mem + .cost(args[0].to_ex_mem(), args[1].to_ex_mem()), + cpu: self + .read_bit + .cpu + .cost(args[0].to_ex_mem(), args[1].to_ex_mem()), + }, + DefaultFunction::WriteBits => todo!(), + DefaultFunction::ReplicateByte => todo!(), + DefaultFunction::ShiftByteString => todo!(), + DefaultFunction::RotateByteString => todo!(), + DefaultFunction::CountSetBits => todo!(), + DefaultFunction::FindFirstSetBit => todo!(), + DefaultFunction::Ripemd_160 => todo!(), + DefaultFunction::ExpModInteger => todo!(), + // DefaultFunction::CaseList => todo!(), + // DefaultFunction::CaseData => todo!(), }) } } diff --git a/crates/uplc/src/machine/runtime.rs b/crates/uplc/src/machine/runtime.rs index c212ec969..bf4bec75e 100644 --- a/crates/uplc/src/machine/runtime.rs +++ b/crates/uplc/src/machine/runtime.rs @@ -177,7 +177,22 @@ impl DefaultFunction { | DefaultFunction::Bls12_381_MulMlResult | DefaultFunction::Bls12_381_FinalVerify | DefaultFunction::IntegerToByteString - | DefaultFunction::ByteStringToInteger => false, + | DefaultFunction::ByteStringToInteger + | DefaultFunction::AndByteString + | DefaultFunction::OrByteString + | DefaultFunction::XorByteString + | DefaultFunction::ComplementByteString + | DefaultFunction::ReadBit + | DefaultFunction::WriteBits + | DefaultFunction::ReplicateByte + | DefaultFunction::ShiftByteString + | DefaultFunction::RotateByteString + | DefaultFunction::CountSetBits + | DefaultFunction::FindFirstSetBit + | DefaultFunction::Ripemd_160 + | DefaultFunction::ExpModInteger => false, + // | DefaultFunction::CaseList + // | DefaultFunction::CaseData } } @@ -258,6 +273,19 @@ impl DefaultFunction { DefaultFunction::Bls12_381_FinalVerify => 2, DefaultFunction::IntegerToByteString => 3, DefaultFunction::ByteStringToInteger => 2, + DefaultFunction::AndByteString => 2, + DefaultFunction::OrByteString => 2, + DefaultFunction::XorByteString => 2, + DefaultFunction::ComplementByteString => todo!(), + DefaultFunction::ReadBit => todo!(), + DefaultFunction::WriteBits => todo!(), + DefaultFunction::ReplicateByte => todo!(), + DefaultFunction::ShiftByteString => todo!(), + DefaultFunction::RotateByteString => todo!(), + DefaultFunction::CountSetBits => todo!(), + DefaultFunction::FindFirstSetBit => todo!(), + DefaultFunction::Ripemd_160 => todo!(), + DefaultFunction::ExpModInteger => todo!(), } } @@ -338,6 +366,19 @@ impl DefaultFunction { DefaultFunction::Bls12_381_FinalVerify => 0, DefaultFunction::IntegerToByteString => 0, DefaultFunction::ByteStringToInteger => 0, + DefaultFunction::AndByteString => 0, + DefaultFunction::OrByteString => 0, + DefaultFunction::XorByteString => 0, + DefaultFunction::ComplementByteString => 0, + DefaultFunction::ReadBit => 0, + DefaultFunction::WriteBits => 0, + DefaultFunction::ReplicateByte => 0, + DefaultFunction::ShiftByteString => 0, + DefaultFunction::RotateByteString => 0, + DefaultFunction::CountSetBits => 0, + DefaultFunction::FindFirstSetBit => 0, + DefaultFunction::Ripemd_160 => 0, + DefaultFunction::ExpModInteger => 0, } } @@ -1454,6 +1495,19 @@ impl DefaultFunction { Ok(Value::Con(constant.into())) } + DefaultFunction::AndByteString => todo!(), + DefaultFunction::OrByteString => todo!(), + DefaultFunction::XorByteString => todo!(), + DefaultFunction::ComplementByteString => todo!(), + DefaultFunction::ReadBit => todo!(), + DefaultFunction::WriteBits => todo!(), + DefaultFunction::ReplicateByte => todo!(), + DefaultFunction::ShiftByteString => todo!(), + DefaultFunction::RotateByteString => todo!(), + DefaultFunction::CountSetBits => todo!(), + DefaultFunction::FindFirstSetBit => todo!(), + DefaultFunction::Ripemd_160 => todo!(), + DefaultFunction::ExpModInteger => todo!(), } } } From 4839273449128613e2b43baa921e104f91700521 Mon Sep 17 00:00:00 2001 From: microproofs Date: Mon, 25 Nov 2024 10:03:59 +0700 Subject: [PATCH 03/14] Continue working on new builtin cost model updates --- crates/uplc/src/machine/cost_model.rs | 170 ++++++++++++++------------ crates/uplc/src/machine/runtime.rs | 26 ++-- 2 files changed, 103 insertions(+), 93 deletions(-) diff --git a/crates/uplc/src/machine/cost_model.rs b/crates/uplc/src/machine/cost_model.rs index 51c28b0cc..bae96342d 100644 --- a/crates/uplc/src/machine/cost_model.rs +++ b/crates/uplc/src/machine/cost_model.rs @@ -344,12 +344,12 @@ pub struct BuiltinCosts { // bitwise integer_to_byte_string: CostingFun, byte_string_to_integer: CostingFun, - and_byte_string: CostingFun, - or_byte_string: CostingFun, - xor_byte_string: CostingFun, + and_byte_string: CostingFun, + or_byte_string: CostingFun, + xor_byte_string: CostingFun, complement_byte_string: CostingFun, read_bit: CostingFun, - write_bits: CostingFun, + write_bits: CostingFun, replicate_byte: CostingFun, shift_byte_string: CostingFun, rotate_byte_string: CostingFun, @@ -803,16 +803,16 @@ impl BuiltinCosts { mem: TwoArguments::ConstantCost(30000000000), }, and_byte_string: CostingFun { - cpu: TwoArguments::ConstantCost(30000000000), - mem: TwoArguments::ConstantCost(30000000000), + cpu: ThreeArguments::ConstantCost(30000000000), + mem: ThreeArguments::ConstantCost(30000000000), }, or_byte_string: CostingFun { - cpu: TwoArguments::ConstantCost(30000000000), - mem: TwoArguments::ConstantCost(30000000000), + cpu: ThreeArguments::ConstantCost(30000000000), + mem: ThreeArguments::ConstantCost(30000000000), }, xor_byte_string: CostingFun { - cpu: TwoArguments::ConstantCost(30000000000), - mem: TwoArguments::ConstantCost(30000000000), + cpu: ThreeArguments::ConstantCost(30000000000), + mem: ThreeArguments::ConstantCost(30000000000), }, complement_byte_string: CostingFun { cpu: OneArgument::ConstantCost(30000000000), @@ -823,8 +823,8 @@ impl BuiltinCosts { mem: TwoArguments::ConstantCost(30000000000), }, write_bits: CostingFun { - cpu: TwoArguments::ConstantCost(30000000000), - mem: TwoArguments::ConstantCost(30000000000), + cpu: ThreeArguments::ConstantCost(30000000000), + mem: ThreeArguments::ConstantCost(30000000000), }, replicate_byte: CostingFun { cpu: TwoArguments::ConstantCost(30000000000), @@ -1297,16 +1297,16 @@ impl BuiltinCosts { mem: TwoArguments::ConstantCost(30000000000), }, and_byte_string: CostingFun { - cpu: TwoArguments::ConstantCost(30000000000), - mem: TwoArguments::ConstantCost(30000000000), + cpu: ThreeArguments::ConstantCost(30000000000), + mem: ThreeArguments::ConstantCost(30000000000), }, or_byte_string: CostingFun { - cpu: TwoArguments::ConstantCost(30000000000), - mem: TwoArguments::ConstantCost(30000000000), + cpu: ThreeArguments::ConstantCost(30000000000), + mem: ThreeArguments::ConstantCost(30000000000), }, xor_byte_string: CostingFun { - cpu: TwoArguments::ConstantCost(30000000000), - mem: TwoArguments::ConstantCost(30000000000), + cpu: ThreeArguments::ConstantCost(30000000000), + mem: ThreeArguments::ConstantCost(30000000000), }, complement_byte_string: CostingFun { cpu: OneArgument::ConstantCost(30000000000), @@ -1317,8 +1317,8 @@ impl BuiltinCosts { mem: TwoArguments::ConstantCost(30000000000), }, write_bits: CostingFun { - cpu: TwoArguments::ConstantCost(30000000000), - mem: TwoArguments::ConstantCost(30000000000), + cpu: ThreeArguments::ConstantCost(30000000000), + mem: ThreeArguments::ConstantCost(30000000000), }, replicate_byte: CostingFun { cpu: TwoArguments::ConstantCost(30000000000), @@ -1841,34 +1841,34 @@ impl BuiltinCosts { }), }, and_byte_string: CostingFun { - cpu: TwoArguments::LinearInXAndY(TwoVariableLinearSize { + cpu: ThreeArguments::LinearInYandZ(TwoVariableLinearSize { intercept: 100181, slope1: 726, slope2: 719, }), - mem: TwoArguments::LinearInY(LinearSize { + mem: ThreeArguments::LinearInMaxYZ(LinearSize { intercept: 0, slope: 1, }), }, or_byte_string: CostingFun { - cpu: TwoArguments::LinearInXAndY(TwoVariableLinearSize { + cpu: ThreeArguments::LinearInYandZ(TwoVariableLinearSize { intercept: 100181, slope1: 726, slope2: 719, }), - mem: TwoArguments::LinearInY(LinearSize { + mem: ThreeArguments::LinearInMaxYZ(LinearSize { intercept: 0, slope: 1, }), }, xor_byte_string: CostingFun { - cpu: TwoArguments::LinearInXAndY(TwoVariableLinearSize { + cpu: ThreeArguments::LinearInYandZ(TwoVariableLinearSize { intercept: 100181, slope1: 726, slope2: 719, }), - mem: TwoArguments::LinearInY(LinearSize { + mem: ThreeArguments::LinearInMaxYZ(LinearSize { intercept: 0, slope: 1, }), @@ -1888,41 +1888,41 @@ impl BuiltinCosts { mem: TwoArguments::ConstantCost(1), }, write_bits: CostingFun { - cpu: TwoArguments::LinearInY(LinearSize { + cpu: ThreeArguments::LinearInY(LinearSize { intercept: 281145, slope: 18848, }), - mem: TwoArguments::LinearInY(LinearSize { + mem: ThreeArguments::LinearInX(LinearSize { intercept: 0, slope: 1, }), }, replicate_byte: CostingFun { - cpu: TwoArguments::LinearInY(LinearSize { + cpu: TwoArguments::LinearInX(LinearSize { intercept: 180194, slope: 159, }), - mem: TwoArguments::LinearInY(LinearSize { + mem: TwoArguments::LinearInX(LinearSize { intercept: 1, slope: 1, }), }, shift_byte_string: CostingFun { - cpu: TwoArguments::LinearInY(LinearSize { + cpu: TwoArguments::LinearInX(LinearSize { intercept: 158519, slope: 8942, }), - mem: TwoArguments::LinearInY(LinearSize { + mem: TwoArguments::LinearInX(LinearSize { intercept: 0, slope: 1, }), }, rotate_byte_string: CostingFun { - cpu: TwoArguments::LinearInY(LinearSize { + cpu: TwoArguments::LinearInX(LinearSize { intercept: 159378, slope: 8813, }), - mem: TwoArguments::LinearInY(LinearSize { + mem: TwoArguments::LinearInX(LinearSize { intercept: 0, slope: 1, }), @@ -2567,34 +2567,40 @@ impl BuiltinCosts { .cost(args[0].to_ex_mem(), args[1].to_ex_mem()), }, DefaultFunction::AndByteString => ExBudget { - mem: self - .and_byte_string - .mem - .cost(args[0].to_ex_mem(), args[1].to_ex_mem()), - cpu: self - .and_byte_string - .cpu - .cost(args[0].to_ex_mem(), args[1].to_ex_mem()), + mem: self.and_byte_string.mem.cost( + args[0].to_ex_mem(), + args[1].to_ex_mem(), + args[2].to_ex_mem(), + ), + cpu: self.and_byte_string.cpu.cost( + args[0].to_ex_mem(), + args[1].to_ex_mem(), + args[2].to_ex_mem(), + ), }, DefaultFunction::OrByteString => ExBudget { - mem: self - .or_byte_string - .mem - .cost(args[0].to_ex_mem(), args[1].to_ex_mem()), - cpu: self - .or_byte_string - .cpu - .cost(args[0].to_ex_mem(), args[1].to_ex_mem()), + mem: self.or_byte_string.mem.cost( + args[0].to_ex_mem(), + args[1].to_ex_mem(), + args[2].to_ex_mem(), + ), + cpu: self.or_byte_string.cpu.cost( + args[0].to_ex_mem(), + args[1].to_ex_mem(), + args[2].to_ex_mem(), + ), }, DefaultFunction::XorByteString => ExBudget { - mem: self - .xor_byte_string - .mem - .cost(args[0].to_ex_mem(), args[1].to_ex_mem()), - cpu: self - .xor_byte_string - .cpu - .cost(args[0].to_ex_mem(), args[1].to_ex_mem()), + mem: self.xor_byte_string.mem.cost( + args[0].to_ex_mem(), + args[1].to_ex_mem(), + args[2].to_ex_mem(), + ), + cpu: self.xor_byte_string.cpu.cost( + args[0].to_ex_mem(), + args[1].to_ex_mem(), + args[2].to_ex_mem(), + ), }, DefaultFunction::ComplementByteString => ExBudget { mem: self.complement_byte_string.mem.cost(args[0].to_ex_mem()), @@ -4739,11 +4745,11 @@ pub fn initialize_cost_model(version: &Language, costs: &[i64]) -> CostModel { }, and_byte_string: match version { Language::PlutusV1 | Language::PlutusV2 => CostingFun { - cpu: TwoArguments::ConstantCost(30000000000), - mem: TwoArguments::ConstantCost(30000000000), + cpu: ThreeArguments::ConstantCost(30000000000), + mem: ThreeArguments::ConstantCost(30000000000), }, Language::PlutusV3 => CostingFun { - cpu: TwoArguments::LinearInXAndY(TwoVariableLinearSize { + cpu: ThreeArguments::LinearInYandZ(TwoVariableLinearSize { intercept: *cost_map .get("andByteString-cpu-arguments-intercept") .unwrap_or(&30000000000), @@ -4754,7 +4760,7 @@ pub fn initialize_cost_model(version: &Language, costs: &[i64]) -> CostModel { .get("andByteString-cpu-arguments-slope2") .unwrap_or(&30000000000), }), - mem: TwoArguments::LinearInY(LinearSize { + mem: ThreeArguments::LinearInMaxYZ(LinearSize { intercept: *cost_map .get("andByteString-memory-arguments-intercept") .unwrap_or(&30000000000), @@ -4766,11 +4772,11 @@ pub fn initialize_cost_model(version: &Language, costs: &[i64]) -> CostModel { }, or_byte_string: match version { Language::PlutusV1 | Language::PlutusV2 => CostingFun { - cpu: TwoArguments::ConstantCost(30000000000), - mem: TwoArguments::ConstantCost(30000000000), + cpu: ThreeArguments::ConstantCost(30000000000), + mem: ThreeArguments::ConstantCost(30000000000), }, Language::PlutusV3 => CostingFun { - cpu: TwoArguments::LinearInXAndY(TwoVariableLinearSize { + cpu: ThreeArguments::LinearInYandZ(TwoVariableLinearSize { intercept: *cost_map .get("orByteString-cpu-arguments-intercept") .unwrap_or(&30000000000), @@ -4781,7 +4787,7 @@ pub fn initialize_cost_model(version: &Language, costs: &[i64]) -> CostModel { .get("orByteString-cpu-arguments-slope2") .unwrap_or(&30000000000), }), - mem: TwoArguments::LinearInY(LinearSize { + mem: ThreeArguments::LinearInMaxYZ(LinearSize { intercept: *cost_map .get("orByteString-memory-arguments-intercept") .unwrap_or(&30000000000), @@ -4793,11 +4799,11 @@ pub fn initialize_cost_model(version: &Language, costs: &[i64]) -> CostModel { }, xor_byte_string: match version { Language::PlutusV1 | Language::PlutusV2 => CostingFun { - cpu: TwoArguments::ConstantCost(30000000000), - mem: TwoArguments::ConstantCost(30000000000), + cpu: ThreeArguments::ConstantCost(30000000000), + mem: ThreeArguments::ConstantCost(30000000000), }, Language::PlutusV3 => CostingFun { - cpu: TwoArguments::LinearInXAndY(TwoVariableLinearSize { + cpu: ThreeArguments::LinearInYandZ(TwoVariableLinearSize { intercept: *cost_map .get("xorByteString-cpu-arguments-intercept") .unwrap_or(&30000000000), @@ -4808,7 +4814,7 @@ pub fn initialize_cost_model(version: &Language, costs: &[i64]) -> CostModel { .get("xorByteString-cpu-arguments-slope2") .unwrap_or(&30000000000), }), - mem: TwoArguments::LinearInY(LinearSize { + mem: ThreeArguments::LinearInMaxYZ(LinearSize { intercept: *cost_map .get("xorByteString-memory-arguments-intercept") .unwrap_or(&30000000000), @@ -4862,11 +4868,11 @@ pub fn initialize_cost_model(version: &Language, costs: &[i64]) -> CostModel { }, write_bits: match version { Language::PlutusV1 | Language::PlutusV2 => CostingFun { - cpu: TwoArguments::ConstantCost(30000000000), - mem: TwoArguments::ConstantCost(30000000000), + cpu: ThreeArguments::ConstantCost(30000000000), + mem: ThreeArguments::ConstantCost(30000000000), }, Language::PlutusV3 => CostingFun { - cpu: TwoArguments::LinearInY(LinearSize { + cpu: ThreeArguments::LinearInY(LinearSize { intercept: *cost_map .get("writeBits-cpu-arguments-intercept") .unwrap_or(&30000000000), @@ -4874,7 +4880,7 @@ pub fn initialize_cost_model(version: &Language, costs: &[i64]) -> CostModel { .get("writeBits-cpu-arguments-slope") .unwrap_or(&30000000000), }), - mem: TwoArguments::LinearInY(LinearSize { + mem: ThreeArguments::LinearInX(LinearSize { intercept: *cost_map .get("writeBits-memory-arguments-intercept") .unwrap_or(&30000000000), @@ -4890,7 +4896,7 @@ pub fn initialize_cost_model(version: &Language, costs: &[i64]) -> CostModel { mem: TwoArguments::ConstantCost(30000000000), }, Language::PlutusV3 => CostingFun { - cpu: TwoArguments::LinearInY(LinearSize { + cpu: TwoArguments::LinearInX(LinearSize { intercept: *cost_map .get("replicateByte-cpu-arguments-intercept") .unwrap_or(&30000000000), @@ -4898,7 +4904,7 @@ pub fn initialize_cost_model(version: &Language, costs: &[i64]) -> CostModel { .get("replicateByte-cpu-arguments-slope") .unwrap_or(&30000000000), }), - mem: TwoArguments::LinearInY(LinearSize { + mem: TwoArguments::LinearInX(LinearSize { intercept: *cost_map .get("replicateByte-memory-arguments-intercept") .unwrap_or(&30000000000), @@ -4914,7 +4920,7 @@ pub fn initialize_cost_model(version: &Language, costs: &[i64]) -> CostModel { mem: TwoArguments::ConstantCost(30000000000), }, Language::PlutusV3 => CostingFun { - cpu: TwoArguments::LinearInY(LinearSize { + cpu: TwoArguments::LinearInX(LinearSize { intercept: *cost_map .get("shiftByteString-cpu-arguments-intercept") .unwrap_or(&30000000000), @@ -4922,7 +4928,7 @@ pub fn initialize_cost_model(version: &Language, costs: &[i64]) -> CostModel { .get("shiftByteString-cpu-arguments-slope") .unwrap_or(&30000000000), }), - mem: TwoArguments::LinearInY(LinearSize { + mem: TwoArguments::LinearInX(LinearSize { intercept: *cost_map .get("shiftByteString-memory-arguments-intercept") .unwrap_or(&30000000000), @@ -4938,7 +4944,7 @@ pub fn initialize_cost_model(version: &Language, costs: &[i64]) -> CostModel { mem: TwoArguments::ConstantCost(30000000000), }, Language::PlutusV3 => CostingFun { - cpu: TwoArguments::LinearInY(LinearSize { + cpu: TwoArguments::LinearInX(LinearSize { intercept: *cost_map .get("rotateByteString-cpu-arguments-intercept") .unwrap_or(&30000000000), @@ -4946,7 +4952,7 @@ pub fn initialize_cost_model(version: &Language, costs: &[i64]) -> CostModel { .get("rotateByteString-cpu-arguments-slope") .unwrap_or(&30000000000), }), - mem: TwoArguments::LinearInY(LinearSize { + mem: TwoArguments::LinearInX(LinearSize { intercept: *cost_map .get("rotateByteString-memory-arguments-intercept") .unwrap_or(&30000000000), @@ -5126,6 +5132,8 @@ pub enum ThreeArguments { LinearInZ(LinearSize), QuadraticInZ(QuadraticFunction), LiteralInYorLinearInZ(LinearSize), + LinearInMaxYZ(LinearSize), + LinearInYandZ(TwoVariableLinearSize), } impl ThreeArguments { @@ -5144,6 +5152,8 @@ impl ThreeArguments { y } } + ThreeArguments::LinearInMaxYZ(linear_size) => todo!(), + ThreeArguments::LinearInYandZ(two_variable_linear_size) => todo!(), } } } diff --git a/crates/uplc/src/machine/runtime.rs b/crates/uplc/src/machine/runtime.rs index bf4bec75e..88f6334a1 100644 --- a/crates/uplc/src/machine/runtime.rs +++ b/crates/uplc/src/machine/runtime.rs @@ -273,19 +273,19 @@ impl DefaultFunction { DefaultFunction::Bls12_381_FinalVerify => 2, DefaultFunction::IntegerToByteString => 3, DefaultFunction::ByteStringToInteger => 2, - DefaultFunction::AndByteString => 2, - DefaultFunction::OrByteString => 2, - DefaultFunction::XorByteString => 2, - DefaultFunction::ComplementByteString => todo!(), - DefaultFunction::ReadBit => todo!(), - DefaultFunction::WriteBits => todo!(), - DefaultFunction::ReplicateByte => todo!(), - DefaultFunction::ShiftByteString => todo!(), - DefaultFunction::RotateByteString => todo!(), - DefaultFunction::CountSetBits => todo!(), - DefaultFunction::FindFirstSetBit => todo!(), - DefaultFunction::Ripemd_160 => todo!(), - DefaultFunction::ExpModInteger => todo!(), + DefaultFunction::AndByteString => 3, + DefaultFunction::OrByteString => 3, + DefaultFunction::XorByteString => 3, + DefaultFunction::ComplementByteString => 1, + DefaultFunction::ReadBit => 2, + DefaultFunction::WriteBits => 3, + DefaultFunction::ReplicateByte => 2, + DefaultFunction::ShiftByteString => 2, + DefaultFunction::RotateByteString => 2, + DefaultFunction::CountSetBits => 1, + DefaultFunction::FindFirstSetBit => 1, + DefaultFunction::Ripemd_160 => 1, + DefaultFunction::ExpModInteger => 3, } } From 5cf327579377ccacf71a3d3c367eecc81b1d2641 Mon Sep 17 00:00:00 2001 From: microproofs Date: Sat, 30 Nov 2024 13:12:51 +0700 Subject: [PATCH 04/14] Detect difference in cost model length to maintain compatability with mainnet and testnet --- crates/aiken-lang/src/builtins.rs | 2 +- crates/uplc/src/machine/cost_model.rs | 287 ++++++++++++++++++-------- crates/uplc/src/machine/error.rs | 2 + crates/uplc/src/machine/value.rs | 26 ++- 4 files changed, 231 insertions(+), 86 deletions(-) diff --git a/crates/aiken-lang/src/builtins.rs b/crates/aiken-lang/src/builtins.rs index fc24c7368..4dce02017 100644 --- a/crates/aiken-lang/src/builtins.rs +++ b/crates/aiken-lang/src/builtins.rs @@ -505,7 +505,7 @@ pub fn plutus(id_gen: &IdGenerator) -> TypeInfo { annotations: HashMap::new(), }; - for builtin in DefaultFunction::iter() { + for builtin in DefaultFunction::iter().take(75) { let value = from_default_function(builtin, id_gen); plutus.values.insert(builtin.aiken_name(), value); diff --git a/crates/uplc/src/machine/cost_model.rs b/crates/uplc/src/machine/cost_model.rs index bae96342d..a1697ff5a 100644 --- a/crates/uplc/src/machine/cost_model.rs +++ b/crates/uplc/src/machine/cost_model.rs @@ -1,6 +1,5 @@ -use super::{runtime, Error, Value}; +use super::{value::integer_log2, Error, Value}; use crate::builtins::DefaultFunction; -use num_bigint::BigInt; use num_traits::Signed; use pallas_primitives::conway::Language; use std::collections::HashMap; @@ -356,6 +355,7 @@ pub struct BuiltinCosts { count_set_bits: CostingFun, find_first_set_bit: CostingFun, ripemd_160: CostingFun, + exp_mod_int: CostingFun, } impl BuiltinCosts { @@ -850,6 +850,10 @@ impl BuiltinCosts { cpu: OneArgument::ConstantCost(30000000000), mem: OneArgument::ConstantCost(30000000000), }, + exp_mod_int: CostingFun { + cpu: ThreeArguments::ConstantCost(30000000000), + mem: ThreeArguments::ConstantCost(30000000000), + }, } } @@ -1344,6 +1348,10 @@ impl BuiltinCosts { cpu: OneArgument::ConstantCost(30000000000), mem: OneArgument::ConstantCost(30000000000), }, + exp_mod_int: CostingFun { + cpu: ThreeArguments::ConstantCost(30000000000), + mem: ThreeArguments::ConstantCost(30000000000), + }, } } @@ -1948,6 +1956,11 @@ impl BuiltinCosts { }), mem: OneArgument::ConstantCost(3), }, + // Not yet properly costed + exp_mod_int: CostingFun { + cpu: ThreeArguments::ConstantCost(30000000000), + mem: ThreeArguments::ConstantCost(30000000000), + }, } } } @@ -2526,32 +2539,17 @@ impl BuiltinCosts { .cost(args[0].to_ex_mem(), args[1].to_ex_mem()), }, DefaultFunction::IntegerToByteString => { - let size = args[1].unwrap_integer()?; - - if size.is_negative() { - return Err(Error::IntegerToByteStringNegativeSize(size.clone())); - } - - if size > &BigInt::from(runtime::INTEGER_TO_BYTE_STRING_MAXIMUM_OUTPUT_LENGTH) { - return Err(Error::IntegerToByteStringSizeTooBig( - size.clone(), - runtime::INTEGER_TO_BYTE_STRING_MAXIMUM_OUTPUT_LENGTH, - )); - } - - let arg1: i64 = u64::try_from(size).unwrap().try_into().unwrap(); - - let arg1_exmem = if arg1 == 0 { 0 } else { ((arg1 - 1) / 8) + 1 }; + let size = args[1].cost_as_size()?; ExBudget { mem: self.integer_to_byte_string.mem.cost( args[0].to_ex_mem(), - arg1_exmem, + size, args[2].to_ex_mem(), ), cpu: self.integer_to_byte_string.cpu.cost( args[0].to_ex_mem(), - arg1_exmem, + size, args[2].to_ex_mem(), ), } @@ -2616,16 +2614,87 @@ impl BuiltinCosts { .cpu .cost(args[0].to_ex_mem(), args[1].to_ex_mem()), }, - DefaultFunction::WriteBits => todo!(), - DefaultFunction::ReplicateByte => todo!(), - DefaultFunction::ShiftByteString => todo!(), - DefaultFunction::RotateByteString => todo!(), - DefaultFunction::CountSetBits => todo!(), - DefaultFunction::FindFirstSetBit => todo!(), - DefaultFunction::Ripemd_160 => todo!(), - DefaultFunction::ExpModInteger => todo!(), - // DefaultFunction::CaseList => todo!(), - // DefaultFunction::CaseData => todo!(), + DefaultFunction::WriteBits => { + let list = args[1].unwrap_list().unwrap(); + + ExBudget { + mem: self.write_bits.mem.cost( + args[0].to_ex_mem(), + list.1.len() as i64, + args[2].to_ex_mem(), + ), + cpu: self.write_bits.cpu.cost( + args[0].to_ex_mem(), + list.1.len() as i64, + args[2].to_ex_mem(), + ), + } + } + DefaultFunction::ReplicateByte => { + let size = args[0].cost_as_size()?; + + ExBudget { + mem: self.replicate_byte.mem.cost(size, args[1].to_ex_mem()), + cpu: self.replicate_byte.cpu.cost(size, args[1].to_ex_mem()), + } + } + DefaultFunction::ShiftByteString => { + let literal = args[1].unwrap_integer()?; + + let arg1: i64 = u64::try_from(literal.abs()).unwrap().try_into().unwrap(); + + ExBudget { + mem: self.shift_byte_string.mem.cost(args[0].to_ex_mem(), arg1), + cpu: self.shift_byte_string.cpu.cost(args[0].to_ex_mem(), arg1), + } + } + DefaultFunction::RotateByteString => { + let literal = args[1].unwrap_integer()?; + + let arg1: i64 = u64::try_from(literal.abs()).unwrap().try_into().unwrap(); + + ExBudget { + mem: self.rotate_byte_string.mem.cost(args[0].to_ex_mem(), arg1), + cpu: self.rotate_byte_string.cpu.cost(args[0].to_ex_mem(), arg1), + } + } + DefaultFunction::CountSetBits => ExBudget { + mem: self.count_set_bits.mem.cost(args[0].to_ex_mem()), + cpu: self.count_set_bits.cpu.cost(args[0].to_ex_mem()), + }, + DefaultFunction::FindFirstSetBit => ExBudget { + mem: self.find_first_set_bit.mem.cost(args[0].to_ex_mem()), + cpu: self.find_first_set_bit.cpu.cost(args[0].to_ex_mem()), + }, + DefaultFunction::Ripemd_160 => ExBudget { + mem: self.ripemd_160.mem.cost(args[0].to_ex_mem()), + cpu: self.ripemd_160.cpu.cost(args[0].to_ex_mem()), + }, + DefaultFunction::ExpModInteger => { + let arg3 = args[2].unwrap_integer()?; + if arg3.lt(&(0.into())) { + return Err(Error::OutsideNaturalBounds(arg3.clone())); + } + + let arg3_exmem = if *arg3 == 0.into() { + 1 + } else { + (integer_log2(arg3.abs()) / 64) + 1 + }; + + ExBudget { + mem: self.exp_mod_int.mem.cost( + args[0].to_ex_mem(), + args[1].to_ex_mem(), + arg3_exmem, + ), + cpu: self.exp_mod_int.cpu.cost( + args[0].to_ex_mem(), + args[1].to_ex_mem(), + arg3_exmem, + ), + } + } }) } } @@ -2982,12 +3051,8 @@ pub fn initialize_cost_model(version: &Language, costs: &[i64]) -> CostModel { } } Language::PlutusV3 => { - assert!( - costs.len() == 297, - "expecting 297 cost parameters, but got {:?}", - costs.len() - ); - hashmap! { + // We can't have an assert here. This will literally break mainnet + let mut main: HashMap<&str, i64> = hashmap! { "add_integer-cpu-arguments-intercept" => costs[0], "add_integer-cpu-arguments-slope" => costs[1], "add_integer-mem-arguments-intercept" => costs[2], @@ -3239,53 +3304,62 @@ pub fn initialize_cost_model(version: &Language, costs: &[i64]) -> CostModel { "byteStringToInteger-cpu-arguments-c2" => costs[248], "byteStringToInteger-mem-arguments-intercept" => costs[249], "byteStringToInteger-mem-arguments-slope" => costs[250], - "andByteString-cpu-arguments-intercept"=> costs[251], - "andByteString-cpu-arguments-slope1"=> costs[252], - "andByteString-cpu-arguments-slope2"=> costs[253], - "andByteString-memory-arguments-intercept"=> costs[254], - "andByteString-memory-arguments-slope"=> costs[255], - "orByteString-cpu-arguments-intercept"=> costs[256], - "orByteString-cpu-arguments-slope1"=> costs[257], - "orByteString-cpu-arguments-slope2"=> costs[258], - "orByteString-memory-arguments-intercept"=> costs[259], - "orByteString-memory-arguments-slope"=> costs[260], - "xorByteString-cpu-arguments-intercept"=> costs[261], - "xorByteString-cpu-arguments-slope1"=> costs[262], - "xorByteString-cpu-arguments-slope2"=> costs[263], - "xorByteString-memory-arguments-intercept"=> costs[264], - "xorByteString-memory-arguments-slope"=> costs[265], - "complementByteString-cpu-arguments-intercept"=> costs[266], - "complementByteString-cpu-arguments-slope"=> costs[267], - "complementByteString-memory-arguments-intercept"=> costs[268], - "complementByteString-memory-arguments-slope"=> costs[269], - "readBit-cpu-arguments"=> costs[270], - "readBit-memory-arguments"=> costs[271], - "writeBits-cpu-arguments-intercept"=> costs[272], - "writeBits-cpu-arguments-slope"=> costs[273], - "writeBits-memory-arguments-intercept"=> costs[274], - "writeBits-memory-arguments-slope"=> costs[275], - "replicateByte-cpu-arguments-intercept"=> costs[276], - "replicateByte-cpu-arguments-slope"=> costs[277], - "replicateByte-memory-arguments-intercept"=> costs[278], - "replicateByte-memory-arguments-slope"=> costs[279], - "shiftByteString-cpu-arguments-intercept"=> costs[280], - "shiftByteString-cpu-arguments-slope"=> costs[281], - "shiftByteString-memory-arguments-intercept"=> costs[282], - "shiftByteString-memory-arguments-slope"=> costs[283], - "rotateByteString-cpu-arguments-intercept"=> costs[284], - "rotateByteString-cpu-arguments-slope"=> costs[285], - "rotateByteString-memory-arguments-intercept"=> costs[286], - "rotateByteString-memory-arguments-slope"=> costs[287], - "countSetBits-cpu-arguments-intercept"=> costs[288], - "countSetBits-cpu-arguments-slope"=> costs[289], - "countSetBits-memory-arguments"=> costs[290], - "findFirstSetBit-cpu-arguments-intercept"=> costs[291], - "findFirstSetBit-cpu-arguments-slope"=> costs[292], - "findFirstSetBit-memory-arguments"=> costs[293], - "ripemd_160-cpu-arguments-intercept"=> costs[294], - "ripemd_160-cpu-arguments-slope"=> costs[295], - "ripemd_160-memory-arguments"=> costs[296], + }; + + if costs.len() == 297 { + let test = hashmap! { + "andByteString-cpu-arguments-intercept"=> costs[251], + "andByteString-cpu-arguments-slope1"=> costs[252], + "andByteString-cpu-arguments-slope2"=> costs[253], + "andByteString-memory-arguments-intercept"=> costs[254], + "andByteString-memory-arguments-slope"=> costs[255], + "orByteString-cpu-arguments-intercept"=> costs[256], + "orByteString-cpu-arguments-slope1"=> costs[257], + "orByteString-cpu-arguments-slope2"=> costs[258], + "orByteString-memory-arguments-intercept"=> costs[259], + "orByteString-memory-arguments-slope"=> costs[260], + "xorByteString-cpu-arguments-intercept"=> costs[261], + "xorByteString-cpu-arguments-slope1"=> costs[262], + "xorByteString-cpu-arguments-slope2"=> costs[263], + "xorByteString-memory-arguments-intercept"=> costs[264], + "xorByteString-memory-arguments-slope"=> costs[265], + "complementByteString-cpu-arguments-intercept"=> costs[266], + "complementByteString-cpu-arguments-slope"=> costs[267], + "complementByteString-memory-arguments-intercept"=> costs[268], + "complementByteString-memory-arguments-slope"=> costs[269], + "readBit-cpu-arguments"=> costs[270], + "readBit-memory-arguments"=> costs[271], + "writeBits-cpu-arguments-intercept"=> costs[272], + "writeBits-cpu-arguments-slope"=> costs[273], + "writeBits-memory-arguments-intercept"=> costs[274], + "writeBits-memory-arguments-slope"=> costs[275], + "replicateByte-cpu-arguments-intercept"=> costs[276], + "replicateByte-cpu-arguments-slope"=> costs[277], + "replicateByte-memory-arguments-intercept"=> costs[278], + "replicateByte-memory-arguments-slope"=> costs[279], + "shiftByteString-cpu-arguments-intercept"=> costs[280], + "shiftByteString-cpu-arguments-slope"=> costs[281], + "shiftByteString-memory-arguments-intercept"=> costs[282], + "shiftByteString-memory-arguments-slope"=> costs[283], + "rotateByteString-cpu-arguments-intercept"=> costs[284], + "rotateByteString-cpu-arguments-slope"=> costs[285], + "rotateByteString-memory-arguments-intercept"=> costs[286], + "rotateByteString-memory-arguments-slope"=> costs[287], + "countSetBits-cpu-arguments-intercept"=> costs[288], + "countSetBits-cpu-arguments-slope"=> costs[289], + "countSetBits-memory-arguments"=> costs[290], + "findFirstSetBit-cpu-arguments-intercept"=> costs[291], + "findFirstSetBit-cpu-arguments-slope"=> costs[292], + "findFirstSetBit-memory-arguments"=> costs[293], + "ripemd_160-cpu-arguments-intercept"=> costs[294], + "ripemd_160-cpu-arguments-slope"=> costs[295], + "ripemd_160-memory-arguments"=> costs[296], + }; + + Extend::extend::>(&mut main, test); } + + main } }; @@ -5025,6 +5099,24 @@ pub fn initialize_cost_model(version: &Language, costs: &[i64]) -> CostModel { ), }, }, + exp_mod_int: match version { + Language::PlutusV1 | Language::PlutusV2 => CostingFun { + cpu: ThreeArguments::ConstantCost(30000000000), + mem: ThreeArguments::ConstantCost(30000000000), + }, + Language::PlutusV3 => CostingFun { + cpu: ThreeArguments::ConstantCost( + *cost_map + .get("expModInteger-cpu-arguments") + .unwrap_or(&30000000000), + ), + mem: ThreeArguments::ConstantCost( + *cost_map + .get("expModInteger-memory-arguments") + .unwrap_or(&30000000000), + ), + }, + }, }, } } @@ -5152,8 +5244,8 @@ impl ThreeArguments { y } } - ThreeArguments::LinearInMaxYZ(linear_size) => todo!(), - ThreeArguments::LinearInYandZ(two_variable_linear_size) => todo!(), + ThreeArguments::LinearInMaxYZ(l) => y.max(z) * l.slope + l.intercept, + ThreeArguments::LinearInYandZ(l) => y * l.slope1 + z * l.slope2 + l.intercept, } } } @@ -5327,6 +5419,33 @@ mod tests { assert_eq!(CostModel::v2(), cost_model); } + #[test] + fn assert_default_cost_model_v3_mainnet_2024_11_30() { + let costs: Vec = vec![ + 100788, 420, 1, 1, 1000, 173, 0, 1, 1000, 59957, 4, 1, 11183, 32, 201305, 8356, 4, + 16000, 100, 16000, 100, 16000, 100, 16000, 100, 16000, 100, 16000, 100, 100, 100, + 16000, 100, 94375, 32, 132994, 32, 61462, 4, 72010, 178, 0, 1, 22151, 32, 91189, 769, + 4, 2, 85848, 123203, 7305, -900, 1716, 549, 57, 85848, 0, 1, 1, 1000, 42921, 4, 2, + 24548, 29498, 38, 1, 898148, 27279, 1, 51775, 558, 1, 39184, 1000, 60594, 1, 141895, + 32, 83150, 32, 15299, 32, 76049, 1, 13169, 4, 22100, 10, 28999, 74, 1, 28999, 74, 1, + 43285, 552, 1, 44749, 541, 1, 33852, 32, 68246, 32, 72362, 32, 7243, 32, 7391, 32, + 11546, 32, 85848, 123203, 7305, -900, 1716, 549, 57, 85848, 0, 1, 90434, 519, 0, 1, + 74433, 32, 85848, 123203, 7305, -900, 1716, 549, 57, 85848, 0, 1, 1, 85848, 123203, + 7305, -900, 1716, 549, 57, 85848, 0, 1, 955506, 213312, 0, 2, 270652, 22588, 4, + 1457325, 64566, 4, 20467, 1, 4, 0, 141992, 32, 100788, 420, 1, 1, 81663, 32, 59498, 32, + 20142, 32, 24588, 32, 20744, 32, 25933, 32, 24623, 32, 43053543, 10, 53384111, 14333, + 10, 43574283, 26308, 10, 16000, 100, 16000, 100, 962335, 18, 2780678, 6, 442008, 1, + 52538055, 3756, 18, 267929, 18, 76433006, 8868, 18, 52948122, 18, 1995836, 36, 3227919, + 12, 901022, 1, 166917843, 4307, 36, 284546, 36, 158221314, 26549, 36, 74698472, 36, + 333849714, 1, 254006273, 72, 2174038, 72, 2261318, 64571, 4, 207616, 8310, 4, 1293828, + 28716, 63, 0, 1, 1006041, 43623, 251, 0, 1, + ]; + + let cost_model = initialize_cost_model(&Language::PlutusV3, &costs); + + assert_eq!(CostModel::v3(), cost_model); + } + #[test] fn assert_default_cost_model_v3_preprod_2024_11_22() { let costs: Vec = vec![ diff --git a/crates/uplc/src/machine/error.rs b/crates/uplc/src/machine/error.rs index ae3062407..1a4c478bd 100644 --- a/crates/uplc/src/machine/error.rs +++ b/crates/uplc/src/machine/error.rs @@ -120,6 +120,8 @@ pub enum Error { DeserialisationError(String, Value), #[error("integer overflow")] OverflowError, + #[error("{0} is not within the bounds of Natural")] + OutsideNaturalBounds(BigInt), #[error("blst error {0:?}")] Blst(blst::BLST_ERROR), #[error("blst::hashToGroup")] diff --git a/crates/uplc/src/machine/value.rs b/crates/uplc/src/machine/value.rs index 9a301eac2..1f2fc6266 100644 --- a/crates/uplc/src/machine/value.rs +++ b/crates/uplc/src/machine/value.rs @@ -1,4 +1,7 @@ -use super::{runtime::BuiltinRuntime, Error}; +use super::{ + runtime::{self, BuiltinRuntime}, + Error, +}; use crate::{ ast::{Constant, NamedDeBruijn, Term, Type}, builtins::DefaultFunction, @@ -208,6 +211,27 @@ impl Value { matches!(self, Value::Con(b) if matches!(b.as_ref(), Constant::Bool(_))) } + pub fn cost_as_size(&self) -> Result { + let size = self.unwrap_integer()?; + + if size.is_negative() { + return Err(Error::IntegerToByteStringNegativeSize(size.clone())); + } + + if size > &BigInt::from(runtime::INTEGER_TO_BYTE_STRING_MAXIMUM_OUTPUT_LENGTH) { + return Err(Error::IntegerToByteStringSizeTooBig( + size.clone(), + runtime::INTEGER_TO_BYTE_STRING_MAXIMUM_OUTPUT_LENGTH, + )); + } + + let arg1: i64 = u64::try_from(size).unwrap().try_into().unwrap(); + + let arg1_exmem = if arg1 == 0 { 0 } else { ((arg1 - 1) / 8) + 1 }; + + Ok(arg1_exmem) + } + // TODO: Make this to_ex_mem not recursive. pub fn to_ex_mem(&self) -> i64 { match self { From c3b6bc5bff5caf7ed7f3a30326ae583a22dbbcba Mon Sep 17 00:00:00 2001 From: microproofs Date: Sun, 1 Dec 2024 09:56:55 +0700 Subject: [PATCH 05/14] Implementation of a few more of the new builtins --- crates/uplc/src/machine/cost_model.rs | 48 +++++------ crates/uplc/src/machine/error.rs | 2 + crates/uplc/src/machine/runtime.rs | 118 ++++++++++++++++++++++++-- 3 files changed, 139 insertions(+), 29 deletions(-) diff --git a/crates/uplc/src/machine/cost_model.rs b/crates/uplc/src/machine/cost_model.rs index a1697ff5a..88242de2c 100644 --- a/crates/uplc/src/machine/cost_model.rs +++ b/crates/uplc/src/machine/cost_model.rs @@ -5419,32 +5419,32 @@ mod tests { assert_eq!(CostModel::v2(), cost_model); } - #[test] - fn assert_default_cost_model_v3_mainnet_2024_11_30() { - let costs: Vec = vec![ - 100788, 420, 1, 1, 1000, 173, 0, 1, 1000, 59957, 4, 1, 11183, 32, 201305, 8356, 4, - 16000, 100, 16000, 100, 16000, 100, 16000, 100, 16000, 100, 16000, 100, 100, 100, - 16000, 100, 94375, 32, 132994, 32, 61462, 4, 72010, 178, 0, 1, 22151, 32, 91189, 769, - 4, 2, 85848, 123203, 7305, -900, 1716, 549, 57, 85848, 0, 1, 1, 1000, 42921, 4, 2, - 24548, 29498, 38, 1, 898148, 27279, 1, 51775, 558, 1, 39184, 1000, 60594, 1, 141895, - 32, 83150, 32, 15299, 32, 76049, 1, 13169, 4, 22100, 10, 28999, 74, 1, 28999, 74, 1, - 43285, 552, 1, 44749, 541, 1, 33852, 32, 68246, 32, 72362, 32, 7243, 32, 7391, 32, - 11546, 32, 85848, 123203, 7305, -900, 1716, 549, 57, 85848, 0, 1, 90434, 519, 0, 1, - 74433, 32, 85848, 123203, 7305, -900, 1716, 549, 57, 85848, 0, 1, 1, 85848, 123203, - 7305, -900, 1716, 549, 57, 85848, 0, 1, 955506, 213312, 0, 2, 270652, 22588, 4, - 1457325, 64566, 4, 20467, 1, 4, 0, 141992, 32, 100788, 420, 1, 1, 81663, 32, 59498, 32, - 20142, 32, 24588, 32, 20744, 32, 25933, 32, 24623, 32, 43053543, 10, 53384111, 14333, - 10, 43574283, 26308, 10, 16000, 100, 16000, 100, 962335, 18, 2780678, 6, 442008, 1, - 52538055, 3756, 18, 267929, 18, 76433006, 8868, 18, 52948122, 18, 1995836, 36, 3227919, - 12, 901022, 1, 166917843, 4307, 36, 284546, 36, 158221314, 26549, 36, 74698472, 36, - 333849714, 1, 254006273, 72, 2174038, 72, 2261318, 64571, 4, 207616, 8310, 4, 1293828, - 28716, 63, 0, 1, 1006041, 43623, 251, 0, 1, - ]; + // #[test] + // fn assert_default_cost_model_v3_mainnet_2024_11_30() { + // let costs: Vec = vec![ + // 100788, 420, 1, 1, 1000, 173, 0, 1, 1000, 59957, 4, 1, 11183, 32, 201305, 8356, 4, + // 16000, 100, 16000, 100, 16000, 100, 16000, 100, 16000, 100, 16000, 100, 100, 100, + // 16000, 100, 94375, 32, 132994, 32, 61462, 4, 72010, 178, 0, 1, 22151, 32, 91189, 769, + // 4, 2, 85848, 123203, 7305, -900, 1716, 549, 57, 85848, 0, 1, 1, 1000, 42921, 4, 2, + // 24548, 29498, 38, 1, 898148, 27279, 1, 51775, 558, 1, 39184, 1000, 60594, 1, 141895, + // 32, 83150, 32, 15299, 32, 76049, 1, 13169, 4, 22100, 10, 28999, 74, 1, 28999, 74, 1, + // 43285, 552, 1, 44749, 541, 1, 33852, 32, 68246, 32, 72362, 32, 7243, 32, 7391, 32, + // 11546, 32, 85848, 123203, 7305, -900, 1716, 549, 57, 85848, 0, 1, 90434, 519, 0, 1, + // 74433, 32, 85848, 123203, 7305, -900, 1716, 549, 57, 85848, 0, 1, 1, 85848, 123203, + // 7305, -900, 1716, 549, 57, 85848, 0, 1, 955506, 213312, 0, 2, 270652, 22588, 4, + // 1457325, 64566, 4, 20467, 1, 4, 0, 141992, 32, 100788, 420, 1, 1, 81663, 32, 59498, 32, + // 20142, 32, 24588, 32, 20744, 32, 25933, 32, 24623, 32, 43053543, 10, 53384111, 14333, + // 10, 43574283, 26308, 10, 16000, 100, 16000, 100, 962335, 18, 2780678, 6, 442008, 1, + // 52538055, 3756, 18, 267929, 18, 76433006, 8868, 18, 52948122, 18, 1995836, 36, 3227919, + // 12, 901022, 1, 166917843, 4307, 36, 284546, 36, 158221314, 26549, 36, 74698472, 36, + // 333849714, 1, 254006273, 72, 2174038, 72, 2261318, 64571, 4, 207616, 8310, 4, 1293828, + // 28716, 63, 0, 1, 1006041, 43623, 251, 0, 1, + // ]; - let cost_model = initialize_cost_model(&Language::PlutusV3, &costs); + // let cost_model = initialize_cost_model(&Language::PlutusV3, &costs); - assert_eq!(CostModel::v3(), cost_model); - } + // assert_eq!(CostModel::v3(), cost_model); + // } #[test] fn assert_default_cost_model_v3_preprod_2024_11_22() { diff --git a/crates/uplc/src/machine/error.rs b/crates/uplc/src/machine/error.rs index 1a4c478bd..9052d4dc7 100644 --- a/crates/uplc/src/machine/error.rs +++ b/crates/uplc/src/machine/error.rs @@ -122,6 +122,8 @@ pub enum Error { OverflowError, #[error("{0} is not within the bounds of Natural")] OutsideNaturalBounds(BigInt), + #[error("readBit: index out of bounds")] + ReadBitOutOfBounds, #[error("blst error {0:?}")] Blst(blst::BLST_ERROR), #[error("blst::hashToGroup")] diff --git a/crates/uplc/src/machine/runtime.rs b/crates/uplc/src/machine/runtime.rs index 88f6334a1..d22f73c6b 100644 --- a/crates/uplc/src/machine/runtime.rs +++ b/crates/uplc/src/machine/runtime.rs @@ -9,6 +9,7 @@ use crate::{ machine::value::integer_log2, plutus_data_to_bytes, }; +use itertools::Itertools; use num_bigint::BigInt; use num_integer::Integer; use num_traits::{Signed, Zero}; @@ -1495,11 +1496,118 @@ impl DefaultFunction { Ok(Value::Con(constant.into())) } - DefaultFunction::AndByteString => todo!(), - DefaultFunction::OrByteString => todo!(), - DefaultFunction::XorByteString => todo!(), - DefaultFunction::ComplementByteString => todo!(), - DefaultFunction::ReadBit => todo!(), + DefaultFunction::AndByteString => { + let should_pad = args[0].unwrap_bool()?; + let bytes1 = args[1].unwrap_byte_string()?; + let bytes2 = args[2].unwrap_byte_string()?; + + let bytes_result = if *should_pad { + bytes1 + .into_iter() + .zip_longest(bytes2) + .map(|b| match b { + itertools::EitherOrBoth::Both(left_byte, right_byte) => { + left_byte & right_byte + } + // Shorter is appended with FF bytes that when and-ed produce the other bytestring + itertools::EitherOrBoth::Left(byte) + | itertools::EitherOrBoth::Right(byte) => *byte, + }) + .collect_vec() + } else { + bytes1 + .into_iter() + .zip(bytes2) + .map(|(b1, b2)| b1 & b2) + .collect_vec() + }; + + Ok(Value::Con(Constant::ByteString(bytes_result).into())) + } + DefaultFunction::OrByteString => { + let should_pad = args[0].unwrap_bool()?; + let bytes1 = args[1].unwrap_byte_string()?; + let bytes2 = args[2].unwrap_byte_string()?; + + let bytes_result = if *should_pad { + bytes1 + .into_iter() + .zip_longest(bytes2) + .map(|b| match b { + itertools::EitherOrBoth::Both(left_byte, right_byte) => { + left_byte | right_byte + } + // Shorter is appended with 00 bytes that when or-ed produce the other bytestring + itertools::EitherOrBoth::Left(byte) + | itertools::EitherOrBoth::Right(byte) => *byte, + }) + .collect_vec() + } else { + bytes1 + .into_iter() + .zip(bytes2) + .map(|(b1, b2)| b1 | b2) + .collect_vec() + }; + + Ok(Value::Con(Constant::ByteString(bytes_result).into())) + } + DefaultFunction::XorByteString => { + let should_pad = args[0].unwrap_bool()?; + let bytes1 = args[1].unwrap_byte_string()?; + let bytes2 = args[2].unwrap_byte_string()?; + + let bytes_result = if *should_pad { + bytes1 + .into_iter() + .zip_longest(bytes2) + .map(|b| match b { + itertools::EitherOrBoth::Both(left_byte, right_byte) => { + left_byte ^ right_byte + } + // Shorter is appended with 00 bytes that when xor-ed produce the other bytestring + itertools::EitherOrBoth::Left(byte) + | itertools::EitherOrBoth::Right(byte) => *byte, + }) + .collect_vec() + } else { + bytes1 + .into_iter() + .zip(bytes2) + .map(|(b1, b2)| b1 ^ b2) + .collect_vec() + }; + + Ok(Value::Con(Constant::ByteString(bytes_result).into())) + } + DefaultFunction::ComplementByteString => { + let bytes = args[0].unwrap_byte_string()?; + + let result = bytes.into_iter().map(|b| b ^ 255).collect_vec(); + + Ok(Value::Con(Constant::ByteString(result).into())) + } + DefaultFunction::ReadBit => { + let bytes = args[0].unwrap_byte_string()?; + let bit_index = args[1].unwrap_integer()?; + + // This ensures there is at least one byte in bytes + if *bit_index < 0.into() || *bit_index >= (bytes.len() * 8).into() { + return Err(Error::ReadBitOutOfBounds); + } + + let (byte_index, bit_offset) = bit_index.div_rem(&8.into()); + + let bit_offset = usize::try_from(bit_offset).unwrap(); + + let flipped_index = bytes.len() - 1 - usize::try_from(byte_index).unwrap(); + + let byte = bytes[flipped_index]; + + let bit_test = (byte >> bit_offset) & 1 == 1; + + Ok(Value::Con(Constant::Bool(bit_test).into())) + } DefaultFunction::WriteBits => todo!(), DefaultFunction::ReplicateByte => todo!(), DefaultFunction::ShiftByteString => todo!(), From 9867de38b62fcde439a214b2ee6577f425c1734a Mon Sep 17 00:00:00 2001 From: microproofs Date: Sun, 1 Dec 2024 14:21:32 +0700 Subject: [PATCH 06/14] A few more left to finish --- crates/uplc/src/machine/cost_model.rs | 8 +-- crates/uplc/src/machine/error.rs | 6 +- crates/uplc/src/machine/runtime.rs | 99 ++++++++++++++++++++++++--- crates/uplc/src/machine/value.rs | 37 ++++++++-- 4 files changed, 128 insertions(+), 22 deletions(-) diff --git a/crates/uplc/src/machine/cost_model.rs b/crates/uplc/src/machine/cost_model.rs index 88242de2c..22e2e016c 100644 --- a/crates/uplc/src/machine/cost_model.rs +++ b/crates/uplc/src/machine/cost_model.rs @@ -2538,8 +2538,8 @@ impl BuiltinCosts { .cpu .cost(args[0].to_ex_mem(), args[1].to_ex_mem()), }, - DefaultFunction::IntegerToByteString => { - let size = args[1].cost_as_size()?; + d @ DefaultFunction::IntegerToByteString => { + let size = args[1].cost_as_size(d)?; ExBudget { mem: self.integer_to_byte_string.mem.cost( @@ -2630,8 +2630,8 @@ impl BuiltinCosts { ), } } - DefaultFunction::ReplicateByte => { - let size = args[0].cost_as_size()?; + d @ DefaultFunction::ReplicateByte => { + let size = args[0].cost_as_size(d)?; ExBudget { mem: self.replicate_byte.mem.cost(size, args[1].to_ex_mem()), diff --git a/crates/uplc/src/machine/error.rs b/crates/uplc/src/machine/error.rs index 9052d4dc7..982784535 100644 --- a/crates/uplc/src/machine/error.rs +++ b/crates/uplc/src/machine/error.rs @@ -120,10 +120,14 @@ pub enum Error { DeserialisationError(String, Value), #[error("integer overflow")] OverflowError, - #[error("{0} is not within the bounds of Natural")] + #[error("{0} is not within the bounds of a Natural")] OutsideNaturalBounds(BigInt), + #[error("{0} is not within the bounds of a Byte")] + OutsideByteBounds(BigInt), #[error("readBit: index out of bounds")] ReadBitOutOfBounds, + #[error("writeBits: index out of bounds")] + WriteBitsOutOfBounds, #[error("blst error {0:?}")] Blst(blst::BLST_ERROR), #[error("blst::hashToGroup")] diff --git a/crates/uplc/src/machine/runtime.rs b/crates/uplc/src/machine/runtime.rs index d22f73c6b..79685dc6c 100644 --- a/crates/uplc/src/machine/runtime.rs +++ b/crates/uplc/src/machine/runtime.rs @@ -10,12 +10,12 @@ use crate::{ plutus_data_to_bytes, }; use itertools::Itertools; -use num_bigint::BigInt; +use num_bigint::{BigInt, Sign}; use num_integer::Integer; -use num_traits::{Signed, Zero}; +use num_traits::{FromPrimitive, Signed, Zero}; use once_cell::sync::Lazy; use pallas_primitives::conway::{Language, PlutusData}; -use std::{mem::size_of, ops::Deref, rc::Rc}; +use std::{io::Read, mem::size_of, ops::Deref, rc::Rc}; static SCALAR_PERIOD: Lazy = Lazy::new(|| { BigInt::from_bytes_be( @@ -1522,7 +1522,7 @@ impl DefaultFunction { .collect_vec() }; - Ok(Value::Con(Constant::ByteString(bytes_result).into())) + Ok(Value::byte_string(bytes_result)) } DefaultFunction::OrByteString => { let should_pad = args[0].unwrap_bool()?; @@ -1550,7 +1550,7 @@ impl DefaultFunction { .collect_vec() }; - Ok(Value::Con(Constant::ByteString(bytes_result).into())) + Ok(Value::byte_string(bytes_result)) } DefaultFunction::XorByteString => { let should_pad = args[0].unwrap_bool()?; @@ -1578,14 +1578,14 @@ impl DefaultFunction { .collect_vec() }; - Ok(Value::Con(Constant::ByteString(bytes_result).into())) + Ok(Value::byte_string(bytes_result)) } DefaultFunction::ComplementByteString => { let bytes = args[0].unwrap_byte_string()?; let result = bytes.into_iter().map(|b| b ^ 255).collect_vec(); - Ok(Value::Con(Constant::ByteString(result).into())) + Ok(Value::byte_string(result)) } DefaultFunction::ReadBit => { let bytes = args[0].unwrap_byte_string()?; @@ -1606,11 +1606,88 @@ impl DefaultFunction { let bit_test = (byte >> bit_offset) & 1 == 1; - Ok(Value::Con(Constant::Bool(bit_test).into())) + Ok(Value::bool(bit_test)) + } + DefaultFunction::WriteBits => { + let mut bytes = args[0].unwrap_byte_string()?.clone(); + let indices = args[1].unwrap_int_list()?; + let set_bit = args[2].unwrap_bool()?; + + for index in indices { + let Constant::Integer(bit_index) = index else { + unreachable!() + }; + + if *bit_index < 0.into() || *bit_index >= (bytes.len() * 8).into() { + return Err(Error::WriteBitsOutOfBounds); + } + + let (byte_index, bit_offset) = bit_index.div_rem(&8.into()); + + let bit_offset = usize::try_from(bit_offset).unwrap(); + + let flipped_index = bytes.len() - 1 - usize::try_from(byte_index).unwrap(); + + let bit_mask: u8 = 1 >> bit_offset; + + if *set_bit { + bytes[flipped_index] |= bit_mask; + } else { + bytes[flipped_index] &= !bit_mask; + } + } + + Ok(Value::byte_string(bytes)) + } + DefaultFunction::ReplicateByte => { + let size = args[0].unwrap_integer()?; + let byte = args[1].unwrap_integer()?; + + // Safe since this is checked by cost model + let size = usize::try_from(size).unwrap(); + + let Ok(byte) = u8::try_from(byte) else { + return Err(Error::OutsideByteBounds(byte.clone())); + }; + + let value = if size == 0 { + Value::byte_string(vec![]) + } else { + Value::byte_string([byte].repeat(size - 1)) + }; + + Ok(value) + } + DefaultFunction::ShiftByteString => { + let bytes = args[0].unwrap_byte_string()?; + let shift = args[1].unwrap_integer()?; + + let byte_length = bytes.len(); + + if BigInt::from_usize(byte_length).unwrap() * 8 < shift.abs() { + let mut new_vec = vec![]; + + new_vec.resize(byte_length, 0); + return Ok(Value::byte_string(new_vec)); + } + + let bytes = BigInt::from_bytes_be(Sign::NoSign, bytes); + + let is_shl = shift >= &0.into(); + + let bytes = if is_shl { + bytes << usize::try_from(shift.abs()).unwrap() + } else { + bytes >> usize::try_from(shift.abs()).unwrap() + } + .to_bytes_be() + .1 + .into_iter() + .take(byte_length) + .collect_vec(); + + Ok(Value::byte_string(bytes)) } - DefaultFunction::WriteBits => todo!(), - DefaultFunction::ReplicateByte => todo!(), - DefaultFunction::ShiftByteString => todo!(), DefaultFunction::RotateByteString => todo!(), DefaultFunction::CountSetBits => todo!(), DefaultFunction::FindFirstSetBit => todo!(), diff --git a/crates/uplc/src/machine/value.rs b/crates/uplc/src/machine/value.rs index 1f2fc6266..d4df0f94c 100644 --- a/crates/uplc/src/machine/value.rs +++ b/crates/uplc/src/machine/value.rs @@ -173,6 +173,19 @@ impl Value { Ok(list) } + pub(super) fn unwrap_int_list(&self) -> Result<&Vec, Error> { + let inner = self.unwrap_constant()?; + + let Constant::ProtoList(Type::Integer, list) = inner else { + return Err(Error::TypeMismatch( + Type::List(Type::Integer.into()), + inner.into(), + )); + }; + + Ok(list) + } + pub(super) fn unwrap_bls12_381_g1_element(&self) -> Result<&blst::blst_p1, Error> { let inner = self.unwrap_constant()?; @@ -211,18 +224,30 @@ impl Value { matches!(self, Value::Con(b) if matches!(b.as_ref(), Constant::Bool(_))) } - pub fn cost_as_size(&self) -> Result { + pub fn cost_as_size(&self, func: DefaultFunction) -> Result { let size = self.unwrap_integer()?; if size.is_negative() { - return Err(Error::IntegerToByteStringNegativeSize(size.clone())); + let error = match func { + DefaultFunction::IntegerToByteString => { + Error::IntegerToByteStringNegativeSize(size.clone()) + } + DefaultFunction::ReplicateByte => todo!(), + _ => unreachable!(), + }; + return Err(error); } if size > &BigInt::from(runtime::INTEGER_TO_BYTE_STRING_MAXIMUM_OUTPUT_LENGTH) { - return Err(Error::IntegerToByteStringSizeTooBig( - size.clone(), - runtime::INTEGER_TO_BYTE_STRING_MAXIMUM_OUTPUT_LENGTH, - )); + let error = match func { + DefaultFunction::IntegerToByteString => Error::IntegerToByteStringSizeTooBig( + size.clone(), + runtime::INTEGER_TO_BYTE_STRING_MAXIMUM_OUTPUT_LENGTH, + ), + DefaultFunction::ReplicateByte => todo!(), + _ => unreachable!(), + }; + return Err(error); } let arg1: i64 = u64::try_from(size).unwrap().try_into().unwrap(); From 91d4ecc350e9d3de5f34f156e5834db8b31557a2 Mon Sep 17 00:00:00 2001 From: microproofs Date: Sun, 1 Dec 2024 14:22:13 +0700 Subject: [PATCH 07/14] Unused import --- crates/uplc/src/machine/runtime.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/uplc/src/machine/runtime.rs b/crates/uplc/src/machine/runtime.rs index 79685dc6c..216b276c4 100644 --- a/crates/uplc/src/machine/runtime.rs +++ b/crates/uplc/src/machine/runtime.rs @@ -15,7 +15,7 @@ use num_integer::Integer; use num_traits::{FromPrimitive, Signed, Zero}; use once_cell::sync::Lazy; use pallas_primitives::conway::{Language, PlutusData}; -use std::{io::Read, mem::size_of, ops::Deref, rc::Rc}; +use std::{mem::size_of, ops::Deref, rc::Rc}; static SCALAR_PERIOD: Lazy = Lazy::new(|| { BigInt::from_bytes_be( From 86951ef19a37a6bb11ade279411cfbec40fe3d54 Mon Sep 17 00:00:00 2001 From: microproofs Date: Fri, 6 Dec 2024 11:33:45 +0700 Subject: [PATCH 08/14] One last builtin to do. Also switch to using bitvec for faster and more accurate shifting --- Cargo.lock | 47 +++++++++++++++++++++++ crates/uplc/Cargo.toml | 2 + crates/uplc/src/machine/runtime.rs | 61 ++++++++++++++++++++++-------- 3 files changed, 94 insertions(+), 16 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index b4757eabf..571f51999 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -390,6 +390,18 @@ version = "2.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de" +[[package]] +name = "bitvec" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1bc2832c24239b0141d5674bb9174f9d68a8b5b3f2753311927c172ca46f7e9c" +dependencies = [ + "funty", + "radium", + "tap", + "wyz", +] + [[package]] name = "block-buffer" version = "0.10.4" @@ -1021,6 +1033,12 @@ dependencies = [ "winapi", ] +[[package]] +name = "funty" +version = "2.0.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6d5a32815ae3f33302d95fdcb2ce17862f8c65363dcfd29360480ba1001fc9c" + [[package]] name = "futures" version = "0.3.31" @@ -1210,6 +1228,12 @@ dependencies = [ "crunchy", ] +[[package]] +name = "hamming" +version = "0.1.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "65043da274378d68241eb9a8f8f8aa54e349136f7b8e12f63e3ef44043cc30e1" + [[package]] name = "hashbrown" version = "0.12.3" @@ -2503,6 +2527,12 @@ dependencies = [ "proc-macro2", ] +[[package]] +name = "radium" +version = "0.7.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc33ff2d4973d518d823d61aa239014831e521c75da58e3df4840d3f47749d09" + [[package]] name = "rand" version = "0.8.5" @@ -3131,6 +3161,12 @@ dependencies = [ "libc", ] +[[package]] +name = "tap" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "55937e1799185b12863d447f42597ed69d9928686b8d88a1df17376a097d8369" + [[package]] name = "tempfile" version = "3.14.0" @@ -3426,8 +3462,10 @@ checksum = "1fc81956842c57dac11422a97c3b8195a1ff727f06e85c84ed2e8aa277c9a0fd" name = "uplc" version = "1.1.7" dependencies = [ + "bitvec", "blst", "cryptoxide", + "hamming", "hex", "indexmap 1.9.3", "indoc", @@ -3852,6 +3890,15 @@ version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1e9df38ee2d2c3c5948ea468a8406ff0db0b29ae1ffde1bcf20ef305bcc95c51" +[[package]] +name = "wyz" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05f360fc0b24296329c78fda852a1e9ae82de9cf7b27dae4b7f62f118f77b9ed" +dependencies = [ + "tap", +] + [[package]] name = "xdg" version = "2.5.2" diff --git a/crates/uplc/Cargo.toml b/crates/uplc/Cargo.toml index 432c7b69a..9073aa433 100644 --- a/crates/uplc/Cargo.toml +++ b/crates/uplc/Cargo.toml @@ -33,6 +33,8 @@ strum_macros = "0.24.3" thiserror = "1.0.39" blst = "0.3.11" once_cell = "1.18.0" +hamming = "0.1.3" +bitvec = "1.0.1" [target.'cfg(not(target_family="wasm"))'.dependencies] secp256k1 = { version = "0.26.0" } diff --git a/crates/uplc/src/machine/runtime.rs b/crates/uplc/src/machine/runtime.rs index 216b276c4..bc44267f2 100644 --- a/crates/uplc/src/machine/runtime.rs +++ b/crates/uplc/src/machine/runtime.rs @@ -9,8 +9,9 @@ use crate::{ machine::value::integer_log2, plutus_data_to_bytes, }; +use bitvec::{order::Lsb0, vec::BitVec}; use itertools::Itertools; -use num_bigint::{BigInt, Sign}; +use num_bigint::BigInt; use num_integer::Integer; use num_traits::{FromPrimitive, Signed, Zero}; use once_cell::sync::Lazy; @@ -1664,34 +1665,62 @@ impl DefaultFunction { let byte_length = bytes.len(); - if BigInt::from_usize(byte_length).unwrap() * 8 < shift.abs() { + if BigInt::from_usize(byte_length).unwrap() * 8 <= shift.abs() { let mut new_vec = vec![]; new_vec.resize(byte_length, 0); return Ok(Value::byte_string(new_vec)); } - let bytes = BigInt::from_bytes_be(Sign::NoSign, bytes); - let is_shl = shift >= &0.into(); - let bytes = if is_shl { - bytes << usize::try_from(shift.abs()).unwrap() + let mut bv = BitVec::::from_vec(bytes.clone()); + + if is_shl { + bv.shift_left(usize::try_from(shift.abs()).unwrap()); } else { - bytes >> usize::try_from(shift.abs()).unwrap() + bv.shift_right(usize::try_from(shift.abs()).unwrap()); } - .to_bytes_be() - .1 - .into_iter() - .take(byte_length) - .collect_vec(); - Ok(Value::byte_string(bytes)) + Ok(Value::byte_string(bv.into_vec())) + } + DefaultFunction::RotateByteString => { + let bytes = args[0].unwrap_byte_string()?; + let shift = args[1].unwrap_integer()?; + + let byte_length = bytes.len(); + + let shift = shift % byte_length; + + let mut bv = BitVec::::from_vec(bytes.clone()); + + bv.rotate_right(usize::try_from(shift).unwrap()); + + Ok(Value::byte_string(bv.into_vec())) + } + DefaultFunction::CountSetBits => { + let bytes = args[0].unwrap_byte_string()?; + + Ok(Value::integer(hamming::weight(bytes).into())) } - DefaultFunction::RotateByteString => todo!(), - DefaultFunction::CountSetBits => todo!(), DefaultFunction::FindFirstSetBit => todo!(), - DefaultFunction::Ripemd_160 => todo!(), + DefaultFunction::Ripemd_160 => { + use cryptoxide::{digest::Digest, ripemd160::Ripemd160}; + + let arg1 = args[0].unwrap_byte_string()?; + + let mut hasher = Ripemd160::new(); + + hasher.input(arg1); + + let mut bytes = vec![0; hasher.output_bytes()]; + + hasher.result(&mut bytes); + + let value = Value::byte_string(bytes); + + Ok(value) + } DefaultFunction::ExpModInteger => todo!(), } } From b507992172bd809d1bac943b279fb4ad5d71b52f Mon Sep 17 00:00:00 2001 From: microproofs Date: Fri, 6 Dec 2024 11:43:05 +0700 Subject: [PATCH 09/14] Clippy fix --- crates/uplc/src/machine/runtime.rs | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/crates/uplc/src/machine/runtime.rs b/crates/uplc/src/machine/runtime.rs index bc44267f2..df52d67fe 100644 --- a/crates/uplc/src/machine/runtime.rs +++ b/crates/uplc/src/machine/runtime.rs @@ -1504,7 +1504,7 @@ impl DefaultFunction { let bytes_result = if *should_pad { bytes1 - .into_iter() + .iter() .zip_longest(bytes2) .map(|b| match b { itertools::EitherOrBoth::Both(left_byte, right_byte) => { @@ -1517,7 +1517,7 @@ impl DefaultFunction { .collect_vec() } else { bytes1 - .into_iter() + .iter() .zip(bytes2) .map(|(b1, b2)| b1 & b2) .collect_vec() @@ -1532,7 +1532,7 @@ impl DefaultFunction { let bytes_result = if *should_pad { bytes1 - .into_iter() + .iter() .zip_longest(bytes2) .map(|b| match b { itertools::EitherOrBoth::Both(left_byte, right_byte) => { @@ -1545,7 +1545,7 @@ impl DefaultFunction { .collect_vec() } else { bytes1 - .into_iter() + .iter() .zip(bytes2) .map(|(b1, b2)| b1 | b2) .collect_vec() @@ -1560,7 +1560,7 @@ impl DefaultFunction { let bytes_result = if *should_pad { bytes1 - .into_iter() + .iter() .zip_longest(bytes2) .map(|b| match b { itertools::EitherOrBoth::Both(left_byte, right_byte) => { @@ -1573,7 +1573,7 @@ impl DefaultFunction { .collect_vec() } else { bytes1 - .into_iter() + .iter() .zip(bytes2) .map(|(b1, b2)| b1 ^ b2) .collect_vec() @@ -1584,7 +1584,7 @@ impl DefaultFunction { DefaultFunction::ComplementByteString => { let bytes = args[0].unwrap_byte_string()?; - let result = bytes.into_iter().map(|b| b ^ 255).collect_vec(); + let result = bytes.iter().map(|b| b ^ 255).collect_vec(); Ok(Value::byte_string(result)) } @@ -1666,9 +1666,8 @@ impl DefaultFunction { let byte_length = bytes.len(); if BigInt::from_usize(byte_length).unwrap() * 8 <= shift.abs() { - let mut new_vec = vec![]; + let new_vec = vec![0; byte_length]; - new_vec.resize(byte_length, 0); return Ok(Value::byte_string(new_vec)); } From a1804863dca23aed77e1b8234e80fbeb6e258bef Mon Sep 17 00:00:00 2001 From: microproofs Date: Fri, 6 Dec 2024 12:17:48 +0700 Subject: [PATCH 10/14] Remaining builtin --- crates/uplc/src/machine/runtime.rs | 37 +++++++++++++++++++++++++++++- 1 file changed, 36 insertions(+), 1 deletion(-) diff --git a/crates/uplc/src/machine/runtime.rs b/crates/uplc/src/machine/runtime.rs index df52d67fe..12f6c86ce 100644 --- a/crates/uplc/src/machine/runtime.rs +++ b/crates/uplc/src/machine/runtime.rs @@ -1702,7 +1702,42 @@ impl DefaultFunction { Ok(Value::integer(hamming::weight(bytes).into())) } - DefaultFunction::FindFirstSetBit => todo!(), + DefaultFunction::FindFirstSetBit => { + let bytes = args[0].unwrap_byte_string()?; + + let first_bit = + bytes + .into_iter() + .rev() + .enumerate() + .find_map(|(byte_index, value)| { + let value = value.reverse_bits(); + + let first_bit: Option = if value > 128 { + Some(0) + } else if value > 64 { + Some(1) + } else if value > 32 { + Some(2) + } else if value > 16 { + Some(3) + } else if value > 8 { + Some(4) + } else if value > 4 { + Some(5) + } else if value > 2 { + Some(6) + } else if value > 1 { + Some(7) + } else { + None + }; + + first_bit.map(|bit| isize::try_from(bit + byte_index * 8).unwrap()) + }); + + Ok(Value::integer(first_bit.unwrap_or(-1).into())) + } DefaultFunction::Ripemd_160 => { use cryptoxide::{digest::Digest, ripemd160::Ripemd160}; From 5f1f37919faee154477aed91e194d1b157231586 Mon Sep 17 00:00:00 2001 From: microproofs Date: Sat, 7 Dec 2024 12:23:22 +0700 Subject: [PATCH 11/14] Passing conformance tests --- crates/uplc/src/builtins.rs | 6 ++--- crates/uplc/src/machine/cost_model.rs | 12 +++++++--- crates/uplc/src/machine/error.rs | 8 +++++++ crates/uplc/src/machine/runtime.rs | 34 +++++++++++++++------------ crates/uplc/src/machine/value.rs | 7 ++++-- 5 files changed, 44 insertions(+), 23 deletions(-) diff --git a/crates/uplc/src/builtins.rs b/crates/uplc/src/builtins.rs index 4464b3123..8ac00744b 100644 --- a/crates/uplc/src/builtins.rs +++ b/crates/uplc/src/builtins.rs @@ -394,7 +394,7 @@ impl FromStr for DefaultFunction { "rotateByteString" => Ok(RotateByteString), "countSetBits" => Ok(CountSetBits), "findFirstSetBit" => Ok(FindFirstSetBit), - "ripemd160" => Ok(Ripemd_160), + "ripemd_160" => Ok(Ripemd_160), "expModInteger" => Ok(ExpModInteger), // "caseList" => Ok(CaseList), // "caseData" => Ok(CaseData), @@ -494,7 +494,7 @@ impl Display for DefaultFunction { RotateByteString => write!(f, "rotateByteString"), CountSetBits => write!(f, "countSetBits"), FindFirstSetBit => write!(f, "findFirstSetBit"), - Ripemd_160 => write!(f, "ripemd160"), + Ripemd_160 => write!(f, "ripemd_160"), ExpModInteger => write!(f, "expModInteger"), // CaseList => write!(f, "caseList"), // CaseData => write!(f, "caseData"), @@ -593,7 +593,7 @@ impl DefaultFunction { RotateByteString => "rotate_bytearray", CountSetBits => "count_set_bits", FindFirstSetBit => "find_first_set_bit", - Ripemd_160 => "ripemd160", + Ripemd_160 => "ripemd_160", ExpModInteger => "exp_mod_integer", // CaseList => "case_list", // CaseData => "case_data", diff --git a/crates/uplc/src/machine/cost_model.rs b/crates/uplc/src/machine/cost_model.rs index 22e2e016c..ebb4cf889 100644 --- a/crates/uplc/src/machine/cost_model.rs +++ b/crates/uplc/src/machine/cost_model.rs @@ -2,7 +2,7 @@ use super::{value::integer_log2, Error, Value}; use crate::builtins::DefaultFunction; use num_traits::Signed; use pallas_primitives::conway::Language; -use std::collections::HashMap; +use std::{collections::HashMap, i64}; macro_rules! hashmap { // map-like @@ -2641,7 +2641,10 @@ impl BuiltinCosts { DefaultFunction::ShiftByteString => { let literal = args[1].unwrap_integer()?; - let arg1: i64 = u64::try_from(literal.abs()).unwrap().try_into().unwrap(); + let arg1: i64 = u64::try_from(literal.abs()) + .unwrap() + .try_into() + .unwrap_or(i64::MAX); ExBudget { mem: self.shift_byte_string.mem.cost(args[0].to_ex_mem(), arg1), @@ -2651,7 +2654,10 @@ impl BuiltinCosts { DefaultFunction::RotateByteString => { let literal = args[1].unwrap_integer()?; - let arg1: i64 = u64::try_from(literal.abs()).unwrap().try_into().unwrap(); + let arg1: i64 = u64::try_from(literal.abs()) + .unwrap() + .try_into() + .unwrap_or(i64::MAX); ExBudget { mem: self.rotate_byte_string.mem.cost(args[0].to_ex_mem(), arg1), diff --git a/crates/uplc/src/machine/error.rs b/crates/uplc/src/machine/error.rs index 982784535..5c132bb5e 100644 --- a/crates/uplc/src/machine/error.rs +++ b/crates/uplc/src/machine/error.rs @@ -75,6 +75,8 @@ pub enum Error { MachineNeverReachedDone, #[error("integerToByteString encountered negative size\n{:>13} {0}", "Size")] IntegerToByteStringNegativeSize(BigInt), + #[error("replicateByte encountered negative size\n{:>13} {0}", "Size")] + ReplicateByteNegativeSize(BigInt), #[error("integerToByteString encountered negative input\n{:>13} {0}", "Input")] IntegerToByteStringNegativeInput(BigInt), #[error( @@ -83,6 +85,12 @@ pub enum Error { "Maximum" )] IntegerToByteStringSizeTooBig(BigInt, i64), + #[error( + "bytes size beyond limit when replicate byte\n{:>13} {0}\n{:>13} {1}", + "Size", + "Maximum" + )] + ReplicateByteSizeTooBig(BigInt, i64), #[error( "bytes size below limit when converting from integer\n{:>13} {0}\n{:>13} {1}", "Size", diff --git a/crates/uplc/src/machine/runtime.rs b/crates/uplc/src/machine/runtime.rs index 12f6c86ce..6de90f481 100644 --- a/crates/uplc/src/machine/runtime.rs +++ b/crates/uplc/src/machine/runtime.rs @@ -9,7 +9,7 @@ use crate::{ machine::value::integer_log2, plutus_data_to_bytes, }; -use bitvec::{order::Lsb0, vec::BitVec}; +use bitvec::{order::Msb0, vec::BitVec}; use itertools::Itertools; use num_bigint::BigInt; use num_integer::Integer; @@ -1629,7 +1629,7 @@ impl DefaultFunction { let flipped_index = bytes.len() - 1 - usize::try_from(byte_index).unwrap(); - let bit_mask: u8 = 1 >> bit_offset; + let bit_mask: u8 = 1 << bit_offset; if *set_bit { bytes[flipped_index] |= bit_mask; @@ -1654,7 +1654,7 @@ impl DefaultFunction { let value = if size == 0 { Value::byte_string(vec![]) } else { - Value::byte_string([byte].repeat(size - 1)) + Value::byte_string([byte].repeat(size)) }; Ok(value) @@ -1673,7 +1673,7 @@ impl DefaultFunction { let is_shl = shift >= &0.into(); - let mut bv = BitVec::::from_vec(bytes.clone()); + let mut bv = BitVec::::from_vec(bytes.clone()); if is_shl { bv.shift_left(usize::try_from(shift.abs()).unwrap()); @@ -1689,11 +1689,15 @@ impl DefaultFunction { let byte_length = bytes.len(); - let shift = shift % byte_length; + if bytes.is_empty() { + return Ok(Value::byte_string(bytes.clone())); + } + + let shift = shift.mod_floor(&(byte_length * 8).into()); - let mut bv = BitVec::::from_vec(bytes.clone()); + let mut bv = BitVec::::from_vec(bytes.clone()); - bv.rotate_right(usize::try_from(shift).unwrap()); + bv.rotate_left(usize::try_from(shift).unwrap()); Ok(Value::byte_string(bv.into_vec())) } @@ -1713,21 +1717,21 @@ impl DefaultFunction { .find_map(|(byte_index, value)| { let value = value.reverse_bits(); - let first_bit: Option = if value > 128 { + let first_bit: Option = if value >= 128 { Some(0) - } else if value > 64 { + } else if value >= 64 { Some(1) - } else if value > 32 { + } else if value >= 32 { Some(2) - } else if value > 16 { + } else if value >= 16 { Some(3) - } else if value > 8 { + } else if value >= 8 { Some(4) - } else if value > 4 { + } else if value >= 4 { Some(5) - } else if value > 2 { + } else if value >= 2 { Some(6) - } else if value > 1 { + } else if value >= 1 { Some(7) } else { None diff --git a/crates/uplc/src/machine/value.rs b/crates/uplc/src/machine/value.rs index d4df0f94c..a868e9fec 100644 --- a/crates/uplc/src/machine/value.rs +++ b/crates/uplc/src/machine/value.rs @@ -232,7 +232,7 @@ impl Value { DefaultFunction::IntegerToByteString => { Error::IntegerToByteStringNegativeSize(size.clone()) } - DefaultFunction::ReplicateByte => todo!(), + DefaultFunction::ReplicateByte => Error::ReplicateByteNegativeSize(size.clone()), _ => unreachable!(), }; return Err(error); @@ -244,7 +244,10 @@ impl Value { size.clone(), runtime::INTEGER_TO_BYTE_STRING_MAXIMUM_OUTPUT_LENGTH, ), - DefaultFunction::ReplicateByte => todo!(), + DefaultFunction::ReplicateByte => Error::ReplicateByteSizeTooBig( + size.clone(), + runtime::INTEGER_TO_BYTE_STRING_MAXIMUM_OUTPUT_LENGTH, + ), _ => unreachable!(), }; return Err(error); From 17fdbd356a9df142e6f0c7c642eedf4941bba055 Mon Sep 17 00:00:00 2001 From: microproofs Date: Sat, 7 Dec 2024 12:23:51 +0700 Subject: [PATCH 12/14] Add new conformance tests --- .../G1/bad-syntax-01/bad-syntax-01.uplc | 4 ++ .../bad-syntax-01.uplc.budget.expected | 1 + .../bad-syntax-01/bad-syntax-01.uplc.expected | 1 + .../G1/bad-syntax-02/bad-syntax-02.uplc | 4 ++ .../bad-syntax-02.uplc.budget.expected | 1 + .../bad-syntax-02/bad-syntax-02.uplc.expected | 1 + .../bls12-381/G1/bad-zero-01/bad-zero-01.uplc | 4 ++ .../bad-zero-01.uplc.budget.expected | 1 + .../G1/bad-zero-01/bad-zero-01.uplc.expected | 1 + .../bls12-381/G1/bad-zero-02/bad-zero-02.uplc | 4 ++ .../bad-zero-02.uplc.budget.expected | 1 + .../G1/bad-zero-02/bad-zero-02.uplc.expected | 1 + .../bls12-381/G1/bad-zero-03/bad-zero-03.uplc | 4 ++ .../bad-zero-03.uplc.budget.expected | 1 + .../G1/bad-zero-03/bad-zero-03.uplc.expected | 1 + .../G2/bad-syntax-01/bad-syntax-01.uplc | 4 ++ .../bad-syntax-01.uplc.budget.expected | 1 + .../bad-syntax-01/bad-syntax-01.uplc.expected | 1 + .../G2/bad-syntax-02/bad-syntax-02.uplc | 4 ++ .../bad-syntax-02.uplc.budget.expected | 1 + .../bad-syntax-02/bad-syntax-02.uplc.expected | 1 + .../bls12-381/G2/bad-zero-01/bad-zero-01.uplc | 4 ++ .../bad-zero-01.uplc.budget.expected | 1 + .../G2/bad-zero-01/bad-zero-01.uplc.expected | 1 + .../bls12-381/G2/bad-zero-02/bad-zero-02.uplc | 4 ++ .../bad-zero-02.uplc.budget.expected | 1 + .../G2/bad-zero-02/bad-zero-02.uplc.expected | 1 + .../bls12-381/G2/bad-zero-03/bad-zero-03.uplc | 4 ++ .../bad-zero-03.uplc.budget.expected | 1 + .../G2/bad-zero-03/bad-zero-03.uplc.expected | 1 + .../bytestring-01/bytestring-01.uplc | 1 + .../bytestring-01.uplc.budget.expected | 2 + .../bytestring-01/bytestring-01.uplc.expected | 1 + .../bytestring-02/bytestring-02.uplc | 3 + .../bytestring-02.uplc.budget.expected | 2 + .../bytestring-02/bytestring-02.uplc.expected | 1 + .../bytestring-03/bytestring-03.uplc | 3 + .../bytestring-03.uplc.budget.expected | 2 + .../bytestring-03/bytestring-03.uplc.expected | 1 + .../bytestring-04/bytestring-04.uplc | 3 + .../bytestring-04.uplc.budget.expected | 1 + .../bytestring-04/bytestring-04.uplc.expected | 1 + .../integer/integer-01/integer-01.uplc | 1 + .../integer-01.uplc.budget.expected | 2 + .../integer-01/integer-01.uplc.expected | 1 + .../integer/integer-02/integer-02.uplc | 1 + .../integer-02.uplc.budget.expected | 2 + .../integer-02/integer-02.uplc.expected | 1 + .../integer/integer-03/integer-03.uplc | 1 + .../integer-03.uplc.budget.expected | 2 + .../integer-03/integer-03.uplc.expected | 1 + .../integer/integer-04/integer-04.uplc | 1 + .../integer-04.uplc.budget.expected | 2 + .../integer-04/integer-04.uplc.expected | 1 + .../integer/integer-05/integer-05.uplc | 1 + .../integer-05.uplc.budget.expected | 2 + .../integer-05/integer-05.uplc.expected | 1 + .../integer/integer-06/integer-06.uplc | 1 + .../integer-06.uplc.budget.expected | 2 + .../integer-06/integer-06.uplc.expected | 7 ++ .../integer/integer-07/integer-07.uplc | 1 + .../integer-07.uplc.budget.expected | 2 + .../integer-07/integer-07.uplc.expected | 7 ++ .../integer/integer-08/integer-08.uplc | 1 + .../integer-08.uplc.budget.expected | 2 + .../integer-08/integer-08.uplc.expected | 7 ++ .../integer/integer-09/integer-09.uplc | 1 + .../integer-09.uplc.budget.expected | 1 + .../integer-09/integer-09.uplc.expected | 1 + .../list/illTypedList-01/illTypedList-01.uplc | 2 + .../illTypedList-01.uplc.budget.expected | 1 + .../illTypedList-01.uplc.expected | 1 + .../list/illTypedList-02/illTypedList-02.uplc | 2 + .../illTypedList-02.uplc.budget.expected | 1 + .../illTypedList-02.uplc.expected | 1 + .../pair/illTypedPair-01/illTypedPair-01.uplc | 1 + .../illTypedPair-01.uplc.budget.expected | 1 + .../illTypedPair-01.uplc.expected | 1 + .../pair/illTypedPair-02/illTypedPair-02.uplc | 1 + .../illTypedPair-02.uplc.budget.expected | 1 + .../illTypedPair-02.uplc.expected | 1 + .../andByteString/case-01/case-01.uplc | 4 ++ .../case-01/case-01.uplc.budget.expected | 2 + .../case-01/case-01.uplc.expected | 1 + .../andByteString/case-02/case-02.uplc | 4 ++ .../case-02/case-02.uplc.budget.expected | 2 + .../case-02/case-02.uplc.expected | 1 + .../andByteString/case-03/case-03.uplc | 4 ++ .../case-03/case-03.uplc.budget.expected | 2 + .../case-03/case-03.uplc.expected | 1 + .../andByteString/case-04/case-04.uplc | 4 ++ .../case-04/case-04.uplc.budget.expected | 2 + .../case-04/case-04.uplc.expected | 1 + .../andByteString/case-05/case-05.uplc | 4 ++ .../case-05/case-05.uplc.budget.expected | 2 + .../case-05/case-05.uplc.expected | 1 + .../andByteString/case-06/case-06.uplc | 4 ++ .../case-06/case-06.uplc.budget.expected | 2 + .../case-06/case-06.uplc.expected | 1 + .../andByteString/case-07/case-07.uplc | 4 ++ .../case-07/case-07.uplc.budget.expected | 2 + .../case-07/case-07.uplc.expected | 1 + .../andByteString/case-08/case-08.uplc | 4 ++ .../case-08/case-08.uplc.budget.expected | 2 + .../case-08/case-08.uplc.expected | 1 + .../andByteString/case-09/case-09.uplc | 4 ++ .../case-09/case-09.uplc.budget.expected | 2 + .../case-09/case-09.uplc.expected | 1 + .../andByteString/case-10/case-10.uplc | 4 ++ .../case-10/case-10.uplc.budget.expected | 2 + .../case-10/case-10.uplc.expected | 1 + .../andByteString/case-11/case-11.uplc | 12 ++++ .../case-11/case-11.uplc.budget.expected | 2 + .../case-11/case-11.uplc.expected | 7 ++ .../andByteString/case-12/case-12.uplc | 12 ++++ .../case-12/case-12.uplc.budget.expected | 2 + .../case-12/case-12.uplc.expected | 7 ++ .../andByteString/case-13/case-13.uplc | 12 ++++ .../case-13/case-13.uplc.budget.expected | 2 + .../case-13/case-13.uplc.expected | 7 ++ .../andByteString/case-14/case-14.uplc | 12 ++++ .../case-14/case-14.uplc.budget.expected | 2 + .../case-14/case-14.uplc.expected | 7 ++ .../chooseList-01/chooseList-01.uplc | 1 + .../chooseList-01.uplc.budget.expected | 2 + .../chooseList-01/chooseList-01.uplc.expected | 1 + .../chooseList-02/chooseList-02.uplc | 1 + .../chooseList-02.uplc.budget.expected | 2 + .../chooseList-02/chooseList-02.uplc.expected | 1 + .../chooseList-03/chooseList-03.uplc | 2 + .../chooseList-03.uplc.budget.expected | 2 + .../chooseList-03/chooseList-03.uplc.expected | 1 + .../chooseList-04/chooseList-04.uplc | 2 + .../chooseList-04.uplc.budget.expected | 2 + .../chooseList-04/chooseList-04.uplc.expected | 1 + .../chooseUnit-01/chooseUnit-01.uplc | 1 + .../chooseUnit-01.uplc.budget.expected | 2 + .../chooseUnit-01/chooseUnit-01.uplc.expected | 1 + .../chooseUnit-02/chooseUnit-02.uplc | 2 + .../chooseUnit-02.uplc.budget.expected | 2 + .../chooseUnit-02/chooseUnit-02.uplc.expected | 1 + .../complementByteString/case-01/case-01.uplc | 1 + .../case-01/case-01.uplc.budget.expected | 2 + .../case-01/case-01.uplc.expected | 1 + .../complementByteString/case-02/case-02.uplc | 1 + .../case-02/case-02.uplc.budget.expected | 2 + .../case-02/case-02.uplc.expected | 1 + .../complementByteString/case-03/case-03.uplc | 1 + .../case-03/case-03.uplc.budget.expected | 2 + .../case-03/case-03.uplc.expected | 1 + .../complementByteString/case-04/case-04.uplc | 6 ++ .../case-04/case-04.uplc.budget.expected | 2 + .../case-04/case-04.uplc.expected | 7 ++ .../complementByteString/case-05/case-05.uplc | 18 ++++++ .../case-05/case-05.uplc.budget.expected | 2 + .../case-05/case-05.uplc.expected | 1 + .../consByteString-01/consByteString-01.uplc | 2 + .../consByteString-01.uplc.budget.expected | 1 + .../consByteString-01.uplc.expected | 1 + .../consByteString-02/consByteString-02.uplc | 3 + .../consByteString-02.uplc.budget.expected | 1 + .../consByteString-02.uplc.expected | 1 + .../consByteString-03/consByteString-03.uplc | 3 + .../consByteString-03.uplc.budget.expected | 2 + .../consByteString-03.uplc.expected | 1 + .../countSetBits/case-01/case-01.uplc | 1 + .../case-01/case-01.uplc.budget.expected | 2 + .../case-01/case-01.uplc.expected | 1 + .../countSetBits/case-02/case-02.uplc | 1 + .../case-02/case-02.uplc.budget.expected | 2 + .../case-02/case-02.uplc.expected | 1 + .../countSetBits/case-03/case-03.uplc | 1 + .../case-03/case-03.uplc.budget.expected | 2 + .../case-03/case-03.uplc.expected | 1 + .../countSetBits/case-04/case-04.uplc | 1 + .../case-04/case-04.uplc.budget.expected | 2 + .../case-04/case-04.uplc.expected | 1 + .../countSetBits/case-05/case-05.uplc | 6 ++ .../case-05/case-05.uplc.budget.expected | 2 + .../case-05/case-05.uplc.expected | 1 + .../countSetBits/case-06/case-06.uplc | 6 ++ .../case-06/case-06.uplc.budget.expected | 2 + .../case-06/case-06.uplc.expected | 1 + .../countSetBits/case-07/case-07.uplc | 6 ++ .../case-07/case-07.uplc.budget.expected | 2 + .../case-07/case-07.uplc.expected | 1 + .../countSetBits/case-08/case-08.uplc | 6 ++ .../case-08/case-08.uplc.budget.expected | 2 + .../case-08/case-08.uplc.expected | 1 + .../divideInteger-01/divideInteger-01.uplc | 1 + .../divideInteger-01.uplc.budget.expected | 2 + .../divideInteger-01.uplc.expected | 1 + .../equalsByteString-01.uplc | 3 + .../equalsByteString-01.uplc.budget.expected | 2 + .../equalsByteString-01.uplc.expected | 1 + .../equalsByteString-02.uplc | 3 + .../equalsByteString-02.uplc.budget.expected | 2 + .../equalsByteString-02.uplc.expected | 1 + .../equalsInteger-01/equalsInteger-01.uplc | 1 + .../equalsInteger-01.uplc.budget.expected | 2 + .../equalsInteger-01.uplc.expected | 1 + .../equalsInteger-02/equalsInteger-02.uplc | 1 + .../equalsInteger-02.uplc.budget.expected | 2 + .../equalsInteger-02.uplc.expected | 1 + .../equalsInteger-03/equalsInteger-03.uplc | 1 + .../equalsInteger-03.uplc.budget.expected | 2 + .../equalsInteger-03.uplc.expected | 1 + .../equalsString-01/equalsString-01.uplc | 1 + .../equalsString-01.uplc.budget.expected | 2 + .../equalsString-01.uplc.expected | 1 + .../equalsString-02/equalsString-02.uplc | 1 + .../equalsString-02.uplc.budget.expected | 2 + .../equalsString-02.uplc.expected | 1 + .../findFirstSetBit/case-01/case-01.uplc | 1 + .../case-01/case-01.uplc.budget.expected | 2 + .../case-01/case-01.uplc.expected | 1 + .../findFirstSetBit/case-02/case-02.uplc | 1 + .../case-02/case-02.uplc.budget.expected | 2 + .../case-02/case-02.uplc.expected | 1 + .../findFirstSetBit/case-03/case-03.uplc | 1 + .../case-03/case-03.uplc.budget.expected | 2 + .../case-03/case-03.uplc.expected | 1 + .../findFirstSetBit/case-04/case-04.uplc | 1 + .../case-04/case-04.uplc.budget.expected | 2 + .../case-04/case-04.uplc.expected | 1 + .../findFirstSetBit/case-05/case-05.uplc | 6 ++ .../case-05/case-05.uplc.budget.expected | 2 + .../case-05/case-05.uplc.expected | 1 + .../findFirstSetBit/case-06/case-06.uplc | 6 ++ .../case-06/case-06.uplc.budget.expected | 2 + .../case-06/case-06.uplc.expected | 1 + .../findFirstSetBit/case-07/case-07.uplc | 7 ++ .../case-07/case-07.uplc.budget.expected | 2 + .../case-07/case-07.uplc.expected | 1 + .../headList/headList-01/headList-01.uplc | 1 + .../headList-01.uplc.budget.expected | 2 + .../headList-01/headList-01.uplc.expected | 1 + .../headList/headList-02/headList-02.uplc | 1 + .../headList-02.uplc.budget.expected | 1 + .../headList-02/headList-02.uplc.expected | 1 + .../headList/headList-03/headList-03.uplc | 1 + .../headList-03.uplc.budget.expected | 2 + .../headList-03/headList-03.uplc.expected | 1 + .../ifThenElse-01/ifThenElse-01.uplc | 1 + .../ifThenElse-01.uplc.budget.expected | 2 + .../ifThenElse-01/ifThenElse-01.uplc.expected | 1 + .../ifThenElse-02/ifThenElse-02.uplc | 3 + .../ifThenElse-02.uplc.budget.expected | 2 + .../ifThenElse-02/ifThenElse-02.uplc.expected | 1 + .../ifThenElse-03/ifThenElse-03.uplc | 3 + .../ifThenElse-03.uplc.budget.expected | 2 + .../ifThenElse-03/ifThenElse-03.uplc.expected | 1 + .../ifThenElse-04/ifThenElse-04.uplc | 3 + .../ifThenElse-04.uplc.budget.expected | 1 + .../ifThenElse-04/ifThenElse-04.uplc.expected | 1 + .../ifThenElse-bad-cond-01.uplc | 1 + ...fThenElse-bad-cond-01.uplc.budget.expected | 1 + .../ifThenElse-bad-cond-01.uplc.expected | 1 + .../ifThenElse-bad-cond-02.uplc | 1 + ...fThenElse-bad-cond-02.uplc.budget.expected | 1 + .../ifThenElse-bad-cond-02.uplc.expected | 1 + .../indexByteString-01.uplc | 1 + .../indexByteString-01.uplc.budget.expected | 2 + .../indexByteString-01.uplc.expected | 1 + .../lessThanByteString-00.uplc | 1 + ...lessThanByteString-00.uplc.budget.expected | 2 + .../lessThanByteString-00.uplc.expected | 1 + .../lessThanByteString-01.uplc | 3 + ...lessThanByteString-01.uplc.budget.expected | 2 + .../lessThanByteString-01.uplc.expected | 1 + .../lessThanByteString-02.uplc | 3 + ...lessThanByteString-02.uplc.budget.expected | 2 + .../lessThanByteString-02.uplc.expected | 1 + .../lessThanByteString-03.uplc | 3 + ...lessThanByteString-03.uplc.budget.expected | 2 + .../lessThanByteString-03.uplc.expected | 1 + .../lessThanByteString-04.uplc | 3 + ...lessThanByteString-04.uplc.budget.expected | 2 + .../lessThanByteString-04.uplc.expected | 1 + .../lessThanByteString-05.uplc | 3 + ...lessThanByteString-05.uplc.budget.expected | 2 + .../lessThanByteString-05.uplc.expected | 1 + .../lessThanEqualsByteString-00.uplc | 1 + ...anEqualsByteString-00.uplc.budget.expected | 2 + .../lessThanEqualsByteString-00.uplc.expected | 1 + .../lessThanEqualsByteString-01.uplc | 3 + ...anEqualsByteString-01.uplc.budget.expected | 2 + .../lessThanEqualsByteString-01.uplc.expected | 1 + .../lessThanEqualsByteString-02.uplc | 3 + ...anEqualsByteString-02.uplc.budget.expected | 2 + .../lessThanEqualsByteString-02.uplc.expected | 1 + .../lessThanEqualsByteString-03.uplc | 3 + ...anEqualsByteString-03.uplc.budget.expected | 2 + .../lessThanEqualsByteString-03.uplc.expected | 1 + .../lessThanEqualsInteger-01.uplc | 1 + ...sThanEqualsInteger-01.uplc.budget.expected | 2 + .../lessThanEqualsInteger-01.uplc.expected | 1 + .../lessThanEqualsInteger-02.uplc | 3 + ...sThanEqualsInteger-02.uplc.budget.expected | 2 + .../lessThanEqualsInteger-02.uplc.expected | 1 + .../lessThanEqualsInteger-03.uplc | 3 + ...sThanEqualsInteger-03.uplc.budget.expected | 2 + .../lessThanEqualsInteger-03.uplc.expected | 1 + .../lessThanEqualsInteger-04.uplc | 3 + ...sThanEqualsInteger-04.uplc.budget.expected | 2 + .../lessThanEqualsInteger-04.uplc.expected | 1 + .../lessThanEqualsInteger-05.uplc | 3 + ...sThanEqualsInteger-05.uplc.budget.expected | 2 + .../lessThanEqualsInteger-05.uplc.expected | 1 + .../lessThanInteger-01.uplc | 1 + .../lessThanInteger-01.uplc.budget.expected | 2 + .../lessThanInteger-01.uplc.expected | 1 + .../lessThanInteger-02.uplc | 3 + .../lessThanInteger-02.uplc.budget.expected | 2 + .../lessThanInteger-02.uplc.expected | 1 + .../lessThanInteger-03.uplc | 3 + .../lessThanInteger-03.uplc.budget.expected | 2 + .../lessThanInteger-03.uplc.expected | 1 + .../lessThanInteger-04.uplc | 3 + .../lessThanInteger-04.uplc.budget.expected | 2 + .../lessThanInteger-04.uplc.expected | 1 + .../lessThanInteger-05.uplc | 3 + .../lessThanInteger-05.uplc.budget.expected | 2 + .../lessThanInteger-05.uplc.expected | 1 + .../semantics/mkCons/mkCons-01/mkCons-01.uplc | 1 + .../mkCons-01/mkCons-01.uplc.budget.expected | 2 + .../mkCons/mkCons-01/mkCons-01.uplc.expected | 1 + .../semantics/mkCons/mkCons-02/mkCons-02.uplc | 1 + .../mkCons-02/mkCons-02.uplc.budget.expected | 2 + .../mkCons/mkCons-02/mkCons-02.uplc.expected | 1 + .../modInteger-01/modInteger-01.uplc | 1 + .../modInteger-01.uplc.budget.expected | 2 + .../modInteger-01/modInteger-01.uplc.expected | 1 + .../multiplyInteger-01.uplc | 1 + .../multiplyInteger-01.uplc.budget.expected | 2 + .../multiplyInteger-01.uplc.expected | 1 + .../multiplyInteger-02.uplc | 1 + .../multiplyInteger-02.uplc.budget.expected | 2 + .../multiplyInteger-02.uplc.expected | 1 + .../multiplyInteger-03.uplc | 1 + .../multiplyInteger-03.uplc.budget.expected | 2 + .../multiplyInteger-03.uplc.expected | 1 + .../multiplyInteger-04.uplc | 1 + .../multiplyInteger-04.uplc.budget.expected | 2 + .../multiplyInteger-04.uplc.expected | 1 + .../multiplyInteger-05.uplc | 1 + .../multiplyInteger-05.uplc.budget.expected | 2 + .../multiplyInteger-05.uplc.expected | 1 + .../multiplyInteger-06.uplc | 1 + .../multiplyInteger-06.uplc.budget.expected | 2 + .../multiplyInteger-06.uplc.expected | 1 + .../nullList/nullList-01/nullList-01.uplc | 1 + .../nullList-01.uplc.budget.expected | 2 + .../nullList-01/nullList-01.uplc.expected | 1 + .../nullList/nullList-02/nullList-02.uplc | 1 + .../nullList-02.uplc.budget.expected | 2 + .../nullList-02/nullList-02.uplc.expected | 1 + .../orByteString/case-01/case-01.uplc | 4 ++ .../case-01/case-01.uplc.budget.expected | 2 + .../case-01/case-01.uplc.expected | 1 + .../orByteString/case-02/case-02.uplc | 4 ++ .../case-02/case-02.uplc.budget.expected | 2 + .../case-02/case-02.uplc.expected | 1 + .../orByteString/case-03/case-03.uplc | 4 ++ .../case-03/case-03.uplc.budget.expected | 2 + .../case-03/case-03.uplc.expected | 1 + .../orByteString/case-04/case-04.uplc | 4 ++ .../case-04/case-04.uplc.budget.expected | 2 + .../case-04/case-04.uplc.expected | 1 + .../orByteString/case-05/case-05.uplc | 4 ++ .../case-05/case-05.uplc.budget.expected | 2 + .../case-05/case-05.uplc.expected | 1 + .../orByteString/case-06/case-06.uplc | 4 ++ .../case-06/case-06.uplc.budget.expected | 2 + .../case-06/case-06.uplc.expected | 1 + .../orByteString/case-07/case-07.uplc | 4 ++ .../case-07/case-07.uplc.budget.expected | 2 + .../case-07/case-07.uplc.expected | 1 + .../orByteString/case-08/case-08.uplc | 4 ++ .../case-08/case-08.uplc.budget.expected | 2 + .../case-08/case-08.uplc.expected | 1 + .../orByteString/case-09/case-09.uplc | 4 ++ .../case-09/case-09.uplc.budget.expected | 2 + .../case-09/case-09.uplc.expected | 1 + .../orByteString/case-10/case-10.uplc | 4 ++ .../case-10/case-10.uplc.budget.expected | 2 + .../case-10/case-10.uplc.expected | 1 + .../orByteString/case-11/case-11.uplc | 12 ++++ .../case-11/case-11.uplc.budget.expected | 2 + .../case-11/case-11.uplc.expected | 7 ++ .../orByteString/case-12/case-12.uplc | 12 ++++ .../case-12/case-12.uplc.budget.expected | 2 + .../case-12/case-12.uplc.expected | 7 ++ .../orByteString/case-13/case-13.uplc | 12 ++++ .../case-13/case-13.uplc.budget.expected | 2 + .../case-13/case-13.uplc.expected | 7 ++ .../orByteString/case-14/case-14.uplc | 12 ++++ .../case-14/case-14.uplc.budget.expected | 2 + .../case-14/case-14.uplc.expected | 7 ++ .../quotientInteger-01.uplc | 1 + .../quotientInteger-01.uplc.budget.expected | 2 + .../quotientInteger-01.uplc.expected | 1 + .../semantics/readBit/case-01/case-01.uplc | 1 + .../case-01/case-01.uplc.budget.expected | 1 + .../readBit/case-01/case-01.uplc.expected | 1 + .../semantics/readBit/case-02/case-02.uplc | 1 + .../case-02/case-02.uplc.budget.expected | 1 + .../readBit/case-02/case-02.uplc.expected | 1 + .../semantics/readBit/case-03/case-03.uplc | 1 + .../case-03/case-03.uplc.budget.expected | 1 + .../readBit/case-03/case-03.uplc.expected | 1 + .../semantics/readBit/case-04/case-04.uplc | 1 + .../case-04/case-04.uplc.budget.expected | 1 + .../readBit/case-04/case-04.uplc.expected | 1 + .../semantics/readBit/case-05/case-05.uplc | 1 + .../case-05/case-05.uplc.budget.expected | 2 + .../readBit/case-05/case-05.uplc.expected | 1 + .../semantics/readBit/case-06/case-06.uplc | 1 + .../case-06/case-06.uplc.budget.expected | 2 + .../readBit/case-06/case-06.uplc.expected | 1 + .../semantics/readBit/case-07/case-07.uplc | 1 + .../case-07/case-07.uplc.budget.expected | 2 + .../readBit/case-07/case-07.uplc.expected | 1 + .../semantics/readBit/case-08/case-08.uplc | 1 + .../case-08/case-08.uplc.budget.expected | 2 + .../readBit/case-08/case-08.uplc.expected | 1 + .../semantics/readBit/case-09/case-09.uplc | 1 + .../case-09/case-09.uplc.budget.expected | 2 + .../readBit/case-09/case-09.uplc.expected | 1 + .../semantics/readBit/case-10/case-10.uplc | 1 + .../case-10/case-10.uplc.budget.expected | 2 + .../readBit/case-10/case-10.uplc.expected | 1 + .../semantics/readBit/case-11/case-11.uplc | 1 + .../case-11/case-11.uplc.budget.expected | 2 + .../readBit/case-11/case-11.uplc.expected | 1 + .../semantics/readBit/case-12/case-12.uplc | 1 + .../case-12/case-12.uplc.budget.expected | 2 + .../readBit/case-12/case-12.uplc.expected | 1 + .../semantics/readBit/case-13/case-13.uplc | 1 + .../case-13/case-13.uplc.budget.expected | 1 + .../readBit/case-13/case-13.uplc.expected | 1 + .../semantics/readBit/case-14/case-14.uplc | 1 + .../case-14/case-14.uplc.budget.expected | 1 + .../readBit/case-14/case-14.uplc.expected | 1 + .../semantics/readBit/case-15/case-15.uplc | 1 + .../case-15/case-15.uplc.budget.expected | 2 + .../readBit/case-15/case-15.uplc.expected | 1 + .../semantics/readBit/case-16/case-16.uplc | 9 +++ .../case-16/case-16.uplc.budget.expected | 2 + .../readBit/case-16/case-16.uplc.expected | 1 + .../semantics/readBit/case-17/case-17.uplc | 9 +++ .../case-17/case-17.uplc.budget.expected | 2 + .../readBit/case-17/case-17.uplc.expected | 1 + .../semantics/readBit/case-18/case-18.uplc | 9 +++ .../case-18/case-18.uplc.budget.expected | 1 + .../readBit/case-18/case-18.uplc.expected | 1 + .../semantics/readBit/case-19/case-19.uplc | 9 +++ .../case-19/case-19.uplc.budget.expected | 1 + .../readBit/case-19/case-19.uplc.expected | 1 + .../semantics/readBit/case-20/case-20.uplc | 9 +++ .../case-20/case-20.uplc.budget.expected | 1 + .../readBit/case-20/case-20.uplc.expected | 1 + .../semantics/readBit/case-21/case-21.uplc | 9 +++ .../case-21/case-21.uplc.budget.expected | 1 + .../readBit/case-21/case-21.uplc.expected | 1 + .../semantics/readBit/case-22/case-22.uplc | 9 +++ .../case-22/case-22.uplc.budget.expected | 1 + .../readBit/case-22/case-22.uplc.expected | 1 + .../remainderInteger-01.uplc | 1 + .../remainderInteger-01.uplc.budget.expected | 2 + .../remainderInteger-01.uplc.expected | 1 + .../replicateByte/case-01/case-01.uplc | 1 + .../case-01/case-01.uplc.budget.expected | 1 + .../case-01/case-01.uplc.expected | 1 + .../replicateByte/case-02/case-02.uplc | 1 + .../case-02/case-02.uplc.budget.expected | 1 + .../case-02/case-02.uplc.expected | 1 + .../replicateByte/case-03/case-03.uplc | 1 + .../case-03/case-03.uplc.budget.expected | 1 + .../case-03/case-03.uplc.expected | 1 + .../replicateByte/case-04/case-04.uplc | 1 + .../case-04/case-04.uplc.budget.expected | 1 + .../case-04/case-04.uplc.expected | 1 + .../replicateByte/case-05/case-05.uplc | 1 + .../case-05/case-05.uplc.budget.expected | 1 + .../case-05/case-05.uplc.expected | 1 + .../replicateByte/case-06/case-06.uplc | 1 + .../case-06/case-06.uplc.budget.expected | 1 + .../case-06/case-06.uplc.expected | 1 + .../replicateByte/case-07/case-07.uplc | 1 + .../case-07/case-07.uplc.budget.expected | 2 + .../case-07/case-07.uplc.expected | 1 + .../replicateByte/case-08/case-08.uplc | 1 + .../case-08/case-08.uplc.budget.expected | 2 + .../case-08/case-08.uplc.expected | 1 + .../replicateByte/case-09/case-09.uplc | 2 + .../case-09/case-09.uplc.budget.expected | 2 + .../case-09/case-09.uplc.expected | 7 ++ .../replicateByte/case-10/case-10.uplc | 2 + .../case-10/case-10.uplc.budget.expected | 1 + .../case-10/case-10.uplc.expected | 1 + .../ripemd_160-empty/ripemd_160-empty.uplc | 14 ++++ .../ripemd_160-empty.uplc.budget.expected | 2 + .../ripemd_160-empty.uplc.expected | 1 + .../ripemd_160-length-200.uplc | 14 ++++ ...ripemd_160-length-200.uplc.budget.expected | 2 + .../ripemd_160-length-200.uplc.expected | 1 + .../rotateByteString/case-01/case-01.uplc | 1 + .../case-01/case-01.uplc.budget.expected | 2 + .../case-01/case-01.uplc.expected | 1 + .../rotateByteString/case-02/case-02.uplc | 1 + .../case-02/case-02.uplc.budget.expected | 2 + .../case-02/case-02.uplc.expected | 1 + .../rotateByteString/case-03/case-03.uplc | 1 + .../case-03/case-03.uplc.budget.expected | 2 + .../case-03/case-03.uplc.expected | 1 + .../rotateByteString/case-04/case-04.uplc | 1 + .../case-04/case-04.uplc.budget.expected | 2 + .../case-04/case-04.uplc.expected | 1 + .../rotateByteString/case-05/case-05.uplc | 1 + .../case-05/case-05.uplc.budget.expected | 2 + .../case-05/case-05.uplc.expected | 1 + .../rotateByteString/case-06/case-06.uplc | 1 + .../case-06/case-06.uplc.budget.expected | 2 + .../case-06/case-06.uplc.expected | 1 + .../rotateByteString/case-07/case-07.uplc | 1 + .../case-07/case-07.uplc.budget.expected | 2 + .../case-07/case-07.uplc.expected | 1 + .../rotateByteString/case-08/case-08.uplc | 1 + .../case-08/case-08.uplc.budget.expected | 2 + .../case-08/case-08.uplc.expected | 1 + .../rotateByteString/case-09/case-09.uplc | 10 +++ .../case-09/case-09.uplc.budget.expected | 2 + .../case-09/case-09.uplc.expected | 7 ++ .../rotateByteString/case-10/case-10.uplc | 10 +++ .../case-10/case-10.uplc.budget.expected | 2 + .../case-10/case-10.uplc.expected | 7 ++ .../rotateByteString/case-11/case-11.uplc | 10 +++ .../case-11/case-11.uplc.budget.expected | 2 + .../case-11/case-11.uplc.expected | 7 ++ .../rotateByteString/case-12/case-12.uplc | 9 +++ .../case-12/case-12.uplc.budget.expected | 2 + .../case-12/case-12.uplc.expected | 7 ++ .../rotateByteString/case-13/case-13.uplc | 10 +++ .../case-13/case-13.uplc.budget.expected | 2 + .../case-13/case-13.uplc.expected | 7 ++ .../rotateByteString/case-14/case-14.uplc | 10 +++ .../case-14/case-14.uplc.budget.expected | 2 + .../case-14/case-14.uplc.expected | 7 ++ .../rotateByteString/case-15/case-15.uplc | 10 +++ .../case-15/case-15.uplc.budget.expected | 2 + .../case-15/case-15.uplc.expected | 7 ++ .../rotateByteString/case-16/case-16.uplc | 10 +++ .../case-16/case-16.uplc.budget.expected | 2 + .../case-16/case-16.uplc.expected | 7 ++ .../rotateByteString/case-17/case-17.uplc | 10 +++ .../case-17/case-17.uplc.budget.expected | 2 + .../case-17/case-17.uplc.expected | 7 ++ .../rotateByteString/case-18/case-18.uplc | 10 +++ .../case-18/case-18.uplc.budget.expected | 2 + .../case-18/case-18.uplc.expected | 7 ++ .../shiftByteString/case-01/case-01.uplc | 1 + .../case-01/case-01.uplc.budget.expected | 2 + .../case-01/case-01.uplc.expected | 1 + .../shiftByteString/case-02/case-02.uplc | 1 + .../case-02/case-02.uplc.budget.expected | 2 + .../case-02/case-02.uplc.expected | 1 + .../shiftByteString/case-03/case-03.uplc | 1 + .../case-03/case-03.uplc.budget.expected | 2 + .../case-03/case-03.uplc.expected | 1 + .../shiftByteString/case-04/case-04.uplc | 1 + .../case-04/case-04.uplc.budget.expected | 2 + .../case-04/case-04.uplc.expected | 1 + .../shiftByteString/case-05/case-05.uplc | 1 + .../case-05/case-05.uplc.budget.expected | 2 + .../case-05/case-05.uplc.expected | 1 + .../shiftByteString/case-06/case-06.uplc | 1 + .../case-06/case-06.uplc.budget.expected | 2 + .../case-06/case-06.uplc.expected | 1 + .../shiftByteString/case-07/case-07.uplc | 10 +++ .../case-07/case-07.uplc.budget.expected | 2 + .../case-07/case-07.uplc.expected | 7 ++ .../shiftByteString/case-08/case-08.uplc | 9 +++ .../case-08/case-08.uplc.budget.expected | 2 + .../case-08/case-08.uplc.expected | 7 ++ .../shiftByteString/case-09/case-09.uplc | 9 +++ .../case-09/case-09.uplc.budget.expected | 2 + .../case-09/case-09.uplc.expected | 7 ++ .../shiftByteString/case-10/case-10.uplc | 9 +++ .../case-10/case-10.uplc.budget.expected | 2 + .../case-10/case-10.uplc.expected | 7 ++ .../shiftByteString/case-11/case-11.uplc | 9 +++ .../case-11/case-11.uplc.budget.expected | 2 + .../case-11/case-11.uplc.expected | 7 ++ .../shiftByteString/case-12/case-12.uplc | 10 +++ .../case-12/case-12.uplc.budget.expected | 2 + .../case-12/case-12.uplc.expected | 7 ++ .../shiftByteString/case-13/case-13.uplc | 10 +++ .../case-13/case-13.uplc.budget.expected | 2 + .../case-13/case-13.uplc.expected | 7 ++ .../shiftByteString/case-14/case-14.uplc | 10 +++ .../case-14/case-14.uplc.budget.expected | 2 + .../case-14/case-14.uplc.expected | 7 ++ .../shiftByteString/case-15/case-15.uplc | 10 +++ .../case-15/case-15.uplc.budget.expected | 2 + .../case-15/case-15.uplc.expected | 7 ++ .../sliceByteString-01.uplc | 3 + .../sliceByteString-01.uplc.budget.expected | 2 + .../sliceByteString-01.uplc.expected | 1 + .../sliceByteString-02.uplc | 3 + .../sliceByteString-02.uplc.budget.expected | 2 + .../sliceByteString-02.uplc.expected | 1 + .../sliceByteString-03.uplc | 3 + .../sliceByteString-03.uplc.budget.expected | 2 + .../sliceByteString-03.uplc.expected | 1 + .../sliceByteString-04.uplc | 3 + .../sliceByteString-04.uplc.budget.expected | 2 + .../sliceByteString-04.uplc.expected | 1 + .../sliceByteString-05.uplc | 3 + .../sliceByteString-05.uplc.budget.expected | 2 + .../sliceByteString-05.uplc.expected | 1 + .../subtractInteger-01.uplc | 1 + .../subtractInteger-01.uplc.budget.expected | 2 + .../subtractInteger-01.uplc.expected | 1 + .../subtractInteger-02.uplc | 1 + .../subtractInteger-02.uplc.budget.expected | 2 + .../subtractInteger-02.uplc.expected | 1 + .../subtractInteger-03.uplc | 1 + .../subtractInteger-03.uplc.budget.expected | 2 + .../subtractInteger-03.uplc.expected | 1 + .../subtractInteger-04.uplc | 1 + .../subtractInteger-04.uplc.budget.expected | 2 + .../subtractInteger-04.uplc.expected | 1 + .../tailList/tailList-01/tailList-01.uplc | 1 + .../tailList-01.uplc.budget.expected | 1 + .../tailList-01/tailList-01.uplc.expected | 1 + .../unBData/unBData-01/unBData-01.uplc | 1 + .../unBData-01.uplc.budget.expected | 1 + .../unBData-01/unBData-01.uplc.expected | 1 + .../unConstrData-01/unConstrData-01.uplc | 1 + .../unConstrData-01.uplc.budget.expected | 1 + .../unConstrData-01.uplc.expected | 1 + .../unIData/unIData-01/unIData-01.uplc | 1 + .../unIData-01.uplc.budget.expected | 1 + .../unIData-01/unIData-01.uplc.expected | 1 + .../unListData-01/unListData-01.uplc | 1 + .../unListData-01.uplc.budget.expected | 1 + .../unListData-01/unListData-01.uplc.expected | 1 + .../unMapData/unMapData-01/unMapData-01.uplc | 1 + .../unMapData-01.uplc.budget.expected | 1 + .../unMapData-01/unMapData-01.uplc.expected | 1 + .../verifyEcdsaSecp256k1Signature/README.md | 64 +++++++++++++++++++ .../test-vector-01/test-vector-01.uplc | 16 +++++ .../test-vector-01.uplc.budget.expected | 2 + .../test-vector-01.uplc.expected | 1 + .../test-vector-02/test-vector-02.uplc | 16 +++++ .../test-vector-02.uplc.budget.expected | 2 + .../test-vector-02.uplc.expected | 1 + .../test-vector-03/test-vector-03.uplc | 17 +++++ .../test-vector-03.uplc.budget.expected | 2 + .../test-vector-03.uplc.expected | 1 + .../test-vector-04/test-vector-04.uplc | 16 +++++ .../test-vector-04.uplc.budget.expected | 2 + .../test-vector-04.uplc.expected | 1 + .../test-vector-05/test-vector-05.uplc | 16 +++++ .../test-vector-05.uplc.budget.expected | 2 + .../test-vector-05.uplc.expected | 1 + .../test-vector-06/test-vector-06.uplc | 16 +++++ .../test-vector-06.uplc.budget.expected | 2 + .../test-vector-06.uplc.expected | 1 + .../test-vector-07/test-vector-07.uplc | 16 +++++ .../test-vector-07.uplc.budget.expected | 2 + .../test-vector-07.uplc.expected | 1 + .../test-vector-08/test-vector-08.uplc | 16 +++++ .../test-vector-08.uplc.budget.expected | 2 + .../test-vector-08.uplc.expected | 1 + .../test-vector-09/test-vector-09.uplc | 16 +++++ .../test-vector-09.uplc.budget.expected | 2 + .../test-vector-09.uplc.expected | 1 + .../test-vector-10/test-vector-10.uplc | 16 +++++ .../test-vector-10.uplc.budget.expected | 2 + .../test-vector-10.uplc.expected | 1 + .../test-vector-11/test-vector-11.uplc | 16 +++++ .../test-vector-11.uplc.budget.expected | 2 + .../test-vector-11.uplc.expected | 1 + .../test-vector-12/test-vector-12.uplc | 16 +++++ .../test-vector-12.uplc.budget.expected | 2 + .../test-vector-12.uplc.expected | 1 + .../test-vector-13/test-vector-13.uplc | 16 +++++ .../test-vector-13.uplc.budget.expected | 2 + .../test-vector-13.uplc.expected | 1 + .../test-vector-14/test-vector-14.uplc | 16 +++++ .../test-vector-14.uplc.budget.expected | 2 + .../test-vector-14.uplc.expected | 1 + .../test-vector-15/test-vector-15.uplc | 16 +++++ .../test-vector-15.uplc.budget.expected | 2 + .../test-vector-15.uplc.expected | 1 + .../test-vector-16/test-vector-16.uplc | 16 +++++ .../test-vector-16.uplc.budget.expected | 1 + .../test-vector-16.uplc.expected | 1 + .../test-vector-17/test-vector-17.uplc | 17 +++++ .../test-vector-17.uplc.budget.expected | 1 + .../test-vector-17.uplc.expected | 1 + .../test-vector-18/test-vector-18.uplc | 17 +++++ .../test-vector-18.uplc.budget.expected | 1 + .../test-vector-18.uplc.expected | 1 + .../test-vector-01/test-vector-01.uplc | 4 ++ .../test-vector-01.uplc.budget.expected | 2 + .../test-vector-01.uplc.expected | 1 + .../test-vector-02/test-vector-02.uplc | 4 ++ .../test-vector-02.uplc.budget.expected | 2 + .../test-vector-02.uplc.expected | 1 + .../test-vector-03/test-vector-03.uplc | 5 ++ .../test-vector-03.uplc.budget.expected | 2 + .../test-vector-03.uplc.expected | 1 + .../test-vector-04/test-vector-04.uplc | 4 ++ .../test-vector-04.uplc.budget.expected | 2 + .../test-vector-04.uplc.expected | 1 + .../test-vector-05/test-vector-05.uplc | 4 ++ .../test-vector-05.uplc.budget.expected | 2 + .../test-vector-05.uplc.expected | 1 + .../test-vector-06/test-vector-06.uplc | 4 ++ .../test-vector-06.uplc.budget.expected | 2 + .../test-vector-06.uplc.expected | 1 + .../test-vector-07/test-vector-07.uplc | 4 ++ .../test-vector-07.uplc.budget.expected | 2 + .../test-vector-07.uplc.expected | 1 + .../test-vector-08/test-vector-08.uplc | 4 ++ .../test-vector-08.uplc.budget.expected | 2 + .../test-vector-08.uplc.expected | 1 + .../test-vector-09/test-vector-09.uplc | 4 ++ .../test-vector-09.uplc.budget.expected | 2 + .../test-vector-09.uplc.expected | 1 + .../test-vector-10/test-vector-10.uplc | 4 ++ .../test-vector-10.uplc.budget.expected | 2 + .../test-vector-10.uplc.expected | 1 + .../test-vector-11/test-vector-11.uplc | 4 ++ .../test-vector-11.uplc.budget.expected | 2 + .../test-vector-11.uplc.expected | 1 + .../test-vector-12/test-vector-12.uplc | 4 ++ .../test-vector-12.uplc.budget.expected | 2 + .../test-vector-12.uplc.expected | 1 + .../test-vector-13/test-vector-13.uplc | 4 ++ .../test-vector-13.uplc.budget.expected | 2 + .../test-vector-13.uplc.expected | 1 + .../test-vector-14/test-vector-14.uplc | 4 ++ .../test-vector-14.uplc.budget.expected | 2 + .../test-vector-14.uplc.expected | 1 + .../test-vector-15/test-vector-15.uplc | 4 ++ .../test-vector-15.uplc.budget.expected | 2 + .../test-vector-15.uplc.expected | 1 + .../test-vector-16/test-vector-16.uplc | 4 ++ .../test-vector-16.uplc.budget.expected | 2 + .../test-vector-16.uplc.expected | 1 + .../test-vector-17/test-vector-17.uplc | 4 ++ .../test-vector-17.uplc.budget.expected | 2 + .../test-vector-17.uplc.expected | 1 + .../test-vector-18/test-vector-18.uplc | 4 ++ .../test-vector-18.uplc.budget.expected | 2 + .../test-vector-18.uplc.expected | 1 + .../test-vector-19/test-vector-19.uplc | 4 ++ .../test-vector-19.uplc.budget.expected | 2 + .../test-vector-19.uplc.expected | 1 + .../test-vector-20/test-vector-20.uplc | 4 ++ .../test-vector-20.uplc.budget.expected | 2 + .../test-vector-20.uplc.expected | 1 + .../test-vector-21/test-vector-21.uplc | 4 ++ .../test-vector-21.uplc.budget.expected | 2 + .../test-vector-21.uplc.expected | 1 + .../test-vector-22/test-vector-22.uplc | 4 ++ .../test-vector-22.uplc.budget.expected | 2 + .../test-vector-22.uplc.expected | 1 + .../test-vector-23/test-vector-23.uplc | 4 ++ .../test-vector-23.uplc.budget.expected | 2 + .../test-vector-23.uplc.expected | 1 + .../test-vector-24/test-vector-24.uplc | 4 ++ .../test-vector-24.uplc.budget.expected | 2 + .../test-vector-24.uplc.expected | 1 + .../test-vector-25/test-vector-25.uplc | 4 ++ .../test-vector-25.uplc.budget.expected | 2 + .../test-vector-25.uplc.expected | 1 + .../test-vector-26/test-vector-26.uplc | 4 ++ .../test-vector-26.uplc.budget.expected | 2 + .../test-vector-26.uplc.expected | 1 + .../test-vector-27/test-vector-27.uplc | 4 ++ .../test-vector-27.uplc.budget.expected | 2 + .../test-vector-27.uplc.expected | 1 + .../test-vector-28/test-vector-28.uplc | 4 ++ .../test-vector-28.uplc.budget.expected | 2 + .../test-vector-28.uplc.expected | 1 + .../test-vector-29/test-vector-29.uplc | 4 ++ .../test-vector-29.uplc.budget.expected | 2 + .../test-vector-29.uplc.expected | 1 + .../test-vector-30/test-vector-30.uplc | 4 ++ .../test-vector-30.uplc.budget.expected | 2 + .../test-vector-30.uplc.expected | 1 + .../test-vector-31/test-vector-31.uplc | 4 ++ .../test-vector-31.uplc.budget.expected | 2 + .../test-vector-31.uplc.expected | 1 + .../semantics/writeBits/case-01/case-01.uplc | 4 ++ .../case-01/case-01.uplc.budget.expected | 1 + .../writeBits/case-01/case-01.uplc.expected | 1 + .../semantics/writeBits/case-02/case-02.uplc | 4 ++ .../case-02/case-02.uplc.budget.expected | 1 + .../writeBits/case-02/case-02.uplc.expected | 1 + .../semantics/writeBits/case-03/case-03.uplc | 4 ++ .../case-03/case-03.uplc.budget.expected | 1 + .../writeBits/case-03/case-03.uplc.expected | 1 + .../semantics/writeBits/case-04/case-04.uplc | 4 ++ .../case-04/case-04.uplc.budget.expected | 1 + .../writeBits/case-04/case-04.uplc.expected | 1 + .../semantics/writeBits/case-05/case-05.uplc | 4 ++ .../case-05/case-05.uplc.budget.expected | 1 + .../writeBits/case-05/case-05.uplc.expected | 1 + .../semantics/writeBits/case-06/case-06.uplc | 4 ++ .../case-06/case-06.uplc.budget.expected | 1 + .../writeBits/case-06/case-06.uplc.expected | 1 + .../semantics/writeBits/case-07/case-07.uplc | 4 ++ .../case-07/case-07.uplc.budget.expected | 1 + .../writeBits/case-07/case-07.uplc.expected | 1 + .../semantics/writeBits/case-08/case-08.uplc | 4 ++ .../case-08/case-08.uplc.budget.expected | 1 + .../writeBits/case-08/case-08.uplc.expected | 1 + .../semantics/writeBits/case-09/case-09.uplc | 4 ++ .../case-09/case-09.uplc.budget.expected | 1 + .../writeBits/case-09/case-09.uplc.expected | 1 + .../semantics/writeBits/case-10/case-10.uplc | 4 ++ .../case-10/case-10.uplc.budget.expected | 1 + .../writeBits/case-10/case-10.uplc.expected | 1 + .../semantics/writeBits/case-11/case-11.uplc | 4 ++ .../case-11/case-11.uplc.budget.expected | 2 + .../writeBits/case-11/case-11.uplc.expected | 1 + .../semantics/writeBits/case-12/case-12.uplc | 4 ++ .../case-12/case-12.uplc.budget.expected | 2 + .../writeBits/case-12/case-12.uplc.expected | 1 + .../semantics/writeBits/case-13/case-13.uplc | 4 ++ .../case-13/case-13.uplc.budget.expected | 2 + .../writeBits/case-13/case-13.uplc.expected | 1 + .../semantics/writeBits/case-14/case-14.uplc | 4 ++ .../case-14/case-14.uplc.budget.expected | 2 + .../writeBits/case-14/case-14.uplc.expected | 1 + .../semantics/writeBits/case-15/case-15.uplc | 4 ++ .../case-15/case-15.uplc.budget.expected | 2 + .../writeBits/case-15/case-15.uplc.expected | 1 + .../semantics/writeBits/case-16/case-16.uplc | 4 ++ .../case-16/case-16.uplc.budget.expected | 2 + .../writeBits/case-16/case-16.uplc.expected | 1 + .../semantics/writeBits/case-17/case-17.uplc | 4 ++ .../case-17/case-17.uplc.budget.expected | 2 + .../writeBits/case-17/case-17.uplc.expected | 1 + .../semantics/writeBits/case-18/case-18.uplc | 4 ++ .../case-18/case-18.uplc.budget.expected | 2 + .../writeBits/case-18/case-18.uplc.expected | 1 + .../semantics/writeBits/case-19/case-19.uplc | 4 ++ .../case-19/case-19.uplc.budget.expected | 1 + .../writeBits/case-19/case-19.uplc.expected | 1 + .../semantics/writeBits/case-20/case-20.uplc | 4 ++ .../case-20/case-20.uplc.budget.expected | 2 + .../writeBits/case-20/case-20.uplc.expected | 1 + .../semantics/writeBits/case-21/case-21.uplc | 4 ++ .../case-21/case-21.uplc.budget.expected | 2 + .../writeBits/case-21/case-21.uplc.expected | 1 + .../semantics/writeBits/case-22/case-22.uplc | 4 ++ .../case-22/case-22.uplc.budget.expected | 2 + .../writeBits/case-22/case-22.uplc.expected | 1 + .../semantics/writeBits/case-23/case-23.uplc | 4 ++ .../case-23/case-23.uplc.budget.expected | 2 + .../writeBits/case-23/case-23.uplc.expected | 1 + .../semantics/writeBits/case-24/case-24.uplc | 4 ++ .../case-24/case-24.uplc.budget.expected | 2 + .../writeBits/case-24/case-24.uplc.expected | 1 + .../semantics/writeBits/case-25/case-25.uplc | 4 ++ .../case-25/case-25.uplc.budget.expected | 2 + .../writeBits/case-25/case-25.uplc.expected | 1 + .../semantics/writeBits/case-26/case-26.uplc | 4 ++ .../case-26/case-26.uplc.budget.expected | 2 + .../writeBits/case-26/case-26.uplc.expected | 1 + .../semantics/writeBits/case-27/case-27.uplc | 4 ++ .../case-27/case-27.uplc.budget.expected | 2 + .../writeBits/case-27/case-27.uplc.expected | 1 + .../semantics/writeBits/case-28/case-28.uplc | 4 ++ .../case-28/case-28.uplc.budget.expected | 1 + .../writeBits/case-28/case-28.uplc.expected | 1 + .../semantics/writeBits/case-29/case-29.uplc | 4 ++ .../case-29/case-29.uplc.budget.expected | 2 + .../writeBits/case-29/case-29.uplc.expected | 1 + .../semantics/writeBits/case-30/case-30.uplc | 4 ++ .../case-30/case-30.uplc.budget.expected | 2 + .../writeBits/case-30/case-30.uplc.expected | 1 + .../semantics/writeBits/case-31/case-31.uplc | 4 ++ .../case-31/case-31.uplc.budget.expected | 2 + .../writeBits/case-31/case-31.uplc.expected | 1 + .../semantics/writeBits/case-32/case-32.uplc | 4 ++ .../case-32/case-32.uplc.budget.expected | 2 + .../writeBits/case-32/case-32.uplc.expected | 1 + .../semantics/writeBits/case-33/case-33.uplc | 4 ++ .../case-33/case-33.uplc.budget.expected | 2 + .../writeBits/case-33/case-33.uplc.expected | 1 + .../semantics/writeBits/case-34/case-34.uplc | 19 ++++++ .../case-34/case-34.uplc.budget.expected | 2 + .../writeBits/case-34/case-34.uplc.expected | 1 + .../semantics/writeBits/case-35/case-35.uplc | 19 ++++++ .../case-35/case-35.uplc.budget.expected | 2 + .../writeBits/case-35/case-35.uplc.expected | 1 + .../semantics/writeBits/case-36/case-36.uplc | 4 ++ .../case-36/case-36.uplc.budget.expected | 2 + .../writeBits/case-36/case-36.uplc.expected | 1 + .../semantics/writeBits/case-37/case-37.uplc | 4 ++ .../case-37/case-37.uplc.budget.expected | 2 + .../writeBits/case-37/case-37.uplc.expected | 1 + .../semantics/writeBits/case-38/case-38.uplc | 12 ++++ .../case-38/case-38.uplc.budget.expected | 2 + .../writeBits/case-38/case-38.uplc.expected | 7 ++ .../semantics/writeBits/case-39/case-39.uplc | 20 ++++++ .../case-39/case-39.uplc.budget.expected | 2 + .../writeBits/case-39/case-39.uplc.expected | 7 ++ .../semantics/writeBits/case-40/case-40.uplc | 12 ++++ .../case-40/case-40.uplc.budget.expected | 2 + .../writeBits/case-40/case-40.uplc.expected | 7 ++ .../xorByteString/case-01/case-01.uplc | 4 ++ .../case-01/case-01.uplc.budget.expected | 2 + .../case-01/case-01.uplc.expected | 1 + .../xorByteString/case-02/case-02.uplc | 4 ++ .../case-02/case-02.uplc.budget.expected | 2 + .../case-02/case-02.uplc.expected | 1 + .../xorByteString/case-03/case-03.uplc | 4 ++ .../case-03/case-03.uplc.budget.expected | 2 + .../case-03/case-03.uplc.expected | 1 + .../xorByteString/case-04/case-04.uplc | 4 ++ .../case-04/case-04.uplc.budget.expected | 2 + .../case-04/case-04.uplc.expected | 1 + .../xorByteString/case-05/case-05.uplc | 4 ++ .../case-05/case-05.uplc.budget.expected | 2 + .../case-05/case-05.uplc.expected | 1 + .../xorByteString/case-06/case-06.uplc | 4 ++ .../case-06/case-06.uplc.budget.expected | 2 + .../case-06/case-06.uplc.expected | 1 + .../xorByteString/case-07/case-07.uplc | 4 ++ .../case-07/case-07.uplc.budget.expected | 2 + .../case-07/case-07.uplc.expected | 1 + .../xorByteString/case-08/case-08.uplc | 4 ++ .../case-08/case-08.uplc.budget.expected | 2 + .../case-08/case-08.uplc.expected | 1 + .../xorByteString/case-09/case-09.uplc | 4 ++ .../case-09/case-09.uplc.budget.expected | 2 + .../case-09/case-09.uplc.expected | 1 + .../xorByteString/case-10/case-10.uplc | 4 ++ .../case-10/case-10.uplc.budget.expected | 2 + .../case-10/case-10.uplc.expected | 1 + .../xorByteString/case-11/case-11.uplc | 12 ++++ .../case-11/case-11.uplc.budget.expected | 2 + .../case-11/case-11.uplc.expected | 7 ++ .../xorByteString/case-12/case-12.uplc | 12 ++++ .../case-12/case-12.uplc.budget.expected | 2 + .../case-12/case-12.uplc.expected | 7 ++ .../xorByteString/case-13/case-13.uplc | 12 ++++ .../case-13/case-13.uplc.budget.expected | 2 + .../case-13/case-13.uplc.expected | 7 ++ .../xorByteString/case-14/case-14.uplc | 12 ++++ .../case-14/case-14.uplc.budget.expected | 2 + .../case-14/case-14.uplc.expected | 7 ++ 961 files changed, 2694 insertions(+) create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-01/bad-syntax-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-01/bad-syntax-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-01/bad-syntax-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-02/bad-syntax-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-02/bad-syntax-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-02/bad-syntax-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-01/bad-zero-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-01/bad-zero-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-01/bad-zero-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-02/bad-zero-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-02/bad-zero-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-02/bad-zero-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-03/bad-zero-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-03/bad-zero-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-03/bad-zero-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-01/bad-syntax-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-01/bad-syntax-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-01/bad-syntax-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-02/bad-syntax-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-02/bad-syntax-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-02/bad-syntax-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-01/bad-zero-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-01/bad-zero-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-01/bad-zero-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-02/bad-zero-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-02/bad-zero-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-02/bad-zero-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-03/bad-zero-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-03/bad-zero-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-03/bad-zero-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-01/bytestring-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-01/bytestring-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-01/bytestring-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-02/bytestring-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-02/bytestring-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-02/bytestring-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-03/bytestring-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-03/bytestring-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-03/bytestring-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-04/bytestring-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-04/bytestring-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-04/bytestring-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-01/integer-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-01/integer-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-01/integer-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-02/integer-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-02/integer-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-02/integer-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-03/integer-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-03/integer-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-03/integer-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-04/integer-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-04/integer-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-04/integer-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-05/integer-05.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-05/integer-05.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-05/integer-05.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-06/integer-06.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-06/integer-06.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-06/integer-06.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-07/integer-07.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-07/integer-07.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-07/integer-07.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-08/integer-08.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-08/integer-08.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-08/integer-08.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-09/integer-09.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-09/integer-09.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-09/integer-09.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-01/illTypedList-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-01/illTypedList-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-01/illTypedList-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-02/illTypedList-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-02/illTypedList-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-02/illTypedList-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-01/illTypedPair-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-01/illTypedPair-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-01/illTypedPair-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-02/illTypedPair-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-02/illTypedPair-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-02/illTypedPair-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-01/case-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-01/case-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-01/case-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-02/case-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-02/case-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-02/case-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-03/case-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-03/case-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-03/case-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-04/case-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-04/case-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-04/case-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-05/case-05.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-05/case-05.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-05/case-05.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-06/case-06.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-06/case-06.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-06/case-06.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-07/case-07.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-07/case-07.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-07/case-07.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-08/case-08.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-08/case-08.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-08/case-08.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-09/case-09.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-09/case-09.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-09/case-09.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-10/case-10.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-10/case-10.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-10/case-10.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-11/case-11.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-11/case-11.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-11/case-11.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-12/case-12.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-12/case-12.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-12/case-12.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-13/case-13.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-13/case-13.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-13/case-13.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-14/case-14.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-14/case-14.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-14/case-14.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-01/chooseList-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-01/chooseList-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-01/chooseList-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-02/chooseList-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-02/chooseList-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-02/chooseList-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-03/chooseList-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-03/chooseList-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-03/chooseList-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-04/chooseList-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-04/chooseList-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-04/chooseList-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-01/chooseUnit-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-01/chooseUnit-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-01/chooseUnit-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-02/chooseUnit-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-02/chooseUnit-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-02/chooseUnit-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-01/case-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-01/case-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-01/case-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-02/case-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-02/case-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-02/case-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-03/case-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-03/case-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-03/case-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-04/case-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-04/case-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-04/case-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-05/case-05.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-05/case-05.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-05/case-05.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-01/consByteString-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-01/consByteString-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-01/consByteString-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-02/consByteString-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-02/consByteString-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-02/consByteString-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-03/consByteString-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-03/consByteString-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-03/consByteString-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-01/case-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-01/case-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-01/case-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-02/case-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-02/case-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-02/case-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-03/case-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-03/case-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-03/case-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-04/case-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-04/case-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-04/case-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-05/case-05.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-05/case-05.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-05/case-05.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-06/case-06.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-06/case-06.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-06/case-06.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-07/case-07.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-07/case-07.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-07/case-07.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-08/case-08.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-08/case-08.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-08/case-08.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/divideInteger/divideInteger-01/divideInteger-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/divideInteger/divideInteger-01/divideInteger-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/divideInteger/divideInteger-01/divideInteger-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-01/equalsByteString-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-01/equalsByteString-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-01/equalsByteString-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-02/equalsByteString-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-02/equalsByteString-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-02/equalsByteString-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-01/equalsInteger-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-01/equalsInteger-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-01/equalsInteger-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-02/equalsInteger-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-02/equalsInteger-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-02/equalsInteger-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-03/equalsInteger-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-03/equalsInteger-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-03/equalsInteger-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-01/equalsString-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-01/equalsString-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-01/equalsString-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-02/equalsString-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-02/equalsString-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-02/equalsString-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-01/case-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-01/case-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-01/case-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-02/case-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-02/case-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-02/case-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-03/case-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-03/case-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-03/case-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-04/case-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-04/case-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-04/case-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-05/case-05.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-05/case-05.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-05/case-05.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-06/case-06.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-06/case-06.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-06/case-06.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-07/case-07.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-07/case-07.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-07/case-07.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-01/headList-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-01/headList-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-01/headList-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-02/headList-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-02/headList-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-02/headList-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-03/headList-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-03/headList-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-03/headList-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-01/ifThenElse-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-01/ifThenElse-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-01/ifThenElse-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-02/ifThenElse-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-02/ifThenElse-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-02/ifThenElse-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-03/ifThenElse-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-03/ifThenElse-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-03/ifThenElse-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-04/ifThenElse-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-04/ifThenElse-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-04/ifThenElse-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-01/ifThenElse-bad-cond-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-01/ifThenElse-bad-cond-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-01/ifThenElse-bad-cond-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-02/ifThenElse-bad-cond-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-02/ifThenElse-bad-cond-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-02/ifThenElse-bad-cond-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/indexByteString/indexByteString-01/indexByteString-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/indexByteString/indexByteString-01/indexByteString-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/indexByteString/indexByteString-01/indexByteString-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-00/lessThanByteString-00.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-00/lessThanByteString-00.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-00/lessThanByteString-00.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-01/lessThanByteString-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-01/lessThanByteString-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-01/lessThanByteString-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-02/lessThanByteString-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-02/lessThanByteString-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-02/lessThanByteString-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-03/lessThanByteString-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-03/lessThanByteString-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-03/lessThanByteString-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-04/lessThanByteString-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-04/lessThanByteString-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-04/lessThanByteString-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-05/lessThanByteString-05.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-05/lessThanByteString-05.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-05/lessThanByteString-05.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-00/lessThanEqualsByteString-00.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-00/lessThanEqualsByteString-00.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-00/lessThanEqualsByteString-00.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-01/lessThanEqualsByteString-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-01/lessThanEqualsByteString-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-01/lessThanEqualsByteString-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-02/lessThanEqualsByteString-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-02/lessThanEqualsByteString-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-02/lessThanEqualsByteString-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-03/lessThanEqualsByteString-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-03/lessThanEqualsByteString-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-03/lessThanEqualsByteString-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-01/lessThanEqualsInteger-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-01/lessThanEqualsInteger-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-01/lessThanEqualsInteger-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-02/lessThanEqualsInteger-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-02/lessThanEqualsInteger-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-02/lessThanEqualsInteger-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-03/lessThanEqualsInteger-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-03/lessThanEqualsInteger-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-03/lessThanEqualsInteger-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-04/lessThanEqualsInteger-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-04/lessThanEqualsInteger-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-04/lessThanEqualsInteger-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-05/lessThanEqualsInteger-05.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-05/lessThanEqualsInteger-05.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-05/lessThanEqualsInteger-05.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-01/lessThanInteger-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-01/lessThanInteger-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-01/lessThanInteger-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-02/lessThanInteger-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-02/lessThanInteger-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-02/lessThanInteger-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-03/lessThanInteger-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-03/lessThanInteger-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-03/lessThanInteger-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-04/lessThanInteger-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-04/lessThanInteger-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-04/lessThanInteger-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-05/lessThanInteger-05.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-05/lessThanInteger-05.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-05/lessThanInteger-05.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-01/mkCons-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-01/mkCons-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-01/mkCons-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-02/mkCons-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-02/mkCons-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-02/mkCons-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/modInteger/modInteger-01/modInteger-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/modInteger/modInteger-01/modInteger-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/modInteger/modInteger-01/modInteger-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-01/multiplyInteger-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-01/multiplyInteger-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-01/multiplyInteger-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-02/multiplyInteger-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-02/multiplyInteger-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-02/multiplyInteger-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-03/multiplyInteger-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-03/multiplyInteger-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-03/multiplyInteger-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-04/multiplyInteger-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-04/multiplyInteger-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-04/multiplyInteger-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-05/multiplyInteger-05.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-05/multiplyInteger-05.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-05/multiplyInteger-05.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-06/multiplyInteger-06.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-06/multiplyInteger-06.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-06/multiplyInteger-06.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-01/nullList-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-01/nullList-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-01/nullList-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-02/nullList-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-02/nullList-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-02/nullList-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-01/case-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-01/case-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-01/case-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-02/case-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-02/case-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-02/case-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-03/case-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-03/case-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-03/case-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-04/case-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-04/case-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-04/case-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-05/case-05.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-05/case-05.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-05/case-05.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-06/case-06.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-06/case-06.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-06/case-06.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-07/case-07.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-07/case-07.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-07/case-07.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-08/case-08.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-08/case-08.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-08/case-08.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-09/case-09.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-09/case-09.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-09/case-09.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-10/case-10.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-10/case-10.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-10/case-10.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-11/case-11.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-11/case-11.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-11/case-11.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-12/case-12.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-12/case-12.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-12/case-12.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-13/case-13.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-13/case-13.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-13/case-13.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-14/case-14.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-14/case-14.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-14/case-14.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/quotientInteger/quotientInteger-01/quotientInteger-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/quotientInteger/quotientInteger-01/quotientInteger-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/quotientInteger/quotientInteger-01/quotientInteger-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-01/case-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-01/case-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-01/case-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-02/case-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-02/case-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-02/case-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-03/case-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-03/case-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-03/case-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-04/case-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-04/case-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-04/case-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-05/case-05.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-05/case-05.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-05/case-05.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-06/case-06.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-06/case-06.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-06/case-06.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-07/case-07.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-07/case-07.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-07/case-07.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-08/case-08.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-08/case-08.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-08/case-08.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-09/case-09.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-09/case-09.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-09/case-09.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-10/case-10.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-10/case-10.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-10/case-10.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-11/case-11.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-11/case-11.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-11/case-11.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-12/case-12.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-12/case-12.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-12/case-12.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-13/case-13.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-13/case-13.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-13/case-13.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-14/case-14.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-14/case-14.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-14/case-14.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-15/case-15.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-15/case-15.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-15/case-15.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-16/case-16.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-16/case-16.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-16/case-16.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-17/case-17.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-17/case-17.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-17/case-17.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-18/case-18.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-18/case-18.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-18/case-18.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-19/case-19.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-19/case-19.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-19/case-19.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-20/case-20.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-20/case-20.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-20/case-20.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-21/case-21.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-21/case-21.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-21/case-21.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-22/case-22.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-22/case-22.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-22/case-22.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/remainderInteger/remainderInteger-01/remainderInteger-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/remainderInteger/remainderInteger-01/remainderInteger-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/remainderInteger/remainderInteger-01/remainderInteger-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-01/case-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-01/case-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-01/case-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-02/case-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-02/case-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-02/case-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-03/case-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-03/case-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-03/case-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-04/case-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-04/case-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-04/case-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-05/case-05.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-05/case-05.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-05/case-05.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-06/case-06.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-06/case-06.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-06/case-06.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-07/case-07.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-07/case-07.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-07/case-07.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-08/case-08.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-08/case-08.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-08/case-08.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-09/case-09.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-09/case-09.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-09/case-09.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-10/case-10.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-10/case-10.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-10/case-10.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-empty/ripemd_160-empty.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-empty/ripemd_160-empty.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-empty/ripemd_160-empty.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-length-200/ripemd_160-length-200.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-length-200/ripemd_160-length-200.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-length-200/ripemd_160-length-200.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-01/case-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-01/case-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-01/case-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-02/case-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-02/case-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-02/case-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-03/case-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-03/case-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-03/case-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-04/case-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-04/case-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-04/case-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-05/case-05.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-05/case-05.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-05/case-05.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-06/case-06.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-06/case-06.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-06/case-06.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-07/case-07.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-07/case-07.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-07/case-07.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-08/case-08.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-08/case-08.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-08/case-08.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-09/case-09.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-09/case-09.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-09/case-09.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-10/case-10.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-10/case-10.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-10/case-10.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-11/case-11.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-11/case-11.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-11/case-11.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-12/case-12.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-12/case-12.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-12/case-12.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-13/case-13.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-13/case-13.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-13/case-13.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-14/case-14.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-14/case-14.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-14/case-14.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-15/case-15.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-15/case-15.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-15/case-15.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-16/case-16.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-16/case-16.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-16/case-16.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-17/case-17.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-17/case-17.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-17/case-17.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-18/case-18.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-18/case-18.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-18/case-18.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-01/case-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-01/case-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-01/case-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-02/case-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-02/case-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-02/case-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-03/case-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-03/case-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-03/case-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-04/case-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-04/case-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-04/case-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-05/case-05.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-05/case-05.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-05/case-05.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-06/case-06.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-06/case-06.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-06/case-06.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-07/case-07.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-07/case-07.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-07/case-07.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-08/case-08.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-08/case-08.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-08/case-08.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-09/case-09.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-09/case-09.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-09/case-09.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-10/case-10.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-10/case-10.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-10/case-10.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-11/case-11.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-11/case-11.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-11/case-11.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-12/case-12.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-12/case-12.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-12/case-12.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-13/case-13.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-13/case-13.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-13/case-13.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-14/case-14.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-14/case-14.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-14/case-14.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-15/case-15.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-15/case-15.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-15/case-15.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-01/sliceByteString-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-01/sliceByteString-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-01/sliceByteString-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-02/sliceByteString-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-02/sliceByteString-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-02/sliceByteString-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-03/sliceByteString-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-03/sliceByteString-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-03/sliceByteString-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-04/sliceByteString-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-04/sliceByteString-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-04/sliceByteString-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-05/sliceByteString-05.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-05/sliceByteString-05.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-05/sliceByteString-05.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-01/subtractInteger-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-01/subtractInteger-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-01/subtractInteger-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-02/subtractInteger-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-02/subtractInteger-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-02/subtractInteger-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-03/subtractInteger-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-03/subtractInteger-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-03/subtractInteger-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-04/subtractInteger-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-04/subtractInteger-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-04/subtractInteger-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/tailList/tailList-01/tailList-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/tailList/tailList-01/tailList-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/tailList/tailList-01/tailList-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/unBData/unBData-01/unBData-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/unBData/unBData-01/unBData-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/unBData/unBData-01/unBData-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/unConstrData/unConstrData-01/unConstrData-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/unConstrData/unConstrData-01/unConstrData-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/unConstrData/unConstrData-01/unConstrData-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/unIData/unIData-01/unIData-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/unIData/unIData-01/unIData-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/unIData/unIData-01/unIData-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/unListData/unListData-01/unListData-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/unListData/unListData-01/unListData-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/unListData/unListData-01/unListData-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/unMapData/unMapData-01/unMapData-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/unMapData/unMapData-01/unMapData-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/unMapData/unMapData-01/unMapData-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/README.md create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-01/test-vector-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-01/test-vector-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-01/test-vector-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-02/test-vector-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-02/test-vector-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-02/test-vector-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-03/test-vector-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-03/test-vector-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-03/test-vector-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-04/test-vector-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-04/test-vector-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-04/test-vector-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-05/test-vector-05.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-05/test-vector-05.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-05/test-vector-05.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-06/test-vector-06.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-06/test-vector-06.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-06/test-vector-06.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-07/test-vector-07.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-07/test-vector-07.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-07/test-vector-07.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-08/test-vector-08.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-08/test-vector-08.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-08/test-vector-08.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-09/test-vector-09.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-09/test-vector-09.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-09/test-vector-09.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-10/test-vector-10.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-10/test-vector-10.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-10/test-vector-10.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-11/test-vector-11.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-11/test-vector-11.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-11/test-vector-11.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-12/test-vector-12.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-12/test-vector-12.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-12/test-vector-12.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-13/test-vector-13.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-13/test-vector-13.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-13/test-vector-13.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-14/test-vector-14.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-14/test-vector-14.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-14/test-vector-14.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-15/test-vector-15.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-15/test-vector-15.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-15/test-vector-15.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-16/test-vector-16.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-16/test-vector-16.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-16/test-vector-16.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-17/test-vector-17.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-17/test-vector-17.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-17/test-vector-17.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-18/test-vector-18.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-18/test-vector-18.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-18/test-vector-18.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-01/test-vector-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-01/test-vector-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-01/test-vector-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-02/test-vector-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-02/test-vector-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-02/test-vector-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-03/test-vector-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-03/test-vector-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-03/test-vector-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-04/test-vector-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-04/test-vector-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-04/test-vector-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-05/test-vector-05.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-05/test-vector-05.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-05/test-vector-05.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-06/test-vector-06.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-06/test-vector-06.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-06/test-vector-06.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-07/test-vector-07.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-07/test-vector-07.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-07/test-vector-07.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-08/test-vector-08.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-08/test-vector-08.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-08/test-vector-08.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-09/test-vector-09.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-09/test-vector-09.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-09/test-vector-09.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-10/test-vector-10.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-10/test-vector-10.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-10/test-vector-10.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-11/test-vector-11.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-11/test-vector-11.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-11/test-vector-11.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-12/test-vector-12.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-12/test-vector-12.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-12/test-vector-12.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-13/test-vector-13.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-13/test-vector-13.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-13/test-vector-13.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-14/test-vector-14.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-14/test-vector-14.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-14/test-vector-14.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-15/test-vector-15.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-15/test-vector-15.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-15/test-vector-15.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-16/test-vector-16.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-16/test-vector-16.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-16/test-vector-16.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-17/test-vector-17.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-17/test-vector-17.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-17/test-vector-17.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-18/test-vector-18.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-18/test-vector-18.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-18/test-vector-18.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-19/test-vector-19.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-19/test-vector-19.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-19/test-vector-19.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-20/test-vector-20.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-20/test-vector-20.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-20/test-vector-20.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-21/test-vector-21.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-21/test-vector-21.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-21/test-vector-21.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-22/test-vector-22.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-22/test-vector-22.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-22/test-vector-22.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-23/test-vector-23.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-23/test-vector-23.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-23/test-vector-23.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-24/test-vector-24.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-24/test-vector-24.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-24/test-vector-24.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-25/test-vector-25.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-25/test-vector-25.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-25/test-vector-25.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-26/test-vector-26.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-26/test-vector-26.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-26/test-vector-26.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-27/test-vector-27.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-27/test-vector-27.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-27/test-vector-27.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-28/test-vector-28.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-28/test-vector-28.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-28/test-vector-28.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-29/test-vector-29.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-29/test-vector-29.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-29/test-vector-29.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-30/test-vector-30.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-30/test-vector-30.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-30/test-vector-30.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-31/test-vector-31.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-31/test-vector-31.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-31/test-vector-31.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-01/case-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-01/case-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-01/case-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-02/case-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-02/case-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-02/case-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-03/case-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-03/case-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-03/case-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-04/case-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-04/case-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-04/case-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-05/case-05.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-05/case-05.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-05/case-05.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-06/case-06.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-06/case-06.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-06/case-06.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-07/case-07.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-07/case-07.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-07/case-07.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-08/case-08.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-08/case-08.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-08/case-08.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-09/case-09.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-09/case-09.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-09/case-09.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-10/case-10.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-10/case-10.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-10/case-10.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-11/case-11.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-11/case-11.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-11/case-11.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-12/case-12.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-12/case-12.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-12/case-12.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-13/case-13.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-13/case-13.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-13/case-13.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-14/case-14.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-14/case-14.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-14/case-14.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-15/case-15.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-15/case-15.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-15/case-15.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-16/case-16.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-16/case-16.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-16/case-16.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-17/case-17.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-17/case-17.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-17/case-17.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-18/case-18.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-18/case-18.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-18/case-18.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-19/case-19.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-19/case-19.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-19/case-19.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-20/case-20.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-20/case-20.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-20/case-20.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-21/case-21.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-21/case-21.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-21/case-21.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-22/case-22.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-22/case-22.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-22/case-22.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-23/case-23.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-23/case-23.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-23/case-23.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-24/case-24.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-24/case-24.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-24/case-24.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-25/case-25.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-25/case-25.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-25/case-25.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-26/case-26.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-26/case-26.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-26/case-26.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-27/case-27.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-27/case-27.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-27/case-27.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-28/case-28.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-28/case-28.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-28/case-28.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-29/case-29.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-29/case-29.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-29/case-29.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-30/case-30.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-30/case-30.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-30/case-30.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-31/case-31.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-31/case-31.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-31/case-31.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-32/case-32.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-32/case-32.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-32/case-32.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-33/case-33.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-33/case-33.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-33/case-33.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-34/case-34.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-34/case-34.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-34/case-34.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-35/case-35.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-35/case-35.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-35/case-35.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-36/case-36.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-36/case-36.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-36/case-36.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-37/case-37.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-37/case-37.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-37/case-37.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-38/case-38.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-38/case-38.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-38/case-38.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-39/case-39.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-39/case-39.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-39/case-39.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-40/case-40.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-40/case-40.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-40/case-40.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-01/case-01.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-01/case-01.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-01/case-01.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-02/case-02.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-02/case-02.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-02/case-02.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-03/case-03.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-03/case-03.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-03/case-03.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-04/case-04.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-04/case-04.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-04/case-04.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-05/case-05.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-05/case-05.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-05/case-05.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-06/case-06.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-06/case-06.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-06/case-06.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-07/case-07.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-07/case-07.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-07/case-07.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-08/case-08.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-08/case-08.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-08/case-08.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-09/case-09.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-09/case-09.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-09/case-09.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-10/case-10.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-10/case-10.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-10/case-10.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-11/case-11.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-11/case-11.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-11/case-11.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-12/case-12.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-12/case-12.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-12/case-12.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-13/case-13.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-13/case-13.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-13/case-13.uplc.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-14/case-14.uplc create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-14/case-14.uplc.budget.expected create mode 100644 crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-14/case-14.uplc.expected diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-01/bad-syntax-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-01/bad-syntax-01.uplc new file mode 100644 index 000000000..0ed6ae362 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-01/bad-syntax-01.uplc @@ -0,0 +1,4 @@ +-- Missing the 0x prefix. +(program 0.0.0 +(con bls12_381_G1_element c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-01/bad-syntax-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-01/bad-syntax-01.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-01/bad-syntax-01.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-01/bad-syntax-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-01/bad-syntax-01.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-01/bad-syntax-01.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-02/bad-syntax-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-02/bad-syntax-02.uplc new file mode 100644 index 000000000..8f7805717 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-02/bad-syntax-02.uplc @@ -0,0 +1,4 @@ +-- This has # instead of 0x. +(program 0.0.0 +(con bls12_381_G1_element #c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-02/bad-syntax-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-02/bad-syntax-02.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-02/bad-syntax-02.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-02/bad-syntax-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-02/bad-syntax-02.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-syntax-02/bad-syntax-02.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-01/bad-zero-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-01/bad-zero-01.uplc new file mode 100644 index 000000000..0bd57991a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-01/bad-zero-01.uplc @@ -0,0 +1,4 @@ +-- A bad encoding: this has the negative bit set, but nothing else. +(program 0.0.0 +(con bls12_381_G1_element 0x400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-01/bad-zero-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-01/bad-zero-01.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-01/bad-zero-01.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-01/bad-zero-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-01/bad-zero-01.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-01/bad-zero-01.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-02/bad-zero-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-02/bad-zero-02.uplc new file mode 100644 index 000000000..7809efb25 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-02/bad-zero-02.uplc @@ -0,0 +1,4 @@ +-- Almost a correct representation of the zero point, but with the negation bit set. +(program 0.0.0 +(con bls12_381_G1_element 0xe00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-02/bad-zero-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-02/bad-zero-02.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-02/bad-zero-02.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-02/bad-zero-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-02/bad-zero-02.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-02/bad-zero-02.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-03/bad-zero-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-03/bad-zero-03.uplc new file mode 100644 index 000000000..b68f07f03 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-03/bad-zero-03.uplc @@ -0,0 +1,4 @@ +-- The zero point, but with a random bit set in the body (should all be 0) +(program 0.0.0 +(con bls12_381_G1_element 0xc00000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-03/bad-zero-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-03/bad-zero-03.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-03/bad-zero-03.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-03/bad-zero-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-03/bad-zero-03.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G1/bad-zero-03/bad-zero-03.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-01/bad-syntax-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-01/bad-syntax-01.uplc new file mode 100644 index 000000000..22406d89f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-01/bad-syntax-01.uplc @@ -0,0 +1,4 @@ +-- Missing the 0x prefix. +(program 0.0.0 +(con bls12_381_G2_element c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-01/bad-syntax-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-01/bad-syntax-01.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-01/bad-syntax-01.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-01/bad-syntax-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-01/bad-syntax-01.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-01/bad-syntax-01.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-02/bad-syntax-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-02/bad-syntax-02.uplc new file mode 100644 index 000000000..8f95d3ee7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-02/bad-syntax-02.uplc @@ -0,0 +1,4 @@ +-- This has # instead of 0x. +(program 0.0.0 +(con bls12_381_G2_element #c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-02/bad-syntax-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-02/bad-syntax-02.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-02/bad-syntax-02.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-02/bad-syntax-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-02/bad-syntax-02.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-syntax-02/bad-syntax-02.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-01/bad-zero-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-01/bad-zero-01.uplc new file mode 100644 index 000000000..220457d62 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-01/bad-zero-01.uplc @@ -0,0 +1,4 @@ +-- A bad encoding: this has the negative bit set, but nothing else. +(program 0.0.0 +(con bls12_381_G2_element 0x400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-01/bad-zero-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-01/bad-zero-01.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-01/bad-zero-01.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-01/bad-zero-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-01/bad-zero-01.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-01/bad-zero-01.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-02/bad-zero-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-02/bad-zero-02.uplc new file mode 100644 index 000000000..c8907a228 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-02/bad-zero-02.uplc @@ -0,0 +1,4 @@ +-- Almost a correct represntation of the zero point, but with the negation bit set. +(program 0.0.0 +(con bls12_381_G2_element 0xe00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-02/bad-zero-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-02/bad-zero-02.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-02/bad-zero-02.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-02/bad-zero-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-02/bad-zero-02.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-02/bad-zero-02.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-03/bad-zero-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-03/bad-zero-03.uplc new file mode 100644 index 000000000..abf4ad4c8 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-03/bad-zero-03.uplc @@ -0,0 +1,4 @@ +-- The zero point, but with a random bit set in the body (should all be 0) +(program 0.0.0 +(con bls12_381_G2_element 0xc0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-03/bad-zero-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-03/bad-zero-03.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-03/bad-zero-03.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-03/bad-zero-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-03/bad-zero-03.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bls12-381/G2/bad-zero-03/bad-zero-03.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-01/bytestring-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-01/bytestring-01.uplc new file mode 100644 index 000000000..74bc6cfae --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-01/bytestring-01.uplc @@ -0,0 +1 @@ +(program 0.0.0 (con bytestring #00ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-01/bytestring-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-01/bytestring-01.uplc.budget.expected new file mode 100644 index 000000000..d9531fb66 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-01/bytestring-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 16100 +| mem: 200}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-01/bytestring-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-01/bytestring-01.uplc.expected new file mode 100644 index 000000000..74bc6cfae --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-01/bytestring-01.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bytestring #00ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-02/bytestring-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-02/bytestring-02.uplc new file mode 100644 index 000000000..f019b38db --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-02/bytestring-02.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + (con bytestring #54686543616B654973414C6965) +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-02/bytestring-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-02/bytestring-02.uplc.budget.expected new file mode 100644 index 000000000..d9531fb66 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-02/bytestring-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 16100 +| mem: 200}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-02/bytestring-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-02/bytestring-02.uplc.expected new file mode 100644 index 000000000..19506cb92 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-02/bytestring-02.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #54686543616B654973414C6965)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-03/bytestring-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-03/bytestring-03.uplc new file mode 100644 index 000000000..8ecab7fdb --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-03/bytestring-03.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + (con bytestring #) +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-03/bytestring-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-03/bytestring-03.uplc.budget.expected new file mode 100644 index 000000000..d9531fb66 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-03/bytestring-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 16100 +| mem: 200}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-03/bytestring-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-03/bytestring-03.uplc.expected new file mode 100644 index 000000000..5dbd40474 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-03/bytestring-03.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-04/bytestring-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-04/bytestring-04.uplc new file mode 100644 index 000000000..8644dc3cb --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-04/bytestring-04.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + (con bytestring #12345) +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-04/bytestring-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-04/bytestring-04.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-04/bytestring-04.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-04/bytestring-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-04/bytestring-04.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/bytestring/bytestring-04/bytestring-04.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-01/integer-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-01/integer-01.uplc new file mode 100644 index 000000000..e06cd1136 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-01/integer-01.uplc @@ -0,0 +1 @@ +(program 0.0.0 (con integer 0)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-01/integer-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-01/integer-01.uplc.budget.expected new file mode 100644 index 000000000..d9531fb66 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-01/integer-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 16100 +| mem: 200}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-01/integer-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-01/integer-01.uplc.expected new file mode 100644 index 000000000..e06cd1136 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-01/integer-01.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con integer 0)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-02/integer-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-02/integer-02.uplc new file mode 100644 index 000000000..3a607321f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-02/integer-02.uplc @@ -0,0 +1 @@ +(program 0.0.0 (con integer 1)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-02/integer-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-02/integer-02.uplc.budget.expected new file mode 100644 index 000000000..d9531fb66 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-02/integer-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 16100 +| mem: 200}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-02/integer-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-02/integer-02.uplc.expected new file mode 100644 index 000000000..3a607321f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-02/integer-02.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con integer 1)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-03/integer-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-03/integer-03.uplc new file mode 100644 index 000000000..ea34ff652 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-03/integer-03.uplc @@ -0,0 +1 @@ +(program 0.0.0 (con integer -1)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-03/integer-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-03/integer-03.uplc.budget.expected new file mode 100644 index 000000000..d9531fb66 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-03/integer-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 16100 +| mem: 200}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-03/integer-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-03/integer-03.uplc.expected new file mode 100644 index 000000000..ea34ff652 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-03/integer-03.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con integer -1)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-04/integer-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-04/integer-04.uplc new file mode 100644 index 000000000..c99975ff8 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-04/integer-04.uplc @@ -0,0 +1 @@ +(program 0.0.0 (con integer 000000000000000000000000000000000000012345)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-04/integer-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-04/integer-04.uplc.budget.expected new file mode 100644 index 000000000..d9531fb66 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-04/integer-04.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 16100 +| mem: 200}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-04/integer-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-04/integer-04.uplc.expected new file mode 100644 index 000000000..763a811db --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-04/integer-04.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con integer 12345)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-05/integer-05.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-05/integer-05.uplc new file mode 100644 index 000000000..a49d83000 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-05/integer-05.uplc @@ -0,0 +1 @@ +(program 0.0.0 (con integer -000000000000000000000000000000000000012345)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-05/integer-05.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-05/integer-05.uplc.budget.expected new file mode 100644 index 000000000..d9531fb66 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-05/integer-05.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 16100 +| mem: 200}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-05/integer-05.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-05/integer-05.uplc.expected new file mode 100644 index 000000000..52314dc0a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-05/integer-05.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con integer -12345)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-06/integer-06.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-06/integer-06.uplc new file mode 100644 index 000000000..7c107ebf2 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-06/integer-06.uplc @@ -0,0 +1 @@ +(program 0.0.0 (con integer 7934472584735297345829374203940389857324250374130461237461374324689198237413246172439813568362847918324132461234689173469172364972574327894626348923469234728574196241238723984567805163407561370166661807515263473485635726)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-06/integer-06.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-06/integer-06.uplc.budget.expected new file mode 100644 index 000000000..d9531fb66 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-06/integer-06.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 16100 +| mem: 200}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-06/integer-06.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-06/integer-06.uplc.expected new file mode 100644 index 000000000..fdd7d8620 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-06/integer-06.uplc.expected @@ -0,0 +1,7 @@ +(program + 0.0.0 + (con + integer + 7934472584735297345829374203940389857324250374130461237461374324689198237413246172439813568362847918324132461234689173469172364972574327894626348923469234728574196241238723984567805163407561370166661807515263473485635726 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-07/integer-07.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-07/integer-07.uplc new file mode 100644 index 000000000..38619113d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-07/integer-07.uplc @@ -0,0 +1 @@ +(program 0.0.0 (con integer -7934472584735297345829374203940389857324250374130461237461374324689198237413246172439813568362847918324132461234689173469172364972574327894626348923469234728574196241238723984567805163407561370166661807515263473485635726)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-07/integer-07.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-07/integer-07.uplc.budget.expected new file mode 100644 index 000000000..d9531fb66 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-07/integer-07.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 16100 +| mem: 200}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-07/integer-07.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-07/integer-07.uplc.expected new file mode 100644 index 000000000..a921d650b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-07/integer-07.uplc.expected @@ -0,0 +1,7 @@ +(program + 0.0.0 + (con + integer + -7934472584735297345829374203940389857324250374130461237461374324689198237413246172439813568362847918324132461234689173469172364972574327894626348923469234728574196241238723984567805163407561370166661807515263473485635726 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-08/integer-08.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-08/integer-08.uplc new file mode 100644 index 000000000..c690ac485 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-08/integer-08.uplc @@ -0,0 +1 @@ +(program 0.0.0 (con integer +7934472584735297345829374203940389857324250374130461237461374324689198237413246172439813568362847918324132461234689173469172364972574327894626348923469234728574196241238723984567805163407561370166661807515263473485635726)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-08/integer-08.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-08/integer-08.uplc.budget.expected new file mode 100644 index 000000000..d9531fb66 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-08/integer-08.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 16100 +| mem: 200}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-08/integer-08.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-08/integer-08.uplc.expected new file mode 100644 index 000000000..fdd7d8620 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-08/integer-08.uplc.expected @@ -0,0 +1,7 @@ +(program + 0.0.0 + (con + integer + 7934472584735297345829374203940389857324250374130461237461374324689198237413246172439813568362847918324132461234689173469172364972574327894626348923469234728574196241238723984567805163407561370166661807515263473485635726 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-09/integer-09.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-09/integer-09.uplc new file mode 100644 index 000000000..20875544a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-09/integer-09.uplc @@ -0,0 +1 @@ +(program 0.0.0 (con integer 0.5)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-09/integer-09.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-09/integer-09.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-09/integer-09.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-09/integer-09.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-09/integer-09.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/integer/integer-09/integer-09.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-01/illTypedList-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-01/illTypedList-01.uplc new file mode 100644 index 000000000..6b5e698f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-01/illTypedList-01.uplc @@ -0,0 +1,2 @@ +(program 0.0.0 (con (list bool) [5]) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-01/illTypedList-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-01/illTypedList-01.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-01/illTypedList-01.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-01/illTypedList-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-01/illTypedList-01.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-01/illTypedList-01.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-02/illTypedList-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-02/illTypedList-02.uplc new file mode 100644 index 000000000..bdc97017f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-02/illTypedList-02.uplc @@ -0,0 +1,2 @@ +(program 0.0.0 (con (list bool) [(lam x (lam y x))]) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-02/illTypedList-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-02/illTypedList-02.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-02/illTypedList-02.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-02/illTypedList-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-02/illTypedList-02.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/list/illTypedList-02/illTypedList-02.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-01/illTypedPair-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-01/illTypedPair-01.uplc new file mode 100644 index 000000000..36565469e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-01/illTypedPair-01.uplc @@ -0,0 +1 @@ +(program 0.0.0 (con (pair integer string) ((lam x x), 1)) diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-01/illTypedPair-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-01/illTypedPair-01.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-01/illTypedPair-01.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-01/illTypedPair-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-01/illTypedPair-01.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-01/illTypedPair-01.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-02/illTypedPair-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-02/illTypedPair-02.uplc new file mode 100644 index 000000000..deb91132b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-02/illTypedPair-02.uplc @@ -0,0 +1 @@ +(program 0.0.0 (con (pair integer string) (1, (lam y y)))) diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-02/illTypedPair-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-02/illTypedPair-02.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-02/illTypedPair-02.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-02/illTypedPair-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-02/illTypedPair-02.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/constant/pair/illTypedPair-02/illTypedPair-02.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-01/case-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-01/case-01.uplc new file mode 100644 index 000000000..af50fb8f8 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-01/case-01.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin andByteString) (con bool False) ] (con bytestring #) ] + (con bytestring #ff) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-01/case-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-01/case-01.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-01/case-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-01/case-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-01/case-01.uplc.expected new file mode 100644 index 000000000..5dbd40474 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-01/case-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-02/case-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-02/case-02.uplc new file mode 100644 index 000000000..4d7d3f9bb --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-02/case-02.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin andByteString) (con bool False) ] (con bytestring #ff) ] + (con bytestring #) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-02/case-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-02/case-02.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-02/case-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-02/case-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-02/case-02.uplc.expected new file mode 100644 index 000000000..5dbd40474 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-02/case-02.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-03/case-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-03/case-03.uplc new file mode 100644 index 000000000..23fd98ff4 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-03/case-03.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin andByteString) (con bool False) ] (con bytestring #ff) ] + (con bytestring #00) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-03/case-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-03/case-03.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-03/case-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-03/case-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-03/case-03.uplc.expected new file mode 100644 index 000000000..4624f0c52 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-03/case-03.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #00)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-04/case-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-04/case-04.uplc new file mode 100644 index 000000000..2e4831348 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-04/case-04.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin andByteString) (con bool False) ] (con bytestring #00) ] + (con bytestring #ff) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-04/case-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-04/case-04.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-04/case-04.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-04/case-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-04/case-04.uplc.expected new file mode 100644 index 000000000..4624f0c52 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-04/case-04.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #00)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-05/case-05.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-05/case-05.uplc new file mode 100644 index 000000000..4453d6c10 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-05/case-05.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin andByteString) (con bool False) ] (con bytestring #4f00) ] + (con bytestring #f4) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-05/case-05.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-05/case-05.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-05/case-05.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-05/case-05.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-05/case-05.uplc.expected new file mode 100644 index 000000000..757900de9 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-05/case-05.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #44)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-06/case-06.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-06/case-06.uplc new file mode 100644 index 000000000..98e5be801 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-06/case-06.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin andByteString) (con bool True) ] (con bytestring #) ] + (con bytestring #ff) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-06/case-06.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-06/case-06.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-06/case-06.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-06/case-06.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-06/case-06.uplc.expected new file mode 100644 index 000000000..f596b7aaa --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-06/case-06.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-07/case-07.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-07/case-07.uplc new file mode 100644 index 000000000..a16a02aaf --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-07/case-07.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin andByteString) (con bool True) ] (con bytestring #ff) ] + (con bytestring #) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-07/case-07.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-07/case-07.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-07/case-07.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-07/case-07.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-07/case-07.uplc.expected new file mode 100644 index 000000000..f596b7aaa --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-07/case-07.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-08/case-08.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-08/case-08.uplc new file mode 100644 index 000000000..d31cc0879 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-08/case-08.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin andByteString) (con bool True) ] (con bytestring #ff) ] + (con bytestring #00) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-08/case-08.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-08/case-08.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-08/case-08.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-08/case-08.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-08/case-08.uplc.expected new file mode 100644 index 000000000..4624f0c52 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-08/case-08.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #00)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-09/case-09.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-09/case-09.uplc new file mode 100644 index 000000000..431e53c6f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-09/case-09.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin andByteString) (con bool True) ] (con bytestring #00) ] + (con bytestring #ff) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-09/case-09.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-09/case-09.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-09/case-09.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-09/case-09.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-09/case-09.uplc.expected new file mode 100644 index 000000000..4624f0c52 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-09/case-09.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #00)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-10/case-10.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-10/case-10.uplc new file mode 100644 index 000000000..acfccf9fe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-10/case-10.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin andByteString) (con bool True) ] (con bytestring #4f00) ] + (con bytestring #f4) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-10/case-10.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-10/case-10.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-10/case-10.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-10/case-10.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-10/case-10.uplc.expected new file mode 100644 index 000000000..b7e988e58 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-10/case-10.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #4400)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-11/case-11.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-11/case-11.uplc new file mode 100644 index 000000000..0bc4529ea --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-11/case-11.uplc @@ -0,0 +1,12 @@ +(program 1.0.0 + [ + [ + [ + (builtin andByteString) + (con bool False) + ] + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con bytestring #db9c861c98a3d19cb928c22a32aaae0a4f740113dc48734d3c001657cb8fd2b9497faf16a40c1ecdd7d6581b55b625553af3) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-11/case-11.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-11/case-11.uplc.budget.expected new file mode 100644 index 000000000..7addf0a95 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-11/case-11.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 221670 +| mem: 807}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-11/case-11.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-11/case-11.uplc.expected new file mode 100644 index 000000000..6605cb6d9 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-11/case-11.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #13808014808080189900422a0288ac0203640002540830091400164401020021093f210424001cc5508210 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-12/case-12.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-12/case-12.uplc new file mode 100644 index 000000000..82bc773d1 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-12/case-12.uplc @@ -0,0 +1,12 @@ +(program 1.0.0 + [ + [ + [ + (builtin andByteString) + (con bool True) + ] + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con bytestring #db9c861c98a3d19cb928c22a32aaae0a4f740113dc48734d3c001657cb8fd2b9497faf16a40c1ecdd7d6581b55b625553af3) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-12/case-12.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-12/case-12.uplc.budget.expected new file mode 100644 index 000000000..7addf0a95 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-12/case-12.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 221670 +| mem: 807}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-12/case-12.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-12/case-12.uplc.expected new file mode 100644 index 000000000..ccfd2f9f6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-12/case-12.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #13808014808080189900422a0288ac0203640002540830091400164401020021093f210424001cc55082101b55b625553af3 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-13/case-13.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-13/case-13.uplc new file mode 100644 index 000000000..e9a61df5d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-13/case-13.uplc @@ -0,0 +1,12 @@ +(program 1.0.0 + [ + [ + [ + (builtin andByteString) + (con bool False) + ] + (con bytestring #db9c861c98a3d19cb928c22a32aaae0a4f740113dc48734d3c001657cb8fd2b9497faf16a40c1ecdd7d6581b55b625553af3) + ] + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-13/case-13.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-13/case-13.uplc.budget.expected new file mode 100644 index 000000000..0d79b6faf --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-13/case-13.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 221677 +| mem: 807}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-13/case-13.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-13/case-13.uplc.expected new file mode 100644 index 000000000..6605cb6d9 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-13/case-13.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #13808014808080189900422a0288ac0203640002540830091400164401020021093f210424001cc5508210 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-14/case-14.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-14/case-14.uplc new file mode 100644 index 000000000..80a3ac108 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-14/case-14.uplc @@ -0,0 +1,12 @@ +(program 1.0.0 + [ + [ + [ + (builtin andByteString) + (con bool True) + ] + (con bytestring #db9c861c98a3d19cb928c22a32aaae0a4f740113dc48734d3c001657cb8fd2b9497faf16a40c1ecdd7d6581b55b625553af3) + ] + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-14/case-14.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-14/case-14.uplc.budget.expected new file mode 100644 index 000000000..0d79b6faf --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-14/case-14.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 221677 +| mem: 807}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-14/case-14.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-14/case-14.uplc.expected new file mode 100644 index 000000000..ccfd2f9f6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/andByteString/case-14/case-14.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #13808014808080189900422a0288ac0203640002540830091400164401020021093f210424001cc55082101b55b625553af3 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-01/chooseList-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-01/chooseList-01.uplc new file mode 100644 index 000000000..c6c13fa4c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-01/chooseList-01.uplc @@ -0,0 +1 @@ +(program 0.0.0 [[[(force (force (builtin chooseList))) (con (list integer) [ 0 , 1 , 2 ])] (con integer 1)] (con integer 2)]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-01/chooseList-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-01/chooseList-01.uplc.budget.expected new file mode 100644 index 000000000..f38c4c1da --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-01/chooseList-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 277094 +| mem: 1032}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-01/chooseList-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-01/chooseList-01.uplc.expected new file mode 100644 index 000000000..0408fe9b3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-01/chooseList-01.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con integer 2)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-02/chooseList-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-02/chooseList-02.uplc new file mode 100644 index 000000000..894e9b746 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-02/chooseList-02.uplc @@ -0,0 +1 @@ +(program 0.0.0 [[[(force (force (builtin chooseList))) (con (list integer) [ ])] (con integer 1)] (con integer 2)]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-02/chooseList-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-02/chooseList-02.uplc.budget.expected new file mode 100644 index 000000000..f38c4c1da --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-02/chooseList-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 277094 +| mem: 1032}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-02/chooseList-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-02/chooseList-02.uplc.expected new file mode 100644 index 000000000..3a607321f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-02/chooseList-02.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con integer 1)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-03/chooseList-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-03/chooseList-03.uplc new file mode 100644 index 000000000..3b1d34d91 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-03/chooseList-03.uplc @@ -0,0 +1,2 @@ +-- chooseList should accept arbitrary terms in the branches +(program 0.0.0 [[[(force (force (builtin chooseList))) (con (list integer) [ 0, 1, 2 ])] (lam x x)] (lam y (lam z z))]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-03/chooseList-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-03/chooseList-03.uplc.budget.expected new file mode 100644 index 000000000..f38c4c1da --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-03/chooseList-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 277094 +| mem: 1032}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-03/chooseList-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-03/chooseList-03.uplc.expected new file mode 100644 index 000000000..74125d1fb --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-03/chooseList-03.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (lam y (lam z z))) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-04/chooseList-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-04/chooseList-04.uplc new file mode 100644 index 000000000..4e2667409 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-04/chooseList-04.uplc @@ -0,0 +1,2 @@ +-- chooseList should accept arbitrary terms in the branches +(program 0.0.0 [[[(force (force (builtin chooseList))) (con (list integer) [ ])] (lam x x)] (lam y (lam z z))]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-04/chooseList-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-04/chooseList-04.uplc.budget.expected new file mode 100644 index 000000000..f38c4c1da --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-04/chooseList-04.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 277094 +| mem: 1032}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-04/chooseList-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-04/chooseList-04.uplc.expected new file mode 100644 index 000000000..c9c550498 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseList/chooseList-04/chooseList-04.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (lam x x)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-01/chooseUnit-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-01/chooseUnit-01.uplc new file mode 100644 index 000000000..15cb16eba --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-01/chooseUnit-01.uplc @@ -0,0 +1 @@ +(program 0.0.0 [[(force (builtin chooseUnit)) (con unit ())] (con integer 2)]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-01/chooseUnit-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-01/chooseUnit-01.uplc.budget.expected new file mode 100644 index 000000000..856bfa04e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-01/chooseUnit-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 157562 +| mem: 704}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-01/chooseUnit-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-01/chooseUnit-01.uplc.expected new file mode 100644 index 000000000..0408fe9b3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-01/chooseUnit-01.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con integer 2)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-02/chooseUnit-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-02/chooseUnit-02.uplc new file mode 100644 index 000000000..b60e455ca --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-02/chooseUnit-02.uplc @@ -0,0 +1,2 @@ +-- chooseUnit should accept arbitrary terms for the second argument +(program 0.0.0 [[(force (builtin chooseUnit)) (con unit ())] (lam x x)]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-02/chooseUnit-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-02/chooseUnit-02.uplc.budget.expected new file mode 100644 index 000000000..856bfa04e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-02/chooseUnit-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 157562 +| mem: 704}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-02/chooseUnit-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-02/chooseUnit-02.uplc.expected new file mode 100644 index 000000000..872f421e5 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/chooseUnit/chooseUnit-02/chooseUnit-02.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (lam a a)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-01/case-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-01/case-01.uplc new file mode 100644 index 000000000..dbf74ec7a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-01/case-01.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ (builtin complementByteString) (con bytestring #) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-01/case-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-01/case-01.uplc.budget.expected new file mode 100644 index 000000000..760c32b55 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-01/case-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 156658 +| mem: 401}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-01/case-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-01/case-01.uplc.expected new file mode 100644 index 000000000..5dbd40474 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-01/case-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-02/case-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-02/case-02.uplc new file mode 100644 index 000000000..af3cc158a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-02/case-02.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ (builtin complementByteString) (con bytestring #0f) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-02/case-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-02/case-02.uplc.budget.expected new file mode 100644 index 000000000..760c32b55 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-02/case-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 156658 +| mem: 401}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-02/case-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-02/case-02.uplc.expected new file mode 100644 index 000000000..b167c13d1 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-02/case-02.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #f0)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-03/case-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-03/case-03.uplc new file mode 100644 index 000000000..2ebebb9f6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-03/case-03.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ (builtin complementByteString) (con bytestring #b00b) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-03/case-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-03/case-03.uplc.budget.expected new file mode 100644 index 000000000..760c32b55 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-03/case-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 156658 +| mem: 401}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-03/case-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-03/case-03.uplc.expected new file mode 100644 index 000000000..708427a3d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-03/case-03.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #4ff4)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-04/case-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-04/case-04.uplc new file mode 100644 index 000000000..790ac7c9a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-04/case-04.uplc @@ -0,0 +1,6 @@ +(program 1.0.0 + [ + (builtin complementByteString) + (con bytestring #db9c861c98a3d19cb928c22a32aaae0a4f740113dc48734d3c001657cb8fd2b9497faf16a40c1ecdd7d6581b55b625553af3) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-04/case-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-04/case-04.uplc.budget.expected new file mode 100644 index 000000000..0fea32394 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-04/case-04.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 160738 +| mem: 407}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-04/case-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-04/case-04.uplc.expected new file mode 100644 index 000000000..2cbc756c7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-04/case-04.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #246379e3675c2e6346d73dd5cd5551f5b08bfeec23b78cb2c3ffe9a834702d46b68050e95bf3e1322829a7e4aa49daaac50c + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-05/case-05.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-05/case-05.uplc new file mode 100644 index 000000000..3db789a3e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-05/case-05.uplc @@ -0,0 +1,18 @@ +(program 1.0.0 + [ + (lam x + [ + (builtin equalsByteString) + x + [ + (builtin complementByteString) + [ + (builtin complementByteString) + x + ] + ] + ] + ) + (con bytestring #db9c861c98a3d19cb928c22a32aaae0a4f740113dc48734d3c001657cb8fd2b9497faf16a40c1ecdd7d6581b55b625553af3) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-05/case-05.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-05/case-05.uplc.budget.expected new file mode 100644 index 000000000..7cf5259c8 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-05/case-05.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 447140 +| mem: 1315}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-05/case-05.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-05/case-05.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/complementByteString/case-05/case-05.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-01/consByteString-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-01/consByteString-01.uplc new file mode 100644 index 000000000..b6c624141 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-01/consByteString-01.uplc @@ -0,0 +1,2 @@ +-- the arg overflow'ed over the maxBound :: Word8 +(program 1.0.0 [(builtin consByteString) (con integer 256) (con bytestring #)]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-01/consByteString-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-01/consByteString-01.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-01/consByteString-01.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-01/consByteString-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-01/consByteString-01.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-01/consByteString-01.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-02/consByteString-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-02/consByteString-02.uplc new file mode 100644 index 000000000..ab20a4aa4 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-02/consByteString-02.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin consByteString) (con integer -88) (con bytestring #686543616B654973414C6965)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-02/consByteString-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-02/consByteString-02.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-02/consByteString-02.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-02/consByteString-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-02/consByteString-02.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-02/consByteString-02.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-03/consByteString-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-03/consByteString-03.uplc new file mode 100644 index 000000000..9855cea99 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-03/consByteString-03.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin consByteString) (con integer 84) (con bytestring #686543616B654973414C6965)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-03/consByteString-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-03/consByteString-03.uplc.budget.expected new file mode 100644 index 000000000..01e0d07bc --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-03/consByteString-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 152466 +| mem: 603}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-03/consByteString-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-03/consByteString-03.uplc.expected new file mode 100644 index 000000000..19506cb92 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/consByteString/consByteString-03/consByteString-03.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #54686543616B654973414C6965)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-01/case-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-01/case-01.uplc new file mode 100644 index 000000000..c24a17327 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-01/case-01.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ (builtin countSetBits) (con bytestring #) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-01/case-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-01/case-01.uplc.budget.expected new file mode 100644 index 000000000..e763c119c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-01/case-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 158888 +| mem: 401}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-01/case-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-01/case-01.uplc.expected new file mode 100644 index 000000000..87e0223f6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-01/case-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 0)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-02/case-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-02/case-02.uplc new file mode 100644 index 000000000..668ff7761 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-02/case-02.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ (builtin countSetBits) (con bytestring #0000) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-02/case-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-02/case-02.uplc.budget.expected new file mode 100644 index 000000000..e763c119c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-02/case-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 158888 +| mem: 401}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-02/case-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-02/case-02.uplc.expected new file mode 100644 index 000000000..87e0223f6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-02/case-02.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 0)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-03/case-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-03/case-03.uplc new file mode 100644 index 000000000..9ae4ccf33 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-03/case-03.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ (builtin countSetBits) (con bytestring #0100) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-03/case-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-03/case-03.uplc.budget.expected new file mode 100644 index 000000000..e763c119c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-03/case-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 158888 +| mem: 401}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-03/case-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-03/case-03.uplc.expected new file mode 100644 index 000000000..8e9a3b22d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-03/case-03.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 1)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-04/case-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-04/case-04.uplc new file mode 100644 index 000000000..ba6e62041 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-04/case-04.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ (builtin countSetBits) (con bytestring #0001) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-04/case-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-04/case-04.uplc.budget.expected new file mode 100644 index 000000000..e763c119c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-04/case-04.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 158888 +| mem: 401}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-04/case-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-04/case-04.uplc.expected new file mode 100644 index 000000000..8e9a3b22d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-04/case-04.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 1)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-05/case-05.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-05/case-05.uplc new file mode 100644 index 000000000..e689512f6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-05/case-05.uplc @@ -0,0 +1,6 @@ +(program 1.0.0 + [ + (builtin countSetBits) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-05/case-05.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-05/case-05.uplc.budget.expected new file mode 100644 index 000000000..77b29b195 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-05/case-05.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 175378 +| mem: 401}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-05/case-05.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-05/case-05.uplc.expected new file mode 100644 index 000000000..bc5298292 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-05/case-05.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 163)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-06/case-06.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-06/case-06.uplc new file mode 100644 index 000000000..bde85cf39 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-06/case-06.uplc @@ -0,0 +1,6 @@ +(program 1.0.0 + [ + (builtin countSetBits) + (con bytestring #00000000000000000000000000000000000000000000000000000000000000000000000000000000000000) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-06/case-06.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-06/case-06.uplc.budget.expected new file mode 100644 index 000000000..77b29b195 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-06/case-06.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 175378 +| mem: 401}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-06/case-06.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-06/case-06.uplc.expected new file mode 100644 index 000000000..87e0223f6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-06/case-06.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 0)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-07/case-07.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-07/case-07.uplc new file mode 100644 index 000000000..29b75f09f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-07/case-07.uplc @@ -0,0 +1,6 @@ +(program 1.0.0 + [ + (builtin countSetBits) + (con bytestring #00000000000000100000000000000000000000000000000000000000000000000000000000000000000000) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-07/case-07.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-07/case-07.uplc.budget.expected new file mode 100644 index 000000000..77b29b195 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-07/case-07.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 175378 +| mem: 401}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-07/case-07.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-07/case-07.uplc.expected new file mode 100644 index 000000000..8e9a3b22d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-07/case-07.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 1)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-08/case-08.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-08/case-08.uplc new file mode 100644 index 000000000..e639ce90e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-08/case-08.uplc @@ -0,0 +1,6 @@ +(program 1.0.0 + [ + (builtin countSetBits) + (con bytestring #FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-08/case-08.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-08/case-08.uplc.budget.expected new file mode 100644 index 000000000..77b29b195 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-08/case-08.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 175378 +| mem: 401}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-08/case-08.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-08/case-08.uplc.expected new file mode 100644 index 000000000..a48493b91 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/countSetBits/case-08/case-08.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 344)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/divideInteger/divideInteger-01/divideInteger-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/divideInteger/divideInteger-01/divideInteger-01.uplc new file mode 100644 index 000000000..cb6e196dd --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/divideInteger/divideInteger-01/divideInteger-01.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin divideInteger) (con integer 1) ] (con integer 2) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/divideInteger/divideInteger-01/divideInteger-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/divideInteger/divideInteger-01/divideInteger-01.uplc.budget.expected new file mode 100644 index 000000000..f432423f1 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/divideInteger/divideInteger-01/divideInteger-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 212030 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/divideInteger/divideInteger-01/divideInteger-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/divideInteger/divideInteger-01/divideInteger-01.uplc.expected new file mode 100644 index 000000000..87e0223f6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/divideInteger/divideInteger-01/divideInteger-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 0)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-01/equalsByteString-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-01/equalsByteString-01.uplc new file mode 100644 index 000000000..273c95dc2 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-01/equalsByteString-01.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin lengthOfByteString) (con bytestring #54686543616B654973414C6965)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-01/equalsByteString-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-01/equalsByteString-01.uplc.budget.expected new file mode 100644 index 000000000..56d04b0b1 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-01/equalsByteString-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 70200 +| mem: 410}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-01/equalsByteString-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-01/equalsByteString-01.uplc.expected new file mode 100644 index 000000000..358b5def8 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-01/equalsByteString-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 13)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-02/equalsByteString-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-02/equalsByteString-02.uplc new file mode 100644 index 000000000..8feae1876 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-02/equalsByteString-02.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin equalsByteString) (con bytestring #54686543616B654973414C6965) (con bytestring #54686543616B65497341506965)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-02/equalsByteString-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-02/equalsByteString-02.uplc.budget.expected new file mode 100644 index 000000000..4822eaf1e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-02/equalsByteString-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 109674 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-02/equalsByteString-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-02/equalsByteString-02.uplc.expected new file mode 100644 index 000000000..3ee9f07f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsByteString/equalsByteString-02/equalsByteString-02.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-01/equalsInteger-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-01/equalsInteger-01.uplc new file mode 100644 index 000000000..b268648ab --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-01/equalsInteger-01.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin equalsInteger) (con integer 1) ] (con integer 2) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-01/equalsInteger-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-01/equalsInteger-01.uplc.budget.expected new file mode 100644 index 000000000..2ac14b2d2 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-01/equalsInteger-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 132433 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-01/equalsInteger-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-01/equalsInteger-01.uplc.expected new file mode 100644 index 000000000..3ee9f07f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-01/equalsInteger-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-02/equalsInteger-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-02/equalsInteger-02.uplc new file mode 100644 index 000000000..208db8929 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-02/equalsInteger-02.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin equalsInteger) (con integer 45723452347050234588234852993485827934) ] (con integer 45723452347050234588234852993485827933) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-02/equalsInteger-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-02/equalsInteger-02.uplc.budget.expected new file mode 100644 index 000000000..603524d4a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-02/equalsInteger-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 132991 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-02/equalsInteger-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-02/equalsInteger-02.uplc.expected new file mode 100644 index 000000000..3ee9f07f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-02/equalsInteger-02.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-03/equalsInteger-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-03/equalsInteger-03.uplc new file mode 100644 index 000000000..946682ba0 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-03/equalsInteger-03.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin equalsInteger) (con integer 45723452347050234588234852993485827934) ] (con integer 45723452347050234588234852993485827934) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-03/equalsInteger-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-03/equalsInteger-03.uplc.budget.expected new file mode 100644 index 000000000..603524d4a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-03/equalsInteger-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 132991 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-03/equalsInteger-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-03/equalsInteger-03.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsInteger/equalsInteger-03/equalsInteger-03.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-01/equalsString-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-01/equalsString-01.uplc new file mode 100644 index 000000000..8f0dbf3ec --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-01/equalsString-01.uplc @@ -0,0 +1 @@ +(program 0.0.0 [ [ (builtin equalsString) (con string "Ola")] (con string " mundo!") ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-01/equalsString-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-01/equalsString-01.uplc.budget.expected new file mode 100644 index 000000000..4a1b4c1a8 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-01/equalsString-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 119284 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-01/equalsString-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-01/equalsString-01.uplc.expected new file mode 100644 index 000000000..dd87da548 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-01/equalsString-01.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-02/equalsString-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-02/equalsString-02.uplc new file mode 100644 index 000000000..573909998 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-02/equalsString-02.uplc @@ -0,0 +1 @@ +(program 0.0.0 [ [ (builtin equalsString) (con string "Ola")] (con string "Ola") ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-02/equalsString-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-02/equalsString-02.uplc.budget.expected new file mode 100644 index 000000000..e8dc4ba79 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-02/equalsString-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 262882 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-02/equalsString-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-02/equalsString-02.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/equalsString/equalsString-02/equalsString-02.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-01/case-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-01/case-01.uplc new file mode 100644 index 000000000..171a565f7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-01/case-01.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ (builtin findFirstSetBit) (con bytestring #) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-01/case-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-01/case-01.uplc.budget.expected new file mode 100644 index 000000000..4f9a62766 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-01/case-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 154812 +| mem: 401}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-01/case-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-01/case-01.uplc.expected new file mode 100644 index 000000000..1cb56cffb --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-01/case-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer -1)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-02/case-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-02/case-02.uplc new file mode 100644 index 000000000..a8c1146d8 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-02/case-02.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ (builtin findFirstSetBit) (con bytestring #0000) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-02/case-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-02/case-02.uplc.budget.expected new file mode 100644 index 000000000..4f9a62766 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-02/case-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 154812 +| mem: 401}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-02/case-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-02/case-02.uplc.expected new file mode 100644 index 000000000..1cb56cffb --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-02/case-02.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer -1)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-03/case-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-03/case-03.uplc new file mode 100644 index 000000000..d5d079e8e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-03/case-03.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ (builtin findFirstSetBit) (con bytestring #0002) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-03/case-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-03/case-03.uplc.budget.expected new file mode 100644 index 000000000..4f9a62766 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-03/case-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 154812 +| mem: 401}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-03/case-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-03/case-03.uplc.expected new file mode 100644 index 000000000..8e9a3b22d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-03/case-03.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 1)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-04/case-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-04/case-04.uplc new file mode 100644 index 000000000..aedd25d76 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-04/case-04.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ (builtin findFirstSetBit) (con bytestring #fff2) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-04/case-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-04/case-04.uplc.budget.expected new file mode 100644 index 000000000..4f9a62766 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-04/case-04.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 154812 +| mem: 401}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-04/case-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-04/case-04.uplc.expected new file mode 100644 index 000000000..8e9a3b22d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-04/case-04.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 1)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-05/case-05.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-05/case-05.uplc new file mode 100644 index 000000000..de597456b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-05/case-05.uplc @@ -0,0 +1,6 @@ +(program 1.0.0 + [ + (builtin findFirstSetBit) + (con bytestring #00000000000000000000000000000000000000000000000000000000000000000000000000000000000000) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-05/case-05.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-05/case-05.uplc.budget.expected new file mode 100644 index 000000000..c0a6fcdf6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-05/case-05.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 158087 +| mem: 401}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-05/case-05.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-05/case-05.uplc.expected new file mode 100644 index 000000000..1cb56cffb --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-05/case-05.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer -1)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-06/case-06.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-06/case-06.uplc new file mode 100644 index 000000000..1be057cd8 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-06/case-06.uplc @@ -0,0 +1,6 @@ +(program 1.0.0 + [ + (builtin findFirstSetBit) + (con bytestring #00000000000000000000000000000000000000000000000000000000000000000000000000000000000001) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-06/case-06.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-06/case-06.uplc.budget.expected new file mode 100644 index 000000000..c0a6fcdf6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-06/case-06.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 158087 +| mem: 401}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-06/case-06.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-06/case-06.uplc.expected new file mode 100644 index 000000000..87e0223f6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-06/case-06.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 0)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-07/case-07.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-07/case-07.uplc new file mode 100644 index 000000000..63eeb4921 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-07/case-07.uplc @@ -0,0 +1,7 @@ +-- This returns 20, but should return 340 +(program 1.0.0 + [ + (builtin findFirstSetBit) + (con bytestring #50000000000000000000000000000000000000000000000000000000000000000000000000000000000000) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-07/case-07.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-07/case-07.uplc.budget.expected new file mode 100644 index 000000000..c0a6fcdf6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-07/case-07.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 158087 +| mem: 401}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-07/case-07.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-07/case-07.uplc.expected new file mode 100644 index 000000000..0a84b671f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/findFirstSetBit/case-07/case-07.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 340)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-01/headList-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-01/headList-01.uplc new file mode 100644 index 000000000..d434ae6ce --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-01/headList-01.uplc @@ -0,0 +1 @@ +(program 0.0.0 [(force (builtin headList)) (con (list integer) [ 1, 2 ])]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-01/headList-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-01/headList-01.uplc.budget.expected new file mode 100644 index 000000000..cee9c8bc7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-01/headList-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 147250 +| mem: 532}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-01/headList-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-01/headList-01.uplc.expected new file mode 100644 index 000000000..3a607321f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-01/headList-01.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con integer 1)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-02/headList-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-02/headList-02.uplc new file mode 100644 index 000000000..31f3ae6ed --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-02/headList-02.uplc @@ -0,0 +1 @@ +(program 0.0.0 [(force (builtin headList)) (con (list integer) [ ])]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-02/headList-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-02/headList-02.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-02/headList-02.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-02/headList-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-02/headList-02.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-02/headList-02.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-03/headList-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-03/headList-03.uplc new file mode 100644 index 000000000..1edb44eb4 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-03/headList-03.uplc @@ -0,0 +1 @@ +(program 0.0.0 [(force (builtin headList)) (con (list integer) [ 1, 2, 3 ])]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-03/headList-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-03/headList-03.uplc.budget.expected new file mode 100644 index 000000000..cee9c8bc7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-03/headList-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 147250 +| mem: 532}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-03/headList-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-03/headList-03.uplc.expected new file mode 100644 index 000000000..3a607321f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/headList/headList-03/headList-03.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con integer 1)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-01/ifThenElse-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-01/ifThenElse-01.uplc new file mode 100644 index 000000000..94a11f440 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-01/ifThenElse-01.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ [ (force (builtin ifThenElse)) (con bool True) ] (lam x x) ] (con integer 2) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-01/ifThenElse-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-01/ifThenElse-01.uplc.budget.expected new file mode 100644 index 000000000..bf107ddea --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-01/ifThenElse-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 204149 +| mem: 901}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-01/ifThenElse-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-01/ifThenElse-01.uplc.expected new file mode 100644 index 000000000..b4f6fd5c3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-01/ifThenElse-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (lam x x)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-02/ifThenElse-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-02/ifThenElse-02.uplc new file mode 100644 index 000000000..4cd3b1bfa --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-02/ifThenElse-02.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(force (builtin ifThenElse)) (con bool False) (lam x x) (lam y (lam z z))] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-02/ifThenElse-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-02/ifThenElse-02.uplc.budget.expected new file mode 100644 index 000000000..bf107ddea --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-02/ifThenElse-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 204149 +| mem: 901}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-02/ifThenElse-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-02/ifThenElse-02.uplc.expected new file mode 100644 index 000000000..5c384bc04 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-02/ifThenElse-02.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (lam y (lam z z))) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-03/ifThenElse-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-03/ifThenElse-03.uplc new file mode 100644 index 000000000..4f44fc88b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-03/ifThenElse-03.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(force (builtin ifThenElse)) (con bool False) (lam x x) (con integer 42)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-03/ifThenElse-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-03/ifThenElse-03.uplc.budget.expected new file mode 100644 index 000000000..bf107ddea --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-03/ifThenElse-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 204149 +| mem: 901}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-03/ifThenElse-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-03/ifThenElse-03.uplc.expected new file mode 100644 index 000000000..864f897c0 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-03/ifThenElse-03.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 42)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-04/ifThenElse-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-04/ifThenElse-04.uplc new file mode 100644 index 000000000..62e284380 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-04/ifThenElse-04.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(force (builtin ifThenElse)) (con bool False) (error) (con integer 42)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-04/ifThenElse-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-04/ifThenElse-04.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-04/ifThenElse-04.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-04/ifThenElse-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-04/ifThenElse-04.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-04/ifThenElse-04.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-01/ifThenElse-bad-cond-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-01/ifThenElse-bad-cond-01.uplc new file mode 100644 index 000000000..2b3b895e1 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-01/ifThenElse-bad-cond-01.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ [ (force (builtin ifThenElse)) (con integer 1) ] (con integer 11) ] (con integer -22) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-01/ifThenElse-bad-cond-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-01/ifThenElse-bad-cond-01.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-01/ifThenElse-bad-cond-01.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-01/ifThenElse-bad-cond-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-01/ifThenElse-bad-cond-01.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-01/ifThenElse-bad-cond-01.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-02/ifThenElse-bad-cond-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-02/ifThenElse-bad-cond-02.uplc new file mode 100644 index 000000000..239ccef41 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-02/ifThenElse-bad-cond-02.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ [ (force (builtin ifThenElse)) (lam x (lam y x)) ] (con integer 11) ] (con integer -22) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-02/ifThenElse-bad-cond-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-02/ifThenElse-bad-cond-02.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-02/ifThenElse-bad-cond-02.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-02/ifThenElse-bad-cond-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-02/ifThenElse-bad-cond-02.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ifThenElse/ifThenElse-bad-cond-02/ifThenElse-bad-cond-02.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/indexByteString/indexByteString-01/indexByteString-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/indexByteString/indexByteString-01/indexByteString-01.uplc new file mode 100644 index 000000000..34b2c2ece --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/indexByteString/indexByteString-01/indexByteString-01.uplc @@ -0,0 +1 @@ +(program 0.0.0 [ [ (builtin indexByteString) (con bytestring #00ffaa) ] (con integer 1) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/indexByteString/indexByteString-01/indexByteString-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/indexByteString/indexByteString-01/indexByteString-01.uplc.budget.expected new file mode 100644 index 000000000..9958a61e0 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/indexByteString/indexByteString-01/indexByteString-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 93269 +| mem: 604}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/indexByteString/indexByteString-01/indexByteString-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/indexByteString/indexByteString-01/indexByteString-01.uplc.expected new file mode 100644 index 000000000..f346be33d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/indexByteString/indexByteString-01/indexByteString-01.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con integer 255)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-00/lessThanByteString-00.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-00/lessThanByteString-00.uplc new file mode 100644 index 000000000..f545f3da2 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-00/lessThanByteString-00.uplc @@ -0,0 +1 @@ +(program 0.0.0 [ [(builtin lessThanByteString) (con bytestring #00ff)] (con bytestring #00ffaa) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-00/lessThanByteString-00.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-00/lessThanByteString-00.uplc.budget.expected new file mode 100644 index 000000000..7b79a6ebf --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-00/lessThanByteString-00.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 109173 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-00/lessThanByteString-00.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-00/lessThanByteString-00.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-00/lessThanByteString-00.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-01/lessThanByteString-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-01/lessThanByteString-01.uplc new file mode 100644 index 000000000..0b5a044e7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-01/lessThanByteString-01.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin equalsByteString) (con bytestring #54686543616B654973414C6965) (con bytestring #54686543616B654973414C6965)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-01/lessThanByteString-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-01/lessThanByteString-01.uplc.budget.expected new file mode 100644 index 000000000..4822eaf1e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-01/lessThanByteString-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 109674 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-01/lessThanByteString-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-01/lessThanByteString-01.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-01/lessThanByteString-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-02/lessThanByteString-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-02/lessThanByteString-02.uplc new file mode 100644 index 000000000..3f7173b56 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-02/lessThanByteString-02.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin lessThanByteString) (con bytestring #54686543616B654973414C6965) (con bytestring #54686543616B65497341506965)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-02/lessThanByteString-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-02/lessThanByteString-02.uplc.budget.expected new file mode 100644 index 000000000..054025fc7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-02/lessThanByteString-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 109247 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-02/lessThanByteString-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-02/lessThanByteString-02.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-02/lessThanByteString-02.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-03/lessThanByteString-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-03/lessThanByteString-03.uplc new file mode 100644 index 000000000..8aa6ebc86 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-03/lessThanByteString-03.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin lessThanByteString) (con bytestring #54686543616B65497341506965) (con bytestring #54686543616B654973414C6965)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-03/lessThanByteString-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-03/lessThanByteString-03.uplc.budget.expected new file mode 100644 index 000000000..054025fc7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-03/lessThanByteString-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 109247 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-03/lessThanByteString-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-03/lessThanByteString-03.uplc.expected new file mode 100644 index 000000000..3ee9f07f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-03/lessThanByteString-03.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-04/lessThanByteString-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-04/lessThanByteString-04.uplc new file mode 100644 index 000000000..3b70df6b8 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-04/lessThanByteString-04.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin lessThanByteString) (con bytestring #54686543616B65497341506965) (con bytestring #54686543616B654973414C69)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-04/lessThanByteString-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-04/lessThanByteString-04.uplc.budget.expected new file mode 100644 index 000000000..054025fc7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-04/lessThanByteString-04.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 109247 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-04/lessThanByteString-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-04/lessThanByteString-04.uplc.expected new file mode 100644 index 000000000..3ee9f07f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-04/lessThanByteString-04.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-05/lessThanByteString-05.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-05/lessThanByteString-05.uplc new file mode 100644 index 000000000..320c18ec8 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-05/lessThanByteString-05.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin lessThanByteString) (con bytestring #54686543616B654973414C69) (con bytestring #54686543616B65497341506965)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-05/lessThanByteString-05.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-05/lessThanByteString-05.uplc.budget.expected new file mode 100644 index 000000000..054025fc7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-05/lessThanByteString-05.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 109247 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-05/lessThanByteString-05.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-05/lessThanByteString-05.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanByteString/lessThanByteString-05/lessThanByteString-05.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-00/lessThanEqualsByteString-00.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-00/lessThanEqualsByteString-00.uplc new file mode 100644 index 000000000..e8ae65a46 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-00/lessThanEqualsByteString-00.uplc @@ -0,0 +1 @@ +(program 0.0.0 [ [(builtin lessThanEqualsByteString) (con bytestring #00ff)] (con bytestring #00) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-00/lessThanEqualsByteString-00.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-00/lessThanEqualsByteString-00.uplc.budget.expected new file mode 100644 index 000000000..7b79a6ebf --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-00/lessThanEqualsByteString-00.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 109173 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-00/lessThanEqualsByteString-00.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-00/lessThanEqualsByteString-00.uplc.expected new file mode 100644 index 000000000..dd87da548 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-00/lessThanEqualsByteString-00.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-01/lessThanEqualsByteString-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-01/lessThanEqualsByteString-01.uplc new file mode 100644 index 000000000..8bbb8ce14 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-01/lessThanEqualsByteString-01.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin lessThanEqualsByteString) (con bytestring #54686543616B654973414C6964) (con bytestring #54686543616B654973414C6965)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-01/lessThanEqualsByteString-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-01/lessThanEqualsByteString-01.uplc.budget.expected new file mode 100644 index 000000000..054025fc7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-01/lessThanEqualsByteString-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 109247 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-01/lessThanEqualsByteString-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-01/lessThanEqualsByteString-01.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-01/lessThanEqualsByteString-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-02/lessThanEqualsByteString-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-02/lessThanEqualsByteString-02.uplc new file mode 100644 index 000000000..d79b6dc34 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-02/lessThanEqualsByteString-02.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin lessThanEqualsByteString) (con bytestring #54686543616B654973414C6966) (con bytestring #54686543616B654973414C6965)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-02/lessThanEqualsByteString-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-02/lessThanEqualsByteString-02.uplc.budget.expected new file mode 100644 index 000000000..054025fc7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-02/lessThanEqualsByteString-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 109247 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-02/lessThanEqualsByteString-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-02/lessThanEqualsByteString-02.uplc.expected new file mode 100644 index 000000000..3ee9f07f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-02/lessThanEqualsByteString-02.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-03/lessThanEqualsByteString-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-03/lessThanEqualsByteString-03.uplc new file mode 100644 index 000000000..a81064321 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-03/lessThanEqualsByteString-03.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin lessThanEqualsByteString) (con bytestring #54686543616B654973414C6965) (con bytestring #54686543616B654973414C6965)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-03/lessThanEqualsByteString-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-03/lessThanEqualsByteString-03.uplc.budget.expected new file mode 100644 index 000000000..054025fc7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-03/lessThanEqualsByteString-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 109247 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-03/lessThanEqualsByteString-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-03/lessThanEqualsByteString-03.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsByteString/lessThanEqualsByteString-03/lessThanEqualsByteString-03.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-01/lessThanEqualsInteger-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-01/lessThanEqualsInteger-01.uplc new file mode 100644 index 000000000..801006525 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-01/lessThanEqualsInteger-01.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin lessThanEqualsInteger) (con integer 1) ] (con integer 2) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-01/lessThanEqualsInteger-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-01/lessThanEqualsInteger-01.uplc.budget.expected new file mode 100644 index 000000000..ea3cb9baf --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-01/lessThanEqualsInteger-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 123937 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-01/lessThanEqualsInteger-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-01/lessThanEqualsInteger-01.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-01/lessThanEqualsInteger-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-02/lessThanEqualsInteger-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-02/lessThanEqualsInteger-02.uplc new file mode 100644 index 000000000..38df5f478 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-02/lessThanEqualsInteger-02.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin lessThanEqualsInteger) (con integer 8) (con integer 4)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-02/lessThanEqualsInteger-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-02/lessThanEqualsInteger-02.uplc.budget.expected new file mode 100644 index 000000000..ea3cb9baf --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-02/lessThanEqualsInteger-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 123937 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-02/lessThanEqualsInteger-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-02/lessThanEqualsInteger-02.uplc.expected new file mode 100644 index 000000000..3ee9f07f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-02/lessThanEqualsInteger-02.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-03/lessThanEqualsInteger-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-03/lessThanEqualsInteger-03.uplc new file mode 100644 index 000000000..e78fc205c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-03/lessThanEqualsInteger-03.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin lessThanEqualsInteger) (con integer 4) (con integer 8)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-03/lessThanEqualsInteger-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-03/lessThanEqualsInteger-03.uplc.budget.expected new file mode 100644 index 000000000..ea3cb9baf --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-03/lessThanEqualsInteger-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 123937 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-03/lessThanEqualsInteger-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-03/lessThanEqualsInteger-03.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-03/lessThanEqualsInteger-03.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-04/lessThanEqualsInteger-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-04/lessThanEqualsInteger-04.uplc new file mode 100644 index 000000000..0e32e7218 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-04/lessThanEqualsInteger-04.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin lessThanEqualsInteger) (con integer 4) (con integer 4)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-04/lessThanEqualsInteger-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-04/lessThanEqualsInteger-04.uplc.budget.expected new file mode 100644 index 000000000..ea3cb9baf --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-04/lessThanEqualsInteger-04.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 123937 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-04/lessThanEqualsInteger-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-04/lessThanEqualsInteger-04.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-04/lessThanEqualsInteger-04.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-05/lessThanEqualsInteger-05.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-05/lessThanEqualsInteger-05.uplc new file mode 100644 index 000000000..7e279e818 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-05/lessThanEqualsInteger-05.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin lessThanEqualsInteger) (con integer 3477349701412809834789938452452684373578934257) (con integer 3477349701412809834789938452452684373578934257)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-05/lessThanEqualsInteger-05.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-05/lessThanEqualsInteger-05.uplc.budget.expected new file mode 100644 index 000000000..c766e0cae --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-05/lessThanEqualsInteger-05.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 125041 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-05/lessThanEqualsInteger-05.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-05/lessThanEqualsInteger-05.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanEqualsInteger/lessThanEqualsInteger-05/lessThanEqualsInteger-05.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-01/lessThanInteger-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-01/lessThanInteger-01.uplc new file mode 100644 index 000000000..da9a4a8c0 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-01/lessThanInteger-01.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin lessThanInteger) (con integer 1) ] (con integer 2) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-01/lessThanInteger-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-01/lessThanInteger-01.uplc.budget.expected new file mode 100644 index 000000000..4de75a098 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-01/lessThanInteger-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 125390 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-01/lessThanInteger-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-01/lessThanInteger-01.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-01/lessThanInteger-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-02/lessThanInteger-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-02/lessThanInteger-02.uplc new file mode 100644 index 000000000..56aee3853 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-02/lessThanInteger-02.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin lessThanInteger) (con integer 8) (con integer 4)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-02/lessThanInteger-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-02/lessThanInteger-02.uplc.budget.expected new file mode 100644 index 000000000..4de75a098 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-02/lessThanInteger-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 125390 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-02/lessThanInteger-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-02/lessThanInteger-02.uplc.expected new file mode 100644 index 000000000..3ee9f07f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-02/lessThanInteger-02.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-03/lessThanInteger-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-03/lessThanInteger-03.uplc new file mode 100644 index 000000000..9811d79f2 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-03/lessThanInteger-03.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin lessThanInteger) (con integer 4) (con integer 8)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-03/lessThanInteger-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-03/lessThanInteger-03.uplc.budget.expected new file mode 100644 index 000000000..4de75a098 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-03/lessThanInteger-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 125390 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-03/lessThanInteger-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-03/lessThanInteger-03.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-03/lessThanInteger-03.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-04/lessThanInteger-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-04/lessThanInteger-04.uplc new file mode 100644 index 000000000..241cd924e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-04/lessThanInteger-04.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin lessThanInteger) (con integer 4) (con integer 4)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-04/lessThanInteger-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-04/lessThanInteger-04.uplc.budget.expected new file mode 100644 index 000000000..4de75a098 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-04/lessThanInteger-04.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 125390 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-04/lessThanInteger-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-04/lessThanInteger-04.uplc.expected new file mode 100644 index 000000000..3ee9f07f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-04/lessThanInteger-04.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-05/lessThanInteger-05.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-05/lessThanInteger-05.uplc new file mode 100644 index 000000000..37bf59efb --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-05/lessThanInteger-05.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin lessThanInteger) (con integer 3477349701412809834789938452452684373578934257) (con integer 3477349701412809834789938452452684373578934257)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-05/lessThanInteger-05.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-05/lessThanInteger-05.uplc.budget.expected new file mode 100644 index 000000000..7d82843aa --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-05/lessThanInteger-05.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 126472 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-05/lessThanInteger-05.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-05/lessThanInteger-05.uplc.expected new file mode 100644 index 000000000..3ee9f07f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/lessThanInteger/lessThanInteger-05/lessThanInteger-05.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-01/mkCons-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-01/mkCons-01.uplc new file mode 100644 index 000000000..1c8bc68ab --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-01/mkCons-01.uplc @@ -0,0 +1 @@ +(program 0.0.0 [[(force (builtin mkCons)) (con integer 0)] (con (list integer) [ ])]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-01/mkCons-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-01/mkCons-01.uplc.budget.expected new file mode 100644 index 000000000..105c994ce --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-01/mkCons-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 168462 +| mem: 732}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-01/mkCons-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-01/mkCons-01.uplc.expected new file mode 100644 index 000000000..690f3569c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-01/mkCons-01.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con (list integer) [0])) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-02/mkCons-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-02/mkCons-02.uplc new file mode 100644 index 000000000..88892f6a1 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-02/mkCons-02.uplc @@ -0,0 +1 @@ +(program 0.0.0 [[(force (builtin mkCons)) (con integer 0)] (con (list integer) [ 1, 2 ])]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-02/mkCons-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-02/mkCons-02.uplc.budget.expected new file mode 100644 index 000000000..105c994ce --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-02/mkCons-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 168462 +| mem: 732}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-02/mkCons-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-02/mkCons-02.uplc.expected new file mode 100644 index 000000000..646ab883e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/mkCons/mkCons-02/mkCons-02.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con (list integer) [0,1,2])) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/modInteger/modInteger-01/modInteger-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/modInteger/modInteger-01/modInteger-01.uplc new file mode 100644 index 000000000..02bf787d2 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/modInteger/modInteger-01/modInteger-01.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin modInteger) (con integer 2) ] (con integer 3) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/modInteger/modInteger-01/modInteger-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/modInteger/modInteger-01/modInteger-01.uplc.budget.expected new file mode 100644 index 000000000..f432423f1 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/modInteger/modInteger-01/modInteger-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 212030 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/modInteger/modInteger-01/modInteger-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/modInteger/modInteger-01/modInteger-01.uplc.expected new file mode 100644 index 000000000..00abe6f7a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/modInteger/modInteger-01/modInteger-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 2)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-01/multiplyInteger-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-01/multiplyInteger-01.uplc new file mode 100644 index 000000000..b95eb85df --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-01/multiplyInteger-01.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin multiplyInteger) (con integer 1) ] (con integer 1) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-01/multiplyInteger-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-01/multiplyInteger-01.uplc.budget.expected new file mode 100644 index 000000000..d02d7b210 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-01/multiplyInteger-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 171053 +| mem: 602}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-01/multiplyInteger-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-01/multiplyInteger-01.uplc.expected new file mode 100644 index 000000000..8e9a3b22d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-01/multiplyInteger-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 1)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-02/multiplyInteger-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-02/multiplyInteger-02.uplc new file mode 100644 index 000000000..7bfef64b0 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-02/multiplyInteger-02.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin multiplyInteger) (con integer 793479793478939166266268485555555) ] (con integer 0) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-02/multiplyInteger-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-02/multiplyInteger-02.uplc.budget.expected new file mode 100644 index 000000000..32f432fdb --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-02/multiplyInteger-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 171572 +| mem: 603}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-02/multiplyInteger-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-02/multiplyInteger-02.uplc.expected new file mode 100644 index 000000000..87e0223f6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-02/multiplyInteger-02.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 0)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-03/multiplyInteger-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-03/multiplyInteger-03.uplc new file mode 100644 index 000000000..53b0e0618 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-03/multiplyInteger-03.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin multiplyInteger) (con integer 793479793478939) ] (con integer 166266268485555555) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-03/multiplyInteger-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-03/multiplyInteger-03.uplc.budget.expected new file mode 100644 index 000000000..d02d7b210 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-03/multiplyInteger-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 171053 +| mem: 602}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-03/multiplyInteger-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-03/multiplyInteger-03.uplc.expected new file mode 100644 index 000000000..b6b6b0b0a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-03/multiplyInteger-03.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 131928924380432445633603606956145)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-04/multiplyInteger-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-04/multiplyInteger-04.uplc new file mode 100644 index 000000000..c7be4f5e2 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-04/multiplyInteger-04.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin multiplyInteger) (con integer 793479793478939) ] (con integer -166266268485555555) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-04/multiplyInteger-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-04/multiplyInteger-04.uplc.budget.expected new file mode 100644 index 000000000..d02d7b210 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-04/multiplyInteger-04.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 171053 +| mem: 602}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-04/multiplyInteger-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-04/multiplyInteger-04.uplc.expected new file mode 100644 index 000000000..ce23b66ef --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-04/multiplyInteger-04.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer -131928924380432445633603606956145)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-05/multiplyInteger-05.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-05/multiplyInteger-05.uplc new file mode 100644 index 000000000..0f29a07e4 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-05/multiplyInteger-05.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin multiplyInteger) (con integer -793479793478939) ] (con integer 166266268485555555) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-05/multiplyInteger-05.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-05/multiplyInteger-05.uplc.budget.expected new file mode 100644 index 000000000..d02d7b210 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-05/multiplyInteger-05.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 171053 +| mem: 602}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-05/multiplyInteger-05.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-05/multiplyInteger-05.uplc.expected new file mode 100644 index 000000000..ce23b66ef --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-05/multiplyInteger-05.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer -131928924380432445633603606956145)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-06/multiplyInteger-06.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-06/multiplyInteger-06.uplc new file mode 100644 index 000000000..2a8153bee --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-06/multiplyInteger-06.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin multiplyInteger) (con integer -793479793478939) ] (con integer -166266268485555555) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-06/multiplyInteger-06.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-06/multiplyInteger-06.uplc.budget.expected new file mode 100644 index 000000000..d02d7b210 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-06/multiplyInteger-06.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 171053 +| mem: 602}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-06/multiplyInteger-06.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-06/multiplyInteger-06.uplc.expected new file mode 100644 index 000000000..b6b6b0b0a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/multiplyInteger/multiplyInteger-06/multiplyInteger-06.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 131928924380432445633603606956145)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-01/nullList-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-01/nullList-01.uplc new file mode 100644 index 000000000..4bee0ed85 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-01/nullList-01.uplc @@ -0,0 +1 @@ +(program 0.0.0 [(force (builtin nullList)) (con (list integer) [ 1, 2, 3 ])]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-01/nullList-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-01/nullList-01.uplc.budget.expected new file mode 100644 index 000000000..58da45877 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-01/nullList-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 138533 +| mem: 532}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-01/nullList-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-01/nullList-01.uplc.expected new file mode 100644 index 000000000..dd87da548 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-01/nullList-01.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-02/nullList-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-02/nullList-02.uplc new file mode 100644 index 000000000..be50b89c1 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-02/nullList-02.uplc @@ -0,0 +1 @@ +(program 0.0.0 [(force (builtin nullList)) (con (list integer) [ ])]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-02/nullList-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-02/nullList-02.uplc.budget.expected new file mode 100644 index 000000000..58da45877 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-02/nullList-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 138533 +| mem: 532}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-02/nullList-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-02/nullList-02.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/nullList/nullList-02/nullList-02.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-01/case-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-01/case-01.uplc new file mode 100644 index 000000000..5863168cf --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-01/case-01.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin orByteString) (con bool False) ] (con bytestring #) ] + (con bytestring #ff) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-01/case-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-01/case-01.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-01/case-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-01/case-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-01/case-01.uplc.expected new file mode 100644 index 000000000..5dbd40474 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-01/case-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-02/case-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-02/case-02.uplc new file mode 100644 index 000000000..39284d2de --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-02/case-02.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin orByteString) (con bool False) ] (con bytestring #ff) ] + (con bytestring #) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-02/case-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-02/case-02.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-02/case-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-02/case-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-02/case-02.uplc.expected new file mode 100644 index 000000000..5dbd40474 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-02/case-02.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-03/case-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-03/case-03.uplc new file mode 100644 index 000000000..ee4e9f7a8 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-03/case-03.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin orByteString) (con bool False) ] (con bytestring #ff) ] + (con bytestring #00) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-03/case-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-03/case-03.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-03/case-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-03/case-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-03/case-03.uplc.expected new file mode 100644 index 000000000..f596b7aaa --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-03/case-03.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-04/case-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-04/case-04.uplc new file mode 100644 index 000000000..acd763081 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-04/case-04.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin orByteString) (con bool False) ] (con bytestring #00) ] + (con bytestring #ff) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-04/case-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-04/case-04.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-04/case-04.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-04/case-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-04/case-04.uplc.expected new file mode 100644 index 000000000..f596b7aaa --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-04/case-04.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-05/case-05.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-05/case-05.uplc new file mode 100644 index 000000000..18eedd66f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-05/case-05.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin orByteString) (con bool False) ] (con bytestring #4f00) ] + (con bytestring #f4) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-05/case-05.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-05/case-05.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-05/case-05.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-05/case-05.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-05/case-05.uplc.expected new file mode 100644 index 000000000..f596b7aaa --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-05/case-05.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-06/case-06.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-06/case-06.uplc new file mode 100644 index 000000000..2d6865c83 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-06/case-06.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin orByteString) (con bool True) ] (con bytestring #) ] + (con bytestring #ff) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-06/case-06.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-06/case-06.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-06/case-06.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-06/case-06.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-06/case-06.uplc.expected new file mode 100644 index 000000000..f596b7aaa --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-06/case-06.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-07/case-07.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-07/case-07.uplc new file mode 100644 index 000000000..f83daa737 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-07/case-07.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin orByteString) (con bool True) ] (con bytestring #ff) ] + (con bytestring #) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-07/case-07.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-07/case-07.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-07/case-07.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-07/case-07.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-07/case-07.uplc.expected new file mode 100644 index 000000000..f596b7aaa --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-07/case-07.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-08/case-08.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-08/case-08.uplc new file mode 100644 index 000000000..c49b41bd2 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-08/case-08.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin orByteString) (con bool True) ] (con bytestring #ff) ] + (con bytestring #00) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-08/case-08.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-08/case-08.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-08/case-08.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-08/case-08.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-08/case-08.uplc.expected new file mode 100644 index 000000000..f596b7aaa --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-08/case-08.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-09/case-09.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-09/case-09.uplc new file mode 100644 index 000000000..134c7231d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-09/case-09.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin orByteString) (con bool True) ] (con bytestring #00) ] + (con bytestring #ff) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-09/case-09.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-09/case-09.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-09/case-09.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-09/case-09.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-09/case-09.uplc.expected new file mode 100644 index 000000000..f596b7aaa --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-09/case-09.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-10/case-10.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-10/case-10.uplc new file mode 100644 index 000000000..dede96f54 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-10/case-10.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin orByteString) (con bool True) ] (con bytestring #4f00) ] + (con bytestring #f4) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-10/case-10.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-10/case-10.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-10/case-10.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-10/case-10.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-10/case-10.uplc.expected new file mode 100644 index 000000000..b9430a48d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-10/case-10.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ff00)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-11/case-11.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-11/case-11.uplc new file mode 100644 index 000000000..b1782f72c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-11/case-11.uplc @@ -0,0 +1,12 @@ +(program 1.0.0 + [ + [ + [ + (builtin orByteString) + (con bool False) + ] + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con bytestring #db9c861c98a3d19cb928c22a32aaae0a4f740113dc48734d3c001657cb8fd2b9497faf16a40c1ecdd7d6581b55b625553af3) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-11/case-11.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-11/case-11.uplc.budget.expected new file mode 100644 index 000000000..7addf0a95 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-11/case-11.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 221670 +| mem: 807}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-11/case-11.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-11/case-11.uplc.expected new file mode 100644 index 000000000..33ec69cb2 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-11/case-11.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #fbdef6de9da7d1bfbde8db3b3bbebf6ecffdc1dffc6bf3dd7f613e57df8fd7ffdd7fefb6e7be5ecfdff7f8 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-12/case-12.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-12/case-12.uplc new file mode 100644 index 000000000..d95ffea05 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-12/case-12.uplc @@ -0,0 +1,12 @@ +(program 1.0.0 + [ + [ + [ + (builtin orByteString) + (con bool True) + ] + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con bytestring #db9c861c98a3d19cb928c22a32aaae0a4f740113dc48734d3c001657cb8fd2b9497faf16a40c1ecdd7d6581b55b625553af3) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-12/case-12.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-12/case-12.uplc.budget.expected new file mode 100644 index 000000000..7addf0a95 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-12/case-12.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 221670 +| mem: 807}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-12/case-12.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-12/case-12.uplc.expected new file mode 100644 index 000000000..c3a898a63 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-12/case-12.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #fbdef6de9da7d1bfbde8db3b3bbebf6ecffdc1dffc6bf3dd7f613e57df8fd7ffdd7fefb6e7be5ecfdff7f81b55b625553af3 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-13/case-13.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-13/case-13.uplc new file mode 100644 index 000000000..43b4ee800 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-13/case-13.uplc @@ -0,0 +1,12 @@ +(program 1.0.0 + [ + [ + [ + (builtin orByteString) + (con bool False) + ] + (con bytestring #db9c861c98a3d19cb928c22a32aaae0a4f740113dc48734d3c001657cb8fd2b9497faf16a40c1ecdd7d6581b55b625553af3) + ] + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-13/case-13.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-13/case-13.uplc.budget.expected new file mode 100644 index 000000000..0d79b6faf --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-13/case-13.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 221677 +| mem: 807}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-13/case-13.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-13/case-13.uplc.expected new file mode 100644 index 000000000..33ec69cb2 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-13/case-13.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #fbdef6de9da7d1bfbde8db3b3bbebf6ecffdc1dffc6bf3dd7f613e57df8fd7ffdd7fefb6e7be5ecfdff7f8 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-14/case-14.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-14/case-14.uplc new file mode 100644 index 000000000..7ea835827 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-14/case-14.uplc @@ -0,0 +1,12 @@ +(program 1.0.0 + [ + [ + [ + (builtin orByteString) + (con bool True) + ] + (con bytestring #db9c861c98a3d19cb928c22a32aaae0a4f740113dc48734d3c001657cb8fd2b9497faf16a40c1ecdd7d6581b55b625553af3) + ] + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-14/case-14.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-14/case-14.uplc.budget.expected new file mode 100644 index 000000000..0d79b6faf --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-14/case-14.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 221677 +| mem: 807}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-14/case-14.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-14/case-14.uplc.expected new file mode 100644 index 000000000..c3a898a63 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/orByteString/case-14/case-14.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #fbdef6de9da7d1bfbde8db3b3bbebf6ecffdc1dffc6bf3dd7f613e57df8fd7ffdd7fefb6e7be5ecfdff7f81b55b625553af3 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/quotientInteger/quotientInteger-01/quotientInteger-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/quotientInteger/quotientInteger-01/quotientInteger-01.uplc new file mode 100644 index 000000000..f3f283354 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/quotientInteger/quotientInteger-01/quotientInteger-01.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin quotientInteger) (con integer 1) ] (con integer 2) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/quotientInteger/quotientInteger-01/quotientInteger-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/quotientInteger/quotientInteger-01/quotientInteger-01.uplc.budget.expected new file mode 100644 index 000000000..f432423f1 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/quotientInteger/quotientInteger-01/quotientInteger-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 212030 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/quotientInteger/quotientInteger-01/quotientInteger-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/quotientInteger/quotientInteger-01/quotientInteger-01.uplc.expected new file mode 100644 index 000000000..87e0223f6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/quotientInteger/quotientInteger-01/quotientInteger-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 0)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-01/case-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-01/case-01.uplc new file mode 100644 index 000000000..642688e71 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-01/case-01.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin readBit) (con bytestring #) ] (con integer 0) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-01/case-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-01/case-01.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-01/case-01.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-01/case-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-01/case-01.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-01/case-01.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-02/case-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-02/case-02.uplc new file mode 100644 index 000000000..b66f93b30 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-02/case-02.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin readBit) (con bytestring #) ] (con integer 345) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-02/case-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-02/case-02.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-02/case-02.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-02/case-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-02/case-02.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-02/case-02.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-03/case-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-03/case-03.uplc new file mode 100644 index 000000000..67fc3d0e8 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-03/case-03.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin readBit) (con bytestring #) ] (con integer -1) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-03/case-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-03/case-03.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-03/case-03.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-03/case-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-03/case-03.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-03/case-03.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-04/case-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-04/case-04.uplc new file mode 100644 index 000000000..3f5d40ac2 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-04/case-04.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin readBit) (con bytestring #ff) ] (con integer -1) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-04/case-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-04/case-04.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-04/case-04.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-04/case-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-04/case-04.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-04/case-04.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-05/case-05.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-05/case-05.uplc new file mode 100644 index 000000000..acd1ac299 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-05/case-05.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin readBit) (con bytestring #f4) ] (con integer 0) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-05/case-05.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-05/case-05.uplc.budget.expected new file mode 100644 index 000000000..cbe7c7c53 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-05/case-05.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 175436 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-05/case-05.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-05/case-05.uplc.expected new file mode 100644 index 000000000..3ee9f07f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-05/case-05.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-06/case-06.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-06/case-06.uplc new file mode 100644 index 000000000..dc836abd2 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-06/case-06.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin readBit) (con bytestring #f4) ] (con integer 1) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-06/case-06.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-06/case-06.uplc.budget.expected new file mode 100644 index 000000000..cbe7c7c53 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-06/case-06.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 175436 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-06/case-06.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-06/case-06.uplc.expected new file mode 100644 index 000000000..3ee9f07f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-06/case-06.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-07/case-07.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-07/case-07.uplc new file mode 100644 index 000000000..0b79ff7d9 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-07/case-07.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin readBit) (con bytestring #f4) ] (con integer 2) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-07/case-07.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-07/case-07.uplc.budget.expected new file mode 100644 index 000000000..cbe7c7c53 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-07/case-07.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 175436 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-07/case-07.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-07/case-07.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-07/case-07.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-08/case-08.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-08/case-08.uplc new file mode 100644 index 000000000..457013464 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-08/case-08.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin readBit) (con bytestring #f4) ] (con integer 3) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-08/case-08.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-08/case-08.uplc.budget.expected new file mode 100644 index 000000000..cbe7c7c53 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-08/case-08.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 175436 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-08/case-08.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-08/case-08.uplc.expected new file mode 100644 index 000000000..3ee9f07f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-08/case-08.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-09/case-09.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-09/case-09.uplc new file mode 100644 index 000000000..e19a15e48 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-09/case-09.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin readBit) (con bytestring #f4) ] (con integer 4) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-09/case-09.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-09/case-09.uplc.budget.expected new file mode 100644 index 000000000..cbe7c7c53 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-09/case-09.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 175436 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-09/case-09.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-09/case-09.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-09/case-09.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-10/case-10.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-10/case-10.uplc new file mode 100644 index 000000000..067aceea1 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-10/case-10.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin readBit) (con bytestring #f4) ] (con integer 5) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-10/case-10.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-10/case-10.uplc.budget.expected new file mode 100644 index 000000000..cbe7c7c53 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-10/case-10.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 175436 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-10/case-10.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-10/case-10.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-10/case-10.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-11/case-11.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-11/case-11.uplc new file mode 100644 index 000000000..5f2ab5044 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-11/case-11.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin readBit) (con bytestring #f4) ] (con integer 6) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-11/case-11.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-11/case-11.uplc.budget.expected new file mode 100644 index 000000000..cbe7c7c53 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-11/case-11.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 175436 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-11/case-11.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-11/case-11.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-11/case-11.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-12/case-12.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-12/case-12.uplc new file mode 100644 index 000000000..219cb1c60 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-12/case-12.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin readBit) (con bytestring #f4) ] (con integer 7) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-12/case-12.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-12/case-12.uplc.budget.expected new file mode 100644 index 000000000..cbe7c7c53 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-12/case-12.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 175436 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-12/case-12.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-12/case-12.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-12/case-12.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-13/case-13.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-13/case-13.uplc new file mode 100644 index 000000000..2b80322e5 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-13/case-13.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin readBit) (con bytestring #f4) ] (con integer 8) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-13/case-13.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-13/case-13.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-13/case-13.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-13/case-13.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-13/case-13.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-13/case-13.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-14/case-14.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-14/case-14.uplc new file mode 100644 index 000000000..594908798 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-14/case-14.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin readBit) (con bytestring #fff4) ] (con integer 16) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-14/case-14.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-14/case-14.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-14/case-14.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-14/case-14.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-14/case-14.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-14/case-14.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-15/case-15.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-15/case-15.uplc new file mode 100644 index 000000000..1abdabae5 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-15/case-15.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin readBit) (con bytestring #f4ff) ] (con integer 10) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-15/case-15.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-15/case-15.uplc.budget.expected new file mode 100644 index 000000000..cbe7c7c53 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-15/case-15.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 175436 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-15/case-15.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-15/case-15.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-15/case-15.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-16/case-16.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-16/case-16.uplc new file mode 100644 index 000000000..a19fe4e85 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-16/case-16.uplc @@ -0,0 +1,9 @@ +(program 1.0.0 + [ + [ + (builtin readBit) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer 341) -- Third bit from left end: 1 + ] +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-16/case-16.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-16/case-16.uplc.budget.expected new file mode 100644 index 000000000..cbe7c7c53 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-16/case-16.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 175436 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-16/case-16.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-16/case-16.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-16/case-16.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-17/case-17.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-17/case-17.uplc new file mode 100644 index 000000000..8ba18504f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-17/case-17.uplc @@ -0,0 +1,9 @@ +(program 1.0.0 + [ + [ + (builtin readBit) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer 343) -- Leftmost bit: 0 + ] +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-17/case-17.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-17/case-17.uplc.budget.expected new file mode 100644 index 000000000..cbe7c7c53 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-17/case-17.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 175436 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-17/case-17.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-17/case-17.uplc.expected new file mode 100644 index 000000000..3ee9f07f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-17/case-17.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-18/case-18.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-18/case-18.uplc new file mode 100644 index 000000000..af45bec0a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-18/case-18.uplc @@ -0,0 +1,9 @@ +(program 1.0.0 + [ + [ + (builtin readBit) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer 344) -- Just past the end + ] +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-18/case-18.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-18/case-18.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-18/case-18.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-18/case-18.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-18/case-18.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-18/case-18.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-19/case-19.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-19/case-19.uplc new file mode 100644 index 000000000..8e378d3c7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-19/case-19.uplc @@ -0,0 +1,9 @@ +(program 1.0.0 + [ + [ + (builtin readBit) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer 9223372036854775807) -- maxBound :: Int64 + ] +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-19/case-19.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-19/case-19.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-19/case-19.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-19/case-19.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-19/case-19.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-19/case-19.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-20/case-20.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-20/case-20.uplc new file mode 100644 index 000000000..32d930381 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-20/case-20.uplc @@ -0,0 +1,9 @@ +(program 1.0.0 + [ + [ + (builtin readBit) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer 9223372036854775808) -- (maxBound :: Int64) + 1 + ] +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-20/case-20.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-20/case-20.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-20/case-20.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-20/case-20.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-20/case-20.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-20/case-20.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-21/case-21.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-21/case-21.uplc new file mode 100644 index 000000000..fd522e9b4 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-21/case-21.uplc @@ -0,0 +1,9 @@ +(program 1.0.0 + [ + [ + (builtin readBit) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer -9223372036854775808) -- (minBound :: Int64) + ] +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-21/case-21.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-21/case-21.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-21/case-21.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-21/case-21.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-21/case-21.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-21/case-21.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-22/case-22.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-22/case-22.uplc new file mode 100644 index 000000000..6a14bf997 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-22/case-22.uplc @@ -0,0 +1,9 @@ +(program 1.0.0 + [ + [ + (builtin readBit) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer -9223372036854775809) -- (minBound :: Int64) - 1 + ] +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-22/case-22.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-22/case-22.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-22/case-22.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-22/case-22.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-22/case-22.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/readBit/case-22/case-22.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/remainderInteger/remainderInteger-01/remainderInteger-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/remainderInteger/remainderInteger-01/remainderInteger-01.uplc new file mode 100644 index 000000000..d82d0d530 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/remainderInteger/remainderInteger-01/remainderInteger-01.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin remainderInteger) (con integer 1) ] (con integer 2) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/remainderInteger/remainderInteger-01/remainderInteger-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/remainderInteger/remainderInteger-01/remainderInteger-01.uplc.budget.expected new file mode 100644 index 000000000..f432423f1 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/remainderInteger/remainderInteger-01/remainderInteger-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 212030 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/remainderInteger/remainderInteger-01/remainderInteger-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/remainderInteger/remainderInteger-01/remainderInteger-01.uplc.expected new file mode 100644 index 000000000..8e9a3b22d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/remainderInteger/remainderInteger-01/remainderInteger-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 1)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-01/case-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-01/case-01.uplc new file mode 100644 index 000000000..b4d33dd15 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-01/case-01.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin replicateByte) (con integer -1) ] (con integer 0) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-01/case-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-01/case-01.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-01/case-01.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-01/case-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-01/case-01.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-01/case-01.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-02/case-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-02/case-02.uplc new file mode 100644 index 000000000..002b6884d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-02/case-02.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin replicateByte) (con integer -1) ] (con integer 3) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-02/case-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-02/case-02.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-02/case-02.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-02/case-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-02/case-02.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-02/case-02.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-03/case-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-03/case-03.uplc new file mode 100644 index 000000000..34ef0fce7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-03/case-03.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin replicateByte) (con integer 1) ] (con integer -1) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-03/case-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-03/case-03.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-03/case-03.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-03/case-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-03/case-03.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-03/case-03.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-04/case-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-04/case-04.uplc new file mode 100644 index 000000000..ffbf5956c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-04/case-04.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin replicateByte) (con integer 1) ] (con integer 256) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-04/case-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-04/case-04.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-04/case-04.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-04/case-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-04/case-04.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-04/case-04.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-05/case-05.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-05/case-05.uplc new file mode 100644 index 000000000..ced967f77 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-05/case-05.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin replicateByte) (con integer 4) ] (con integer -1) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-05/case-05.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-05/case-05.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-05/case-05.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-05/case-05.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-05/case-05.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-05/case-05.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-06/case-06.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-06/case-06.uplc new file mode 100644 index 000000000..b2c190bbb --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-06/case-06.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin replicateByte) (con integer 4) ] (con integer 256) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-06/case-06.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-06/case-06.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-06/case-06.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-06/case-06.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-06/case-06.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-06/case-06.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-07/case-07.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-07/case-07.uplc new file mode 100644 index 000000000..4e2d5106f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-07/case-07.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin replicateByte) (con integer 0) ] (con integer 255) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-07/case-07.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-07/case-07.uplc.budget.expected new file mode 100644 index 000000000..c87df8609 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-07/case-07.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 260294 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-07/case-07.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-07/case-07.uplc.expected new file mode 100644 index 000000000..5dbd40474 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-07/case-07.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-08/case-08.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-08/case-08.uplc new file mode 100644 index 000000000..817123e8c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-08/case-08.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin replicateByte) (con integer 4) ] (con integer 255) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-08/case-08.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-08/case-08.uplc.budget.expected new file mode 100644 index 000000000..efb388a63 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-08/case-08.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 260453 +| mem: 602}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-08/case-08.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-08/case-08.uplc.expected new file mode 100644 index 000000000..b6b8a1883 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-08/case-08.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ffffffff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-09/case-09.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-09/case-09.uplc new file mode 100644 index 000000000..bc68fbf8b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-09/case-09.uplc @@ -0,0 +1,2 @@ +-- Maximum allowed length +(program 1.0.0 [ [ (builtin replicateByte) (con integer 8192) ] (con integer 141) ]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-09/case-09.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-09/case-09.uplc.budget.expected new file mode 100644 index 000000000..cf9145bf6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-09/case-09.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 423110 +| mem: 1625}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-09/case-09.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-09/case-09.uplc.expected new file mode 100644 index 000000000..261431573 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-09/case-09.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-10/case-10.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-10/case-10.uplc new file mode 100644 index 000000000..6eddbe0e8 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-10/case-10.uplc @@ -0,0 +1,2 @@ +-- One greater than the maximum allowed length +(program 1.0.0 [ [ (builtin replicateByte) (con integer 8193) ] (con integer 141) ]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-10/case-10.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-10/case-10.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-10/case-10.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-10/case-10.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-10/case-10.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/replicateByte/case-10/case-10.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-empty/ripemd_160-empty.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-empty/ripemd_160-empty.uplc new file mode 100644 index 000000000..56d9fa2db --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-empty/ripemd_160-empty.uplc @@ -0,0 +1,14 @@ +-- Test vector (0-bit input) for Ripemd_160. +-- Output obtained using the online tool https://emn178.github.io/online-tools/ripemd_160.html +(program 1.0.0 + [ + [ + (builtin equalsByteString) + [ + (builtin ripemd_160) + (con bytestring #) + ] + ] + (con bytestring #9c1185a5c5e9fc54612808977ee8f548b2258d31) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-empty/ripemd_160-empty.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-empty/ripemd_160-empty.uplc.budget.expected new file mode 100644 index 000000000..291861826 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-empty/ripemd_160-empty.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 2130451 +| mem: 804}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-empty/ripemd_160-empty.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-empty/ripemd_160-empty.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-empty/ripemd_160-empty.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-length-200/ripemd_160-length-200.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-length-200/ripemd_160-length-200.uplc new file mode 100644 index 000000000..c44ab03a9 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-length-200/ripemd_160-length-200.uplc @@ -0,0 +1,14 @@ +-- Test vector (0-bit input) for Ripemd_160. +-- Output obtained using the online tool https://emn178.github.io/online-tools/ripemd_160.html +(program 1.0.0 + [ + [ + (builtin equalsByteString) + [ + (builtin ripemd_160) + (con bytestring #2e7ea84da4bc4d7cfb463e3f2c8647057afff3fbececa1d200) + ] + ] + (con bytestring #f18921115370b049e99dfdd49fc92b371dd7c7e9) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-length-200/ripemd_160-length-200.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-length-200/ripemd_160-length-200.uplc.budget.expected new file mode 100644 index 000000000..25ed34590 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-length-200/ripemd_160-length-200.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 2204011 +| mem: 804}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-length-200/ripemd_160-length-200.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-length-200/ripemd_160-length-200.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/ripemd_160/ripemd_160-length-200/ripemd_160-length-200.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-01/case-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-01/case-01.uplc new file mode 100644 index 000000000..4beb8f494 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-01/case-01.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin rotateByteString) (con bytestring #) ] (con integer 3) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-01/case-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-01/case-01.uplc.budget.expected new file mode 100644 index 000000000..1293dc2f7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-01/case-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 248291 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-01/case-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-01/case-01.uplc.expected new file mode 100644 index 000000000..5dbd40474 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-01/case-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-02/case-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-02/case-02.uplc new file mode 100644 index 000000000..72f8b7acd --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-02/case-02.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin rotateByteString) (con bytestring #) ] (con integer -1) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-02/case-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-02/case-02.uplc.budget.expected new file mode 100644 index 000000000..1293dc2f7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-02/case-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 248291 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-02/case-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-02/case-02.uplc.expected new file mode 100644 index 000000000..5dbd40474 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-02/case-02.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-03/case-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-03/case-03.uplc new file mode 100644 index 000000000..b8ab36377 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-03/case-03.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin rotateByteString) (con bytestring #ebfc) ] (con integer 5) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-03/case-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-03/case-03.uplc.budget.expected new file mode 100644 index 000000000..1293dc2f7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-03/case-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 248291 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-03/case-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-03/case-03.uplc.expected new file mode 100644 index 000000000..0207fcc04 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-03/case-03.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #7f9d)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-04/case-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-04/case-04.uplc new file mode 100644 index 000000000..b371aa6ad --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-04/case-04.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin rotateByteString) (con bytestring #ebfc) ] (con integer -5) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-04/case-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-04/case-04.uplc.budget.expected new file mode 100644 index 000000000..1293dc2f7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-04/case-04.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 248291 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-04/case-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-04/case-04.uplc.expected new file mode 100644 index 000000000..921ae6c36 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-04/case-04.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #e75f)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-05/case-05.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-05/case-05.uplc new file mode 100644 index 000000000..d3b80505f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-05/case-05.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin rotateByteString) (con bytestring #ebfc) ] (con integer 16) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-05/case-05.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-05/case-05.uplc.budget.expected new file mode 100644 index 000000000..1293dc2f7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-05/case-05.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 248291 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-05/case-05.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-05/case-05.uplc.expected new file mode 100644 index 000000000..803ad8091 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-05/case-05.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ebfc)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-06/case-06.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-06/case-06.uplc new file mode 100644 index 000000000..735a64ee3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-06/case-06.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin rotateByteString) (con bytestring #ebfc) ] (con integer -16) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-06/case-06.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-06/case-06.uplc.budget.expected new file mode 100644 index 000000000..1293dc2f7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-06/case-06.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 248291 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-06/case-06.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-06/case-06.uplc.expected new file mode 100644 index 000000000..803ad8091 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-06/case-06.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ebfc)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-07/case-07.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-07/case-07.uplc new file mode 100644 index 000000000..0b7c0767a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-07/case-07.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin rotateByteString) (con bytestring #ebfc) ] (con integer 21) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-07/case-07.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-07/case-07.uplc.budget.expected new file mode 100644 index 000000000..1293dc2f7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-07/case-07.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 248291 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-07/case-07.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-07/case-07.uplc.expected new file mode 100644 index 000000000..0207fcc04 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-07/case-07.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #7f9d)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-08/case-08.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-08/case-08.uplc new file mode 100644 index 000000000..c3c12e880 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-08/case-08.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin rotateByteString) (con bytestring #ebfc) ] (con integer -21) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-08/case-08.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-08/case-08.uplc.budget.expected new file mode 100644 index 000000000..1293dc2f7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-08/case-08.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 248291 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-08/case-08.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-08/case-08.uplc.expected new file mode 100644 index 000000000..921ae6c36 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-08/case-08.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #e75f)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-09/case-09.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-09/case-09.uplc new file mode 100644 index 000000000..13e5ad8ae --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-09/case-09.uplc @@ -0,0 +1,10 @@ +-- Rotate by 0: the result should be the same as the input. +(program 1.0.0 + [ + [ + (builtin rotateByteString) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer 0) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-09/case-09.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-09/case-09.uplc.budget.expected new file mode 100644 index 000000000..77e6869d5 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-09/case-09.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 292356 +| mem: 606}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-09/case-09.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-09/case-09.uplc.expected new file mode 100644 index 000000000..d6af3df2d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-09/case-09.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-10/case-10.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-10/case-10.uplc new file mode 100644 index 000000000..c67835383 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-10/case-10.uplc @@ -0,0 +1,10 @@ +-- Rotate by 1000 times the bit length: the result should be the same as the input. +(program 1.0.0 + [ + [ + (builtin rotateByteString) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer 344000) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-10/case-10.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-10/case-10.uplc.budget.expected new file mode 100644 index 000000000..77e6869d5 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-10/case-10.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 292356 +| mem: 606}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-10/case-10.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-10/case-10.uplc.expected new file mode 100644 index 000000000..d6af3df2d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-10/case-10.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-11/case-11.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-11/case-11.uplc new file mode 100644 index 000000000..17a034419 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-11/case-11.uplc @@ -0,0 +1,10 @@ +-- Rotate by -10000 times the bit length: the result should be the same as the input. +(program 1.0.0 + [ + [ + (builtin rotateByteString) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer -3440000) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-11/case-11.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-11/case-11.uplc.budget.expected new file mode 100644 index 000000000..77e6869d5 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-11/case-11.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 292356 +| mem: 606}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-11/case-11.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-11/case-11.uplc.expected new file mode 100644 index 000000000..d6af3df2d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-11/case-11.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-12/case-12.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-12/case-12.uplc new file mode 100644 index 000000000..65d8d3278 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-12/case-12.uplc @@ -0,0 +1,9 @@ +(program 1.0.0 + [ + [ + (builtin rotateByteString) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer 23) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-12/case-12.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-12/case-12.uplc.budget.expected new file mode 100644 index 000000000..77e6869d5 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-12/case-12.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 292356 +| mem: 606}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-12/case-12.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-12/case-12.uplc.expected new file mode 100644 index 000000000..25ac4288a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-12/case-12.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #6b42c2401dcee02d9d85ce5eb341f6e0673a15d84cabb09f220a8102b3ce9fb0d233d92e63ac51d819e178 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-13/case-13.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-13/case-13.uplc new file mode 100644 index 000000000..12444edfc --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-13/case-13.uplc @@ -0,0 +1,10 @@ +-- Rotate by (1000 times the bit length) + 23 +(program 1.0.0 + [ + [ + (builtin rotateByteString) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer 344023) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-13/case-13.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-13/case-13.uplc.budget.expected new file mode 100644 index 000000000..77e6869d5 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-13/case-13.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 292356 +| mem: 606}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-13/case-13.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-13/case-13.uplc.expected new file mode 100644 index 000000000..25ac4288a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-13/case-13.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #6b42c2401dcee02d9d85ce5eb341f6e0673a15d84cabb09f220a8102b3ce9fb0d233d92e63ac51d819e178 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-14/case-14.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-14/case-14.uplc new file mode 100644 index 000000000..b949d3e4b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-14/case-14.uplc @@ -0,0 +1,10 @@ +-- Rotate by (-10000 times the bit length) + 23 +(program 1.0.0 + [ + [ + (builtin rotateByteString) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer -3439977) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-14/case-14.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-14/case-14.uplc.budget.expected new file mode 100644 index 000000000..77e6869d5 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-14/case-14.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 292356 +| mem: 606}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-14/case-14.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-14/case-14.uplc.expected new file mode 100644 index 000000000..25ac4288a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-14/case-14.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #6b42c2401dcee02d9d85ce5eb341f6e0673a15d84cabb09f220a8102b3ce9fb0d233d92e63ac51d819e178 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-15/case-15.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-15/case-15.uplc new file mode 100644 index 000000000..f78d4a196 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-15/case-15.uplc @@ -0,0 +1,10 @@ +-- Rotate by maxBound :: Int64 +(program 1.0.0 + [ + [ + (builtin rotateByteString) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer 9223372036854775807) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-15/case-15.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-15/case-15.uplc.budget.expected new file mode 100644 index 000000000..77e6869d5 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-15/case-15.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 292356 +| mem: 606}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-15/case-15.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-15/case-15.uplc.expected new file mode 100644 index 000000000..6cb0ead2c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-15/case-15.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #41f6e0673a15d84cabb09f220a8102b3ce9fb0d233d92e63ac51d819e1786b42c2401dcee02d9d85ce5eb3 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-16/case-16.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-16/case-16.uplc new file mode 100644 index 000000000..8d47b5878 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-16/case-16.uplc @@ -0,0 +1,10 @@ +-- Rotate by (maxBound :: Int64)+1 +(program 1.0.0 + [ + [ + (builtin rotateByteString) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer 9223372036854775808) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-16/case-16.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-16/case-16.uplc.budget.expected new file mode 100644 index 000000000..77e6869d5 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-16/case-16.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 292356 +| mem: 606}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-16/case-16.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-16/case-16.uplc.expected new file mode 100644 index 000000000..390e99d18 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-16/case-16.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #83edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b033c2f0d68584803b9dc05b3b0b9cbd66 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-17/case-17.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-17/case-17.uplc new file mode 100644 index 000000000..080907c56 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-17/case-17.uplc @@ -0,0 +1,10 @@ +-- Rotate by minBound :: Int64 +(program 1.0.0 + [ + [ + (builtin rotateByteString) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer -9223372036854775808) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-17/case-17.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-17/case-17.uplc.budget.expected new file mode 100644 index 000000000..77e6869d5 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-17/case-17.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 292356 +| mem: 606}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-17/case-17.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-17/case-17.uplc.expected new file mode 100644 index 000000000..b08e3aeab --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-17/case-17.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #44150205679d3f61a467b25cc758a3b033c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-18/case-18.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-18/case-18.uplc new file mode 100644 index 000000000..fd4372365 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-18/case-18.uplc @@ -0,0 +1,10 @@ +-- Rotate by (minBound :: Int64) - 1 +(program 1.0.0 + [ + [ + (builtin rotateByteString) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer -9223372036854775809) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-18/case-18.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-18/case-18.uplc.budget.expected new file mode 100644 index 000000000..77e6869d5 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-18/case-18.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 292356 +| mem: 606}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-18/case-18.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-18/case-18.uplc.expected new file mode 100644 index 000000000..75b64b4ff --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/rotateByteString/case-18/case-18.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #220a8102b3ce9fb0d233d92e63ac51d819e1786b42c2401dcee02d9d85ce5eb341f6e0673a15d84cabb09f + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-01/case-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-01/case-01.uplc new file mode 100644 index 000000000..2e3069237 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-01/case-01.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin shiftByteString) (con bytestring #) ] (con integer 3) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-01/case-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-01/case-01.uplc.budget.expected new file mode 100644 index 000000000..01ef2415d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-01/case-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 247561 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-01/case-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-01/case-01.uplc.expected new file mode 100644 index 000000000..5dbd40474 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-01/case-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-02/case-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-02/case-02.uplc new file mode 100644 index 000000000..9cf2ed935 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-02/case-02.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin shiftByteString) (con bytestring #) ] (con integer -3) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-02/case-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-02/case-02.uplc.budget.expected new file mode 100644 index 000000000..01ef2415d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-02/case-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 247561 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-02/case-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-02/case-02.uplc.expected new file mode 100644 index 000000000..5dbd40474 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-02/case-02.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-03/case-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-03/case-03.uplc new file mode 100644 index 000000000..06579fef7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-03/case-03.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin shiftByteString) (con bytestring #ebfc) ] (con integer 5) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-03/case-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-03/case-03.uplc.budget.expected new file mode 100644 index 000000000..01ef2415d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-03/case-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 247561 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-03/case-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-03/case-03.uplc.expected new file mode 100644 index 000000000..a5c9c9a58 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-03/case-03.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #7f80)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-04/case-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-04/case-04.uplc new file mode 100644 index 000000000..03d52f813 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-04/case-04.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin shiftByteString) (con bytestring #ebfc) ] (con integer -5) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-04/case-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-04/case-04.uplc.budget.expected new file mode 100644 index 000000000..01ef2415d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-04/case-04.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 247561 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-04/case-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-04/case-04.uplc.expected new file mode 100644 index 000000000..92745a343 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-04/case-04.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #075f)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-05/case-05.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-05/case-05.uplc new file mode 100644 index 000000000..562822aea --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-05/case-05.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin shiftByteString) (con bytestring #ebfc) ] (con integer 16) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-05/case-05.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-05/case-05.uplc.budget.expected new file mode 100644 index 000000000..01ef2415d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-05/case-05.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 247561 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-05/case-05.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-05/case-05.uplc.expected new file mode 100644 index 000000000..2ebf084ba --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-05/case-05.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #0000)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-06/case-06.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-06/case-06.uplc new file mode 100644 index 000000000..f26a14f40 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-06/case-06.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin shiftByteString) (con bytestring #ebfc) ] (con integer -16) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-06/case-06.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-06/case-06.uplc.budget.expected new file mode 100644 index 000000000..01ef2415d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-06/case-06.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 247561 +| mem: 601}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-06/case-06.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-06/case-06.uplc.expected new file mode 100644 index 000000000..2ebf084ba --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-06/case-06.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #0000)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-07/case-07.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-07/case-07.uplc new file mode 100644 index 000000000..2b90fe215 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-07/case-07.uplc @@ -0,0 +1,10 @@ +-- Shift by 0: the result should be the same as the input. +(program 1.0.0 + [ + [ + (builtin shiftByteString) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer 0) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-07/case-07.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-07/case-07.uplc.budget.expected new file mode 100644 index 000000000..056a22ee3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-07/case-07.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 292271 +| mem: 606}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-07/case-07.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-07/case-07.uplc.expected new file mode 100644 index 000000000..d6af3df2d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-07/case-07.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-08/case-08.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-08/case-08.uplc new file mode 100644 index 000000000..31677486d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-08/case-08.uplc @@ -0,0 +1,9 @@ +(program 1.0.0 + [ + [ + (builtin shiftByteString) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer 23) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-08/case-08.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-08/case-08.uplc.budget.expected new file mode 100644 index 000000000..056a22ee3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-08/case-08.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 292271 +| mem: 606}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-08/case-08.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-08/case-08.uplc.expected new file mode 100644 index 000000000..d862586ef --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-08/case-08.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #6b42c2401dcee02d9d85ce5eb341f6e0673a15d84cabb09f220a8102b3ce9fb0d233d92e63ac51d8000000 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-09/case-09.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-09/case-09.uplc new file mode 100644 index 000000000..634187320 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-09/case-09.uplc @@ -0,0 +1,9 @@ +(program 1.0.0 + [ + [ + (builtin shiftByteString) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer -23) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-09/case-09.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-09/case-09.uplc.budget.expected new file mode 100644 index 000000000..056a22ee3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-09/case-09.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 292271 +| mem: 606}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-09/case-09.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-09/case-09.uplc.expected new file mode 100644 index 000000000..51bbec095 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-09/case-09.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #0000006785e1ad0b0900773b80b67617397acd07db819ce8576132aec27c882a040acf3a7ec348cf64b98e + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-10/case-10.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-10/case-10.uplc new file mode 100644 index 000000000..48dab8a61 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-10/case-10.uplc @@ -0,0 +1,9 @@ +(program 1.0.0 + [ + [ + (builtin shiftByteString) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer 1000000) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-10/case-10.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-10/case-10.uplc.budget.expected new file mode 100644 index 000000000..056a22ee3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-10/case-10.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 292271 +| mem: 606}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-10/case-10.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-10/case-10.uplc.expected new file mode 100644 index 000000000..1d4a1034c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-10/case-10.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #00000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-11/case-11.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-11/case-11.uplc new file mode 100644 index 000000000..7fe030f6b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-11/case-11.uplc @@ -0,0 +1,9 @@ +(program 1.0.0 + [ + [ + (builtin shiftByteString) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer -1000000) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-11/case-11.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-11/case-11.uplc.budget.expected new file mode 100644 index 000000000..056a22ee3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-11/case-11.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 292271 +| mem: 606}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-11/case-11.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-11/case-11.uplc.expected new file mode 100644 index 000000000..1d4a1034c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-11/case-11.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #00000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-12/case-12.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-12/case-12.uplc new file mode 100644 index 000000000..897d1d05a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-12/case-12.uplc @@ -0,0 +1,10 @@ +-- Shift by maxBound :: Int64 +(program 1.0.0 + [ + [ + (builtin shiftByteString) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer 9223372036854775807) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-12/case-12.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-12/case-12.uplc.budget.expected new file mode 100644 index 000000000..056a22ee3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-12/case-12.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 292271 +| mem: 606}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-12/case-12.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-12/case-12.uplc.expected new file mode 100644 index 000000000..1d4a1034c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-12/case-12.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #00000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-13/case-13.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-13/case-13.uplc new file mode 100644 index 000000000..ffda693ea --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-13/case-13.uplc @@ -0,0 +1,10 @@ +-- Shift by (maxBound :: Int64) + 1 +(program 1.0.0 + [ + [ + (builtin shiftByteString) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer 9223372036854775808) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-13/case-13.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-13/case-13.uplc.budget.expected new file mode 100644 index 000000000..056a22ee3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-13/case-13.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 292271 +| mem: 606}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-13/case-13.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-13/case-13.uplc.expected new file mode 100644 index 000000000..1d4a1034c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-13/case-13.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #00000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-14/case-14.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-14/case-14.uplc new file mode 100644 index 000000000..82122de10 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-14/case-14.uplc @@ -0,0 +1,10 @@ +-- Shift by minBound :: Int64 +(program 1.0.0 + [ + [ + (builtin shiftByteString) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer -9223372036854775808) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-14/case-14.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-14/case-14.uplc.budget.expected new file mode 100644 index 000000000..056a22ee3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-14/case-14.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 292271 +| mem: 606}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-14/case-14.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-14/case-14.uplc.expected new file mode 100644 index 000000000..1d4a1034c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-14/case-14.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #00000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-15/case-15.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-15/case-15.uplc new file mode 100644 index 000000000..c34231d19 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-15/case-15.uplc @@ -0,0 +1,10 @@ +-- Shift by (minBound :: Int64) - 1 +(program 1.0.0 + [ + [ + (builtin shiftByteString) + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con integer -9223372036854775809) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-15/case-15.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-15/case-15.uplc.budget.expected new file mode 100644 index 000000000..056a22ee3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-15/case-15.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 292271 +| mem: 606}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-15/case-15.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-15/case-15.uplc.expected new file mode 100644 index 000000000..1d4a1034c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/shiftByteString/case-15/case-15.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #00000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-01/sliceByteString-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-01/sliceByteString-01.uplc new file mode 100644 index 000000000..f283831b8 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-01/sliceByteString-01.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin sliceByteString) (con integer 3) (con integer 5) (con bytestring #54686543616B654973414C6965)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-01/sliceByteString-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-01/sliceByteString-01.uplc.budget.expected new file mode 100644 index 000000000..4d0cc151b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-01/sliceByteString-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 132569 +| mem: 804}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-01/sliceByteString-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-01/sliceByteString-01.uplc.expected new file mode 100644 index 000000000..2523d94e7 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-01/sliceByteString-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #43616b6549)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-02/sliceByteString-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-02/sliceByteString-02.uplc new file mode 100644 index 000000000..2dfcd48dd --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-02/sliceByteString-02.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin sliceByteString) (con integer -3) (con integer 5) (con bytestring #54686543616B654973414C6965)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-02/sliceByteString-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-02/sliceByteString-02.uplc.budget.expected new file mode 100644 index 000000000..4d0cc151b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-02/sliceByteString-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 132569 +| mem: 804}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-02/sliceByteString-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-02/sliceByteString-02.uplc.expected new file mode 100644 index 000000000..31f7fd672 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-02/sliceByteString-02.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #5468654361)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-03/sliceByteString-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-03/sliceByteString-03.uplc new file mode 100644 index 000000000..004585d45 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-03/sliceByteString-03.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin sliceByteString) (con integer -3) (con integer 1234) (con bytestring #54686543616B654973414C6965)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-03/sliceByteString-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-03/sliceByteString-03.uplc.budget.expected new file mode 100644 index 000000000..4d0cc151b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-03/sliceByteString-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 132569 +| mem: 804}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-03/sliceByteString-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-03/sliceByteString-03.uplc.expected new file mode 100644 index 000000000..fba0ee4a1 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-03/sliceByteString-03.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #54686543616b654973414c6965)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-04/sliceByteString-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-04/sliceByteString-04.uplc new file mode 100644 index 000000000..eaf021921 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-04/sliceByteString-04.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin sliceByteString) (con integer 5) (con integer 3) (con bytestring #54686543616B654973414C6965)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-04/sliceByteString-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-04/sliceByteString-04.uplc.budget.expected new file mode 100644 index 000000000..4d0cc151b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-04/sliceByteString-04.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 132569 +| mem: 804}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-04/sliceByteString-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-04/sliceByteString-04.uplc.expected new file mode 100644 index 000000000..07f93cab4 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-04/sliceByteString-04.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #6b6549)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-05/sliceByteString-05.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-05/sliceByteString-05.uplc new file mode 100644 index 000000000..f72177c29 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-05/sliceByteString-05.uplc @@ -0,0 +1,3 @@ +(program 1.0.0 + [(builtin sliceByteString) (con integer 123456789123456789) (con integer 123456789123456789) (con bytestring #54686543616B654973414C6965)] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-05/sliceByteString-05.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-05/sliceByteString-05.uplc.budget.expected new file mode 100644 index 000000000..4d0cc151b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-05/sliceByteString-05.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 132569 +| mem: 804}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-05/sliceByteString-05.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-05/sliceByteString-05.uplc.expected new file mode 100644 index 000000000..5dbd40474 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/sliceByteString/sliceByteString-05/sliceByteString-05.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-01/subtractInteger-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-01/subtractInteger-01.uplc new file mode 100644 index 000000000..8b3f8c631 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-01/subtractInteger-01.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin subtractInteger) (con integer 1)] (con integer 1) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-01/subtractInteger-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-01/subtractInteger-01.uplc.budget.expected new file mode 100644 index 000000000..b9fdce3df --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-01/subtractInteger-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 181308 +| mem: 602}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-01/subtractInteger-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-01/subtractInteger-01.uplc.expected new file mode 100644 index 000000000..87e0223f6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-01/subtractInteger-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 0)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-02/subtractInteger-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-02/subtractInteger-02.uplc new file mode 100644 index 000000000..3d598ee02 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-02/subtractInteger-02.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin subtractInteger) (con integer 123423)] (con integer -794378954789297841) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-02/subtractInteger-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-02/subtractInteger-02.uplc.budget.expected new file mode 100644 index 000000000..b9fdce3df --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-02/subtractInteger-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 181308 +| mem: 602}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-02/subtractInteger-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-02/subtractInteger-02.uplc.expected new file mode 100644 index 000000000..35f6c006a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-02/subtractInteger-02.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 794378954789421264)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-03/subtractInteger-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-03/subtractInteger-03.uplc new file mode 100644 index 000000000..d3d561fd2 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-03/subtractInteger-03.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin subtractInteger) (con integer 134782734132417234781342718231486243)] (con integer 23443231) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-03/subtractInteger-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-03/subtractInteger-03.uplc.budget.expected new file mode 100644 index 000000000..18f2a4a0d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-03/subtractInteger-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 181728 +| mem: 603}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-03/subtractInteger-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-03/subtractInteger-03.uplc.expected new file mode 100644 index 000000000..c41097cc1 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-03/subtractInteger-03.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 134782734132417234781342718208043012)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-04/subtractInteger-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-04/subtractInteger-04.uplc new file mode 100644 index 000000000..45b0f5a0f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-04/subtractInteger-04.uplc @@ -0,0 +1 @@ +(program 1.0.0 [ [ (builtin subtractInteger) (con integer 0)] (con integer -327893248793249782347891) ]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-04/subtractInteger-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-04/subtractInteger-04.uplc.budget.expected new file mode 100644 index 000000000..18f2a4a0d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-04/subtractInteger-04.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 181728 +| mem: 603}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-04/subtractInteger-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-04/subtractInteger-04.uplc.expected new file mode 100644 index 000000000..d026cd96a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/subtractInteger/subtractInteger-04/subtractInteger-04.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con integer 327893248793249782347891)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/tailList/tailList-01/tailList-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/tailList/tailList-01/tailList-01.uplc new file mode 100644 index 000000000..229766beb --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/tailList/tailList-01/tailList-01.uplc @@ -0,0 +1 @@ +(program 0.0.0 [(force (builtin tailList)) (con (list integer) [ ])]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/tailList/tailList-01/tailList-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/tailList/tailList-01/tailList-01.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/tailList/tailList-01/tailList-01.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/tailList/tailList-01/tailList-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/tailList/tailList-01/tailList-01.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/tailList/tailList-01/tailList-01.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/unBData/unBData-01/unBData-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/unBData/unBData-01/unBData-01.uplc new file mode 100644 index 000000000..60e8553c8 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/unBData/unBData-01/unBData-01.uplc @@ -0,0 +1 @@ +(program 0.0.0 [(builtin unBData) (con data { ByteString #AF00 })]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/unBData/unBData-01/unBData-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/unBData/unBData-01/unBData-01.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/unBData/unBData-01/unBData-01.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/unBData/unBData-01/unBData-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/unBData/unBData-01/unBData-01.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/unBData/unBData-01/unBData-01.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/unConstrData/unConstrData-01/unConstrData-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/unConstrData/unConstrData-01/unConstrData-01.uplc new file mode 100644 index 000000000..163a6e3d4 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/unConstrData/unConstrData-01/unConstrData-01.uplc @@ -0,0 +1 @@ +(program 0.0.0 [(builtin unConstrData) (con data { Constr 1 [ Integer 0 ] })]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/unConstrData/unConstrData-01/unConstrData-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/unConstrData/unConstrData-01/unConstrData-01.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/unConstrData/unConstrData-01/unConstrData-01.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/unConstrData/unConstrData-01/unConstrData-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/unConstrData/unConstrData-01/unConstrData-01.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/unConstrData/unConstrData-01/unConstrData-01.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/unIData/unIData-01/unIData-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/unIData/unIData-01/unIData-01.uplc new file mode 100644 index 000000000..8b7797907 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/unIData/unIData-01/unIData-01.uplc @@ -0,0 +1 @@ +(program 0.0.0 [(builtin unIData) (con data { Integer 0 })]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/unIData/unIData-01/unIData-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/unIData/unIData-01/unIData-01.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/unIData/unIData-01/unIData-01.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/unIData/unIData-01/unIData-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/unIData/unIData-01/unIData-01.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/unIData/unIData-01/unIData-01.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/unListData/unListData-01/unListData-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/unListData/unListData-01/unListData-01.uplc new file mode 100644 index 000000000..462276b97 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/unListData/unListData-01/unListData-01.uplc @@ -0,0 +1 @@ +(program 0.0.0 [(builtin unListData) (con data { List [ Integer 0, Integer 1 ] })]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/unListData/unListData-01/unListData-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/unListData/unListData-01/unListData-01.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/unListData/unListData-01/unListData-01.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/unListData/unListData-01/unListData-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/unListData/unListData-01/unListData-01.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/unListData/unListData-01/unListData-01.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/unMapData/unMapData-01/unMapData-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/unMapData/unMapData-01/unMapData-01.uplc new file mode 100644 index 000000000..4bd19539c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/unMapData/unMapData-01/unMapData-01.uplc @@ -0,0 +1 @@ +(program 0.0.0 [(builtin unMapData) (con data { Map [ (Integer 0, Integer 1) ] })]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/unMapData/unMapData-01/unMapData-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/unMapData/unMapData-01/unMapData-01.uplc.budget.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/unMapData/unMapData-01/unMapData-01.uplc.budget.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/unMapData/unMapData-01/unMapData-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/unMapData/unMapData-01/unMapData-01.uplc.expected new file mode 100644 index 000000000..fd5694899 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/unMapData/unMapData-01/unMapData-01.uplc.expected @@ -0,0 +1 @@ +parse error \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/README.md b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/README.md new file mode 100644 index 000000000..e9fdf9376 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/README.md @@ -0,0 +1,64 @@ +### Test vectors for `verifyEcdsaSecp256k1Signature` + +Most of the `test-vector-*` test case have been generated using `OpenSSL +3.0.14.4` using the following procedure. + + 1. Type `openssl ecparam -name secp256k1 -outform DER -out secp256k1.der` to generate the `secp256k1` elliptic curve parameters and store them in the file `secp256k1.der` + + 2. Type `openssl ecparam -in secp256k1.der -inform DER -genkey -noout -outform DER -out pk.der` + to generate a keypair and store it in the file `pk.der` + + 3. Type `openssl ec -in pk.der -outform DER -pubout -conv_form compressed -out vk.der` to + generate a compressed verification key (ie public key) and store it in the file `vk.der`. + + 4. Given a message in `msg.txt`, generate a signature for the SHA2-256 hash + of the message using the private key generated earlier using `openssl + dgst-sha2-256 -sign pk.der msg.txt > sig.txt`. Use `-sha3-256` instead + to sign the SHA3-256 hash of the message. The signature will be stored in + DER-encoded binary form. The ECDSA algorithm involves a random number `k` + which is generated anew for each signature, and each value of `k` produces + a different signature, so repeating this step will (with very high + probabilty) generate a different signature every time: all of these are + valid signatures for the given keypair and message. + + 5. Look at the contents of `sig.txt` using `dumpasn1 sig.txt`. This will produce output similar + to that below. + + ``` + 0 69: SEQUENCE { + 2 32: INTEGER + : 50 F1 64 A7 F6 50 91 4B 3B 7A 25 88 BE 77 54 E5 + : 62 EB 6F 93 E8 31 B9 84 29 69 31 62 8C 86 C5 23 + 36 33: INTEGER + : 00 9B 5A 92 ED 21 5D 95 82 3E FD 2C 6F A7 10 40 + : 66 DF 0F D3 3D 19 14 EC 9A C8 73 BB 27 D6 2B 11 + : 0E + : } +``` + + 6. The first `INTEGER` entry in the output above is the `r` component of the + signature, the second is the `s` component. The two numbers at the start + of the `INTEGER` lines are the offset of the `INTEGER` object within the + file and the object's length, which will probably be 32 or 33 for + Secp256k1. If the second entry has length 33 (as in this case) the + signature is a "high s" signature which is accepted by OpenSSL but not by + `verifyEcdsaSecp256k1Signature` (following + [Bitcoin](https://github.com/bitcoin/bips/blob/master/bip-0146.mediawiki#low_s); + see also Section 4.3.3.1 of the Plutus Core specification) . If this + happens, discard the signature and generate a new signature until you get + one whose `s` component has length 32. + + 7. If the first entry has length 32, concatenate the hex digits with those of the second entry to + obtain a bytestring of length 64. If the first entry has length 33, the first byte will be 00. + Delete this and proceed as in the length 32 case. + + 8. Create a Plutus script applying `verifyEcdsaSecp256k1Signature` to + * A hex string containing the verification key: you can get this by typing + `dumpasn1 -20 -p -a vk.der | grep -v BIT | tr -d '\n' | sed 's/ //g' | tr A-Z a-z`. + * The relevant hash function (`sha2_256` or `sha3_256`) applied to a hex dump of the `msg.txt` + file, for example obtained by `xxd -p msg.txt` + * The hex string obtained in Step 7 (this is the signature) + + 9. The process can be repeated for the same keypair and message by going back to Step 4, or you + can start again with a new keypair and/or message. + diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-01/test-vector-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-01/test-vector-01.uplc new file mode 100644 index 000000000..2dd9731ea --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-01/test-vector-01.uplc @@ -0,0 +1,16 @@ +-- Generated using OpenSSL 3.0.14.4 +-- Signing key a1adc24fc72eeb3ca032f68134a21c83dbebed4d7088a3794dbe65b4570604fd +-- Low r, low s signature +-- Expect True +(program 1.0.0 + [ + [ + [ + (builtin verifyEcdsaSecp256k1Signature) + (con bytestring #032e433589dce61863199171f4d1e3fa946a5832621fcd29559940a0950f96fb6f) + ] + [(builtin sha2_256) (con bytestring #)] + ] + (con bytestring #4941155e2303988a1be97a021fbaf9fe6064d05ea694bc5e89328f297154e5c63a2f3e7b5f509294a4c2e22feb697a16b792fabfebe9d0f38403b1c929836b5a) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-01/test-vector-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-01/test-vector-01.uplc.budget.expected new file mode 100644 index 000000000..961b1c22b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-01/test-vector-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 43490883 +| mem: 1014}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-01/test-vector-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-01/test-vector-01.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-01/test-vector-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-02/test-vector-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-02/test-vector-02.uplc new file mode 100644 index 000000000..d8314d6ee --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-02/test-vector-02.uplc @@ -0,0 +1,16 @@ +-- Generated using OpenSSL 3.0.14.4 +-- Signing key a1adc24fc72eeb3ca032f68134a21c83dbebed4d7088a3794dbe65b4570604fd +-- Same keypair and message as test-vector-01, alternative signature (high r, low s) +-- Expect True +(program 1.0.0 + [ + [ + [ + (builtin verifyEcdsaSecp256k1Signature) + (con bytestring #032e433589dce61863199171f4d1e3fa946a5832621fcd29559940a0950f96fb6f) + ] + [(builtin sha2_256) (con bytestring #)] + ] + (con bytestring #ccfd8a4781b4d69121727222f062d2c77e97496e1c701d3a0abd840207e6dcd1016c0ee3d92f1eec1ca335ec3eb285612fb82ee2c1d1f80e706b2e907dc60cc4) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-02/test-vector-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-02/test-vector-02.uplc.budget.expected new file mode 100644 index 000000000..961b1c22b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-02/test-vector-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 43490883 +| mem: 1014}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-02/test-vector-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-02/test-vector-02.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-02/test-vector-02.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-03/test-vector-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-03/test-vector-03.uplc new file mode 100644 index 000000000..c5b188845 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-03/test-vector-03.uplc @@ -0,0 +1,17 @@ +-- Generated using OpenSSL 3.0.14.4 +-- Signing key a1adc24fc72eeb3ca032f68134a21c83dbebed4d7088a3794dbe65b4570604fd +-- Same keypair and message as test-vector-01, alternative signature (low r, high s) +-- Expect False (we don't accept signatures with high s components) +(program 1.0.0 + [ + [ + [ + (builtin verifyEcdsaSecp256k1Signature) + (con bytestring #032e433589dce61863199171f4d1e3fa946a5832621fcd29559940a0950f96fb6f) + ] + [(builtin sha2_256) (con bytestring #)] + ] + (con bytestring #603e6e7bf67152188204f76f6274d38c477bdbc3954cdaa44e4ef49691a517ded5eaad30c2e69e3e9b124bcc48fa0e4d0aa0dfdb4ca9d537ea1dcd46c94b8f56 + ) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-03/test-vector-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-03/test-vector-03.uplc.budget.expected new file mode 100644 index 000000000..961b1c22b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-03/test-vector-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 43490883 +| mem: 1014}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-03/test-vector-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-03/test-vector-03.uplc.expected new file mode 100644 index 000000000..3ee9f07f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-03/test-vector-03.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-04/test-vector-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-04/test-vector-04.uplc new file mode 100644 index 000000000..7683f197b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-04/test-vector-04.uplc @@ -0,0 +1,16 @@ +-- Generated using OpenSSL 3.0.14.4 +-- Signing key a1adc24fc72eeb3ca032f68134a21c83dbebed4d7088a3794dbe65b4570604fd +-- Same keypair and message as test-vector-01, low-s version of signature in test-vector-03 +-- Expect True +(program 1.0.0 + [ + [ + [ + (builtin verifyEcdsaSecp256k1Signature) + (con bytestring #032e433589dce61863199171f4d1e3fa946a5832621fcd29559940a0950f96fb6f) + ] + [(builtin sha2_256) (con bytestring #)] + ] + (con bytestring #603e6e7bf67152188204f76f6274d38c477bdbc3954cdaa44e4ef49691a517de2a1552cf3d1961c164edb433b705f1b1b00dfd0b629ecb03d5b4914606eab1eb) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-04/test-vector-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-04/test-vector-04.uplc.budget.expected new file mode 100644 index 000000000..961b1c22b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-04/test-vector-04.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 43490883 +| mem: 1014}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-04/test-vector-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-04/test-vector-04.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-04/test-vector-04.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-05/test-vector-05.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-05/test-vector-05.uplc new file mode 100644 index 000000000..9558a4998 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-05/test-vector-05.uplc @@ -0,0 +1,16 @@ +-- Generated using OpenSSL 3.0.14.4 +-- Signing key a1adc24fc72eeb3ca032f68134a21c83dbebed4d7088a3794dbe65b4570604fd +-- Same keypair and message as test-vector-01, sha3_256 instead of sha2_256 +-- Expect True +(program 1.0.0 + [ + [ + [ + (builtin verifyEcdsaSecp256k1Signature) + (con bytestring #032e433589dce61863199171f4d1e3fa946a5832621fcd29559940a0950f96fb6f) + ] + [(builtin sha3_256) (con bytestring #)] + ] + (con bytestring #5958fe71b4498446de57d0416ab8c41155fc16d46844fbc3fc9898bfca6badf9777d01c5b74b002678bfe904e941c096b5faf613a37b4d518e0ca750abcfa020) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-05/test-vector-05.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-05/test-vector-05.uplc.budget.expected new file mode 100644 index 000000000..dae7418fe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-05/test-vector-05.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 44719534 +| mem: 1014}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-05/test-vector-05.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-05/test-vector-05.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-05/test-vector-05.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-06/test-vector-06.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-06/test-vector-06.uplc new file mode 100644 index 000000000..0bf5eee7c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-06/test-vector-06.uplc @@ -0,0 +1,16 @@ +-- Generated using OpenSSL 3.0.14.4 +-- Signing key a1adc24fc72eeb3ca032f68134a21c83dbebed4d7088a3794dbe65b4570604fd +-- Same keypair and message as test-vector-01, sha3_256 instead of sha2_256, alternative signature +-- Expect True +(program 1.0.0 + [ + [ + [ + (builtin verifyEcdsaSecp256k1Signature) + (con bytestring #032e433589dce61863199171f4d1e3fa946a5832621fcd29559940a0950f96fb6f) + ] + [(builtin sha3_256) (con bytestring #)] + ] + (con bytestring #d7086f9d50c7bbdd739c16da7d16bbabff5b58fc982013c9bac6df7a7200e3fe496c38ef025c3adf1cd060e0a74112580d9d2226213d7e70f0eee726c484e986) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-06/test-vector-06.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-06/test-vector-06.uplc.budget.expected new file mode 100644 index 000000000..dae7418fe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-06/test-vector-06.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 44719534 +| mem: 1014}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-06/test-vector-06.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-06/test-vector-06.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-06/test-vector-06.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-07/test-vector-07.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-07/test-vector-07.uplc new file mode 100644 index 000000000..08b77f4b1 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-07/test-vector-07.uplc @@ -0,0 +1,16 @@ +-- Generated using OpenSSL 3.0.14.4 +-- Signing key a1adc24fc72eeb3ca032f68134a21c83dbebed4d7088a3794dbe65b4570604fd +-- Same keypair and signature as test-vector-01, different message +-- Expect False +(program 1.0.0 + [ + [ + [ + (builtin verifyEcdsaSecp256k1Signature) + (con bytestring #032e433589dce61863199171f4d1e3fa946a5832621fcd29559940a0950f96fb6f) + ] + [(builtin sha2_256) (con bytestring #48656c6c6f210a)] + ] + (con bytestring #4941155e2303988a1be97a021fbaf9fe6064d05ea694bc5e89328f297154e5c63a2f3e7b5f509294a4c2e22feb697a16b792fabfebe9d0f38403b1c929836b5a) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-07/test-vector-07.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-07/test-vector-07.uplc.budget.expected new file mode 100644 index 000000000..961b1c22b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-07/test-vector-07.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 43490883 +| mem: 1014}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-07/test-vector-07.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-07/test-vector-07.uplc.expected new file mode 100644 index 000000000..3ee9f07f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-07/test-vector-07.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-08/test-vector-08.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-08/test-vector-08.uplc new file mode 100644 index 000000000..f94402a99 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-08/test-vector-08.uplc @@ -0,0 +1,16 @@ +-- Generated using OpenSSL 3.0.14.4 +-- Signing key a1adc24fc72eeb3ca032f68134a21c83dbebed4d7088a3794dbe65b4570604fd +-- Same keypair as test-vector-01, different message with correct signature +-- Expect True +(program 1.0.0 + [ + [ + [ + (builtin verifyEcdsaSecp256k1Signature) + (con bytestring #032e433589dce61863199171f4d1e3fa946a5832621fcd29559940a0950f96fb6f) + ] + [(builtin sha2_256) (con bytestring #48656c6c6f210a)] + ] + (con bytestring #3499b841ac6eeb300b0dc9ed50e9c196d2b74f1745540f120bf603c48189b0ee6c48eacc04f2c3d3095fa17e11cc3b7642331963d52a9177d0d0685c4b3ff17f) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-08/test-vector-08.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-08/test-vector-08.uplc.budget.expected new file mode 100644 index 000000000..961b1c22b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-08/test-vector-08.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 43490883 +| mem: 1014}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-08/test-vector-08.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-08/test-vector-08.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-08/test-vector-08.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-09/test-vector-09.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-09/test-vector-09.uplc new file mode 100644 index 000000000..136e4e01c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-09/test-vector-09.uplc @@ -0,0 +1,16 @@ +-- Generated using OpenSSL 3.0.14.4 +-- Signing key a1adc24fc72eeb3ca032f68134a21c83dbebed4d7088a3794dbe65b4570604fd +-- Same keypair as test-vector-01, different message with alternative correct signature +-- Expect True +(program 1.0.0 + [ + [ + [ + (builtin verifyEcdsaSecp256k1Signature) + (con bytestring #032e433589dce61863199171f4d1e3fa946a5832621fcd29559940a0950f96fb6f) + ] + [(builtin sha2_256) (con bytestring #48656c6c6f210a)] + ] + (con bytestring #fc73d27f308bb0d770db88794e2694cfe5db464764aaa8bcbcafc7c3cadb9e57244f01f2a056cf5345396e8c238972d536e4c67baa7387925d7e028f2192f5d9) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-09/test-vector-09.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-09/test-vector-09.uplc.budget.expected new file mode 100644 index 000000000..961b1c22b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-09/test-vector-09.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 43490883 +| mem: 1014}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-09/test-vector-09.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-09/test-vector-09.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-09/test-vector-09.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-10/test-vector-10.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-10/test-vector-10.uplc new file mode 100644 index 000000000..a074baa4c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-10/test-vector-10.uplc @@ -0,0 +1,16 @@ +-- Generated using OpenSSL 3.0.14.4 +-- Signing key 144c76f7eaa087f00a0381d0b7d6ec59eac07d4ac21b58695c1118b10127d821 +-- Same message and signature as test-vector-01, different signing key +-- Expect False +(program 1.0.0 + [ + [ + [ + (builtin verifyEcdsaSecp256k1Signature) + (con bytestring #03173d3b9b964301a4919be323571e64301904209a32631ccc76b42b89d38c6274) + ] + [(builtin sha2_256) (con bytestring #)] + ] + (con bytestring #4941155e2303988a1be97a021fbaf9fe6064d05ea694bc5e89328f297154e5c63a2f3e7b5f509294a4c2e22feb697a16b792fabfebe9d0f38403b1c929836b5a) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-10/test-vector-10.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-10/test-vector-10.uplc.budget.expected new file mode 100644 index 000000000..961b1c22b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-10/test-vector-10.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 43490883 +| mem: 1014}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-10/test-vector-10.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-10/test-vector-10.uplc.expected new file mode 100644 index 000000000..3ee9f07f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-10/test-vector-10.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-11/test-vector-11.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-11/test-vector-11.uplc new file mode 100644 index 000000000..5ce46f155 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-11/test-vector-11.uplc @@ -0,0 +1,16 @@ +-- Generated using OpenSSL 3.0.14.4 +-- Signing key 144c76f7eaa087f00a0381d0b7d6ec59eac07d4ac21b58695c1118b10127d821 +-- Same message as test-vector-01, different keypair with correct signature +-- Expect True +(program 1.0.0 + [ + [ + [ + (builtin verifyEcdsaSecp256k1Signature) + (con bytestring #03173d3b9b964301a4919be323571e64301904209a32631ccc76b42b89d38c6274) + ] + [(builtin sha2_256) (con bytestring #)] + ] + (con bytestring #a40e8132923ca042d159f5fba7d2828a79dc212259121a3bfe63445bf3f620fe1b33215f4ca9eb5d41eb8e8304ddc0666236f381f3a88f54cd67740847e91b41) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-11/test-vector-11.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-11/test-vector-11.uplc.budget.expected new file mode 100644 index 000000000..961b1c22b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-11/test-vector-11.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 43490883 +| mem: 1014}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-11/test-vector-11.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-11/test-vector-11.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-11/test-vector-11.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-12/test-vector-12.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-12/test-vector-12.uplc new file mode 100644 index 000000000..4105b6c4c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-12/test-vector-12.uplc @@ -0,0 +1,16 @@ +-- Generated using OpenSSL 3.0.14.4 +-- Signing key a1adc24fc72eeb3ca032f68134a21c83dbebed4d7088a3794dbe65b4570604fd +-- Same keypair as test-vector-01, large message with correct signature +-- Expect True +(program 1.0.0 + [ + [ + [ + (builtin verifyEcdsaSecp256k1Signature) + (con bytestring #032e433589dce61863199171f4d1e3fa946a5832621fcd29559940a0950f96fb6f) + ] + [(builtin sha2_256) (con bytestring #47616e6761207761732073756e6b656e2c20616e6420746865206c696d70206c65617665730a57616974656420666f72207261696e2c207768696c652074686520626c61636b20636c6f7564730a4761746865726564206661722064697374616e742c206f7665722048696d6176616e742e0a546865206a756e676c652063726f75636865642c2068756d70656420696e2073696c656e63652e0a5468656e2073706f6b6520746865207468756e6465720a44410a44617474613a2077686174206861766520776520676976656e3f0a4d7920667269656e642c20626c6f6f64207368616b696e67206d792068656172740a54686520617766756c20646172696e67206f662061206d6f6d656e74e28099732073757272656e6465720a576869636820616e20616765206f662070727564656e63652063616e206e6576657220726574726163740a427920746869732c20616e642074686973206f6e6c792c207765206861766520657869737465640a5768696368206973206e6f7420746f20626520666f756e6420696e206f7572206f6269747561726965730a4f7220696e206d656d6f7269657320647261706564206279207468652062656e65666963656e74207370696465720a4f7220756e646572207365616c732062726f6b656e20627920746865206c65616e20736f6c696369746f720a496e206f757220656d70747920726f6f6d730a44410a44617961646876616d3a2049206861766520686561726420746865206b65790a5475726e20696e2074686520646f6f72206f6e636520616e64207475726e206f6e6365206f6e6c790a5765207468696e6b206f6620746865206b65792c206561636820696e2068697320707269736f6e0a5468696e6b696e67206f6620746865206b65792c206561636820636f6e6669726d73206120707269736f6e0a4f6e6c79206174206e6967687466616c6c2c2061657468657269616c2072756d6f7572730a52657669766520666f722061206d6f6d656e7420612062726f6b656e20436f72696f6c616e75730a44410a44616d796174613a2054686520626f617420726573706f6e6465640a4761696c792c20746f207468652068616e64206578706572742077697468207361696c20616e64206f61720a54686520736561207761732063616c6d2c20796f757220686561727420776f756c64206861766520726573706f6e6465640a4761696c792c207768656e20696e76697465642c2062656174696e67206f62656469656e740a546f20636f6e74726f6c6c696e672068616e64730a0a20202020202020202020202020202020202020202020202049207361742075706f6e207468652073686f72650a46697368696e672c207769746820746865206172696420706c61696e20626568696e64206d650a5368616c6c2049206174206c6561737420736574206d79206c616e647320696e206f726465723f0a4c6f6e646f6e204272696467652069732066616c6c696e6720646f776e2066616c6c696e6720646f776e2066616c6c696e6720646f776e0a506f692073e280996173636f7365206e656c20666f636f2063686520676c6920616666696e610a5175616e646f206669616d20636575206368656c69646f6e20e28094204f207377616c6c6f77207377616c6c6f770a4c65205072696e63652064e28099417175697461696e6520c3a0206c6120746f75722061626f6c69650a546865736520667261676d656e7473204920686176652073686f72656420616761696e7374206d79207275696e730a576879207468656e20496c652066697420796f752e20486965726f6e796d6fe2809973206d616420616761696e652e0a44617474612e2044617961646876616d2e2044616d796174612e0a2020202020202020202020202020202020202020202020202020205368616e746968202020207368616e746968202020207368616e7469680a)] + ] + (con bytestring #db1f0c781e2d69660525c6f502d38c83c2c62c7004e26d8b860dc9a81cadb3b72f2e2fef4d34b9c869754834e6c785962b3fd0cdd222f47b1a1f2f3388f26c90) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-12/test-vector-12.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-12/test-vector-12.uplc.budget.expected new file mode 100644 index 000000000..f090e38eb --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-12/test-vector-12.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 47511547 +| mem: 1014}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-12/test-vector-12.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-12/test-vector-12.uplc.expected new file mode 100644 index 000000000..3760fc7a6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-12/test-vector-12.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-13/test-vector-13.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-13/test-vector-13.uplc new file mode 100644 index 000000000..e9595ae92 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-13/test-vector-13.uplc @@ -0,0 +1,16 @@ +-- Generated using OpenSSL 3.0.14.4 +-- Signing key a1adc24fc72eeb3ca032f68134a21c83dbebed4d7088a3794dbe65b4570604fd +-- Random message, same signature as test-vector-01 +-- Expect False +(program 1.0.0 + [ + [ + [ + (builtin verifyEcdsaSecp256k1Signature) + (con bytestring #032e433589dce61863199171f4d1e3fa946a5832621fcd29559940a0950f96fb6f) + ] + (con bytestring #377a7d7e7f49244ab617b429ec3b6b764326868236abcfed239427834782abdb) + ] + (con bytestring #4941155e2303988a1be97a021fbaf9fe6064d05ea694bc5e89328f297154e5c63a2f3e7b5f509294a4c2e22feb697a16b792fabfebe9d0f38403b1c929836b5a) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-13/test-vector-13.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-13/test-vector-13.uplc.budget.expected new file mode 100644 index 000000000..faa90f4be --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-13/test-vector-13.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 43165643 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-13/test-vector-13.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-13/test-vector-13.uplc.expected new file mode 100644 index 000000000..3ee9f07f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-13/test-vector-13.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-14/test-vector-14.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-14/test-vector-14.uplc new file mode 100644 index 000000000..e7548fc70 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-14/test-vector-14.uplc @@ -0,0 +1,16 @@ +-- Generated using OpenSSL 3.0.14.4 +-- Signing key a1adc24fc72eeb3ca032f68134a21c83dbebed4d7088a3794dbe65b4570604fd +-- Same as test-vector-01, one bit changed in signature +-- Expect False +(program 1.0.0 + [ + [ + [ + (builtin verifyEcdsaSecp256k1Signature) + (con bytestring #032e433589dce61863199171f4d1e3fa946a5832621fcd29559940a0950f96fb6f) + ] + [(builtin sha2_256) (con bytestring #)] + ] + (con bytestring #4941155e2303988a1be97a021fbaf9fe6064d05ea694bc5e89328f297154e5c63a2f3e7b5f509294a2c2e22feb697a16b792fabfebe9d0f38403b1c929836b5a) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-14/test-vector-14.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-14/test-vector-14.uplc.budget.expected new file mode 100644 index 000000000..961b1c22b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-14/test-vector-14.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 43490883 +| mem: 1014}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-14/test-vector-14.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-14/test-vector-14.uplc.expected new file mode 100644 index 000000000..3ee9f07f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-14/test-vector-14.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-15/test-vector-15.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-15/test-vector-15.uplc new file mode 100644 index 000000000..4cf2f86c8 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-15/test-vector-15.uplc @@ -0,0 +1,16 @@ +-- Generated using OpenSSL 3.0.14.4 +-- Signing key a1adc24fc72eeb3ca032f68134a21c83dbebed4d7088a3794dbe65b4570604fd +-- Same as test-vector-01, one bit changed in verification key +-- Expect False +(program 1.0.0 + [ + [ + [ + (builtin verifyEcdsaSecp256k1Signature) + (con bytestring #032e433589dce61863199171f4d1e3fa946a5832621ecd29559940a0950f96fb6f) + ] + [(builtin sha2_256) (con bytestring #)] + ] + (con bytestring #4941155e2303988a1be97a021fbaf9fe6064d05ea694bc5e89328f297154e5c63a2f3e7b5f509294a4c2e22feb697a16b792fabfebe9d0f38403b1c929836b5a) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-15/test-vector-15.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-15/test-vector-15.uplc.budget.expected new file mode 100644 index 000000000..961b1c22b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-15/test-vector-15.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 43490883 +| mem: 1014}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-15/test-vector-15.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-15/test-vector-15.uplc.expected new file mode 100644 index 000000000..3ee9f07f3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-15/test-vector-15.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-16/test-vector-16.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-16/test-vector-16.uplc new file mode 100644 index 000000000..980d21b0d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-16/test-vector-16.uplc @@ -0,0 +1,16 @@ +-- Generated using OpenSSL 3.0.14.4 +-- Signing key a1adc24fc72eeb3ca032f68134a21c83dbebed4d7088a3794dbe65b4570604fd +-- Same as test-vector-01, but verification key adjusted to be off the curve. +-- Expect error +(program 1.0.0 + [ + [ + [ + (builtin verifyEcdsaSecp256k1Signature) + (con bytestring #032e433589dce61863199171f4d1e3fa946a5832621fcd29559940a0950f96fb61) + ] + [(builtin sha2_256) (con bytestring #)] + ] + (con bytestring #4941155e2303988a1be97a021fbaf9fe6064d05ea694bc5e89328f297154e5c63a2f3e7b5f509294a4c2e22feb697a16b792fabfebe9d0f38403b1c929836b5a) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-16/test-vector-16.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-16/test-vector-16.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-16/test-vector-16.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-16/test-vector-16.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-16/test-vector-16.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-16/test-vector-16.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-17/test-vector-17.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-17/test-vector-17.uplc new file mode 100644 index 000000000..e0f8186af --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-17/test-vector-17.uplc @@ -0,0 +1,17 @@ +-- Generated using OpenSSL 3.0.14.4 +-- Signing key a1adc24fc72eeb3ca032f68134a21c83dbebed4d7088a3794dbe65b4570604fd +-- Same as test-vector-01, but with the r component of the signature adjusted to +-- be out of range (equal to the group order): one less -> False, not error +-- Expect error +(program 1.0.0 + [ + [ + [ + (builtin verifyEcdsaSecp256k1Signature) + (con bytestring #032e433589dce61863199171f4d1e3fa946a5832621fcd29559940a0950f96fb6f) + ] + [(builtin sha2_256) (con bytestring #)] + ] + (con bytestring #fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd03641413a2f3e7b5f509294a4c2e22feb697a16b792fabfebe9d0f38403b1c929836b5a) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-17/test-vector-17.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-17/test-vector-17.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-17/test-vector-17.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-17/test-vector-17.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-17/test-vector-17.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-17/test-vector-17.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-18/test-vector-18.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-18/test-vector-18.uplc new file mode 100644 index 000000000..55d9c022e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-18/test-vector-18.uplc @@ -0,0 +1,17 @@ +-- Generated using OpenSSL 3.0.14.4 +-- Signing key a1adc24fc72eeb3ca032f68134a21c83dbebed4d7088a3794dbe65b4570604fd +-- Same as test-vector-01, but with the s component of the signature adjusted to +-- be out of range (equal to the group order): one less -> False, not error +-- Expect error +(program 1.0.0 + [ + [ + [ + (builtin verifyEcdsaSecp256k1Signature) + (con bytestring #032e433589dce61863199171f4d1e3fa946a5832621fcd29559940a0950f96fb6f) + ] + [(builtin sha2_256) (con bytestring #)] + ] + (con bytestring #4941155e2303988a1be97a021fbaf9fe6064d05ea694bc5e89328f297154e5c6fffffffffffffffffffffffffffffffebaaedce6af48a03bbfd25e8cd0364141) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-18/test-vector-18.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-18/test-vector-18.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-18/test-vector-18.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-18/test-vector-18.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-18/test-vector-18.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEcdsaSecp256k1Signature/test-vector-18/test-vector-18.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-01/test-vector-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-01/test-vector-01.uplc new file mode 100644 index 000000000..c29535a53 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-01/test-vector-01.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #d75a980182b10ab7d54bfed3c964073a0ee172f3daa62325af021a68f707511a)] + (con bytestring #)] + (con bytestring #e5564300c360ac729086e2cc806e828a84877f1eb8e5d974d873e065224901555fb8821590a33bacc61e39701cf9b46bd25bf5f0595bbe24655141438e7a100b)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-01/test-vector-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-01/test-vector-01.uplc.budget.expected new file mode 100644 index 000000000..37620dba0 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-01/test-vector-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53510544 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-01/test-vector-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-01/test-vector-01.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-01/test-vector-01.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-02/test-vector-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-02/test-vector-02.uplc new file mode 100644 index 000000000..c1e435e2c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-02/test-vector-02.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #3d4017c3e843895a92b70aa74d1b7ebc9c982ccf2ec4968cc0cd55f12af4660c)] + (con bytestring #72)] + (con bytestring #92a009a9f0d4cab8720e820b5f642540a2b27b5416503f8fb3762223ebdb69da085ac1e43e15996e458f3613d0f11d8c387b2eaeb4302aeeb00d291612bb0c00)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-02/test-vector-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-02/test-vector-02.uplc.budget.expected new file mode 100644 index 000000000..37620dba0 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-02/test-vector-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53510544 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-02/test-vector-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-02/test-vector-02.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-02/test-vector-02.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-03/test-vector-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-03/test-vector-03.uplc new file mode 100644 index 000000000..1c982279b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-03/test-vector-03.uplc @@ -0,0 +1,5 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #fc51cd8e6218a1a38da47ed00230f0580816ed13ba3303ac5deb911548908025)] + (con bytestring #af82)] + (con bytestring #6291d657deec24024827e69c3abe01a30ce548a284743a445e3680d7db5ac3ac18ff9b538d16f290ae67f760984dc6594a7c15e9716ed28dc027beceea1ec40a)]) + diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-03/test-vector-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-03/test-vector-03.uplc.budget.expected new file mode 100644 index 000000000..37620dba0 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-03/test-vector-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53510544 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-03/test-vector-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-03/test-vector-03.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-03/test-vector-03.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-04/test-vector-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-04/test-vector-04.uplc new file mode 100644 index 000000000..b0ed6be70 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-04/test-vector-04.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #e61a185bcef2613a6c7cb79763ce945d3b245d76114dd440bcf5f2dc1aa57057)] + (con bytestring #cbc77b)] + (con bytestring #d9868d52c2bebce5f3fa5a79891970f309cb6591e3e1702a70276fa97c24b3a8e58606c38c9758529da50ee31b8219cba45271c689afa60b0ea26c99db19b00c)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-04/test-vector-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-04/test-vector-04.uplc.budget.expected new file mode 100644 index 000000000..37620dba0 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-04/test-vector-04.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53510544 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-04/test-vector-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-04/test-vector-04.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-04/test-vector-04.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-05/test-vector-05.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-05/test-vector-05.uplc new file mode 100644 index 000000000..053c66b7f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-05/test-vector-05.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #6df9340c138cc188b5fe4464ebaa3f7fc206a2d55c3434707e74c9fc04e20ebb)] + (con bytestring #5f4c8989)] + (con bytestring #124f6fc6b0d100842769e71bd530664d888df8507df6c56dedfdb509aeb93416e26b918d38aa06305df3095697c18b2aa832eaa52edc0ae49fbae5a85e150c07)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-05/test-vector-05.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-05/test-vector-05.uplc.budget.expected new file mode 100644 index 000000000..37620dba0 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-05/test-vector-05.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53510544 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-05/test-vector-05.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-05/test-vector-05.uplc.expected new file mode 100644 index 000000000..dd87da548 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-05/test-vector-05.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool False)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-06/test-vector-06.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-06/test-vector-06.uplc new file mode 100644 index 000000000..34e77accf --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-06/test-vector-06.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #e253af0766804b869bb1595be9765b534886bbaab8305bf50dbc7f899bfb5f01)] + (con bytestring #18b6bec097)] + (con bytestring #b2fc46ad47af464478c199e1f8be169f1be6327c7f9a0a6689371ca94caf04064a01b22aff1520abd58951341603faed768cf78ce97ae7b038abfe456aa17c09)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-06/test-vector-06.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-06/test-vector-06.uplc.budget.expected new file mode 100644 index 000000000..37620dba0 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-06/test-vector-06.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53510544 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-06/test-vector-06.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-06/test-vector-06.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-06/test-vector-06.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-07/test-vector-07.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-07/test-vector-07.uplc new file mode 100644 index 000000000..28b638c41 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-07/test-vector-07.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #fbcfbfa40505d7f2be444a33d185cc54e16d615260e1640b2b5087b83ee3643d)] + (con bytestring #89010d855972)] + (con bytestring #6ed629fc1d9ce9e1468755ff636d5a3f40a5d9c91afd93b79d241830f7e5fa29854b8f20cc6eecbb248dbd8d16d14e99752194e4904d09c74d639518839d2300)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-07/test-vector-07.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-07/test-vector-07.uplc.budget.expected new file mode 100644 index 000000000..37620dba0 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-07/test-vector-07.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53510544 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-07/test-vector-07.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-07/test-vector-07.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-07/test-vector-07.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-08/test-vector-08.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-08/test-vector-08.uplc new file mode 100644 index 000000000..c0e184584 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-08/test-vector-08.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #98a5e3a36e67aaba89888bf093de1ad963e774013b3902bfab356d8b90178a63)] + (con bytestring #b4a8f381e70e7a)] + (con bytestring #6e0af2fe55ae377a6b7a7278edfb419bd321e06d0df5e27037db8812e7e3529810fa5552f6c0020985ca17a0e02e036d7b222a24f99b77b75fdd16cb05568107)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-08/test-vector-08.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-08/test-vector-08.uplc.budget.expected new file mode 100644 index 000000000..37620dba0 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-08/test-vector-08.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53510544 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-08/test-vector-08.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-08/test-vector-08.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-08/test-vector-08.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-09/test-vector-09.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-09/test-vector-09.uplc new file mode 100644 index 000000000..668c70c92 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-09/test-vector-09.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #f81fb54a825fced95eb033afcd64314075abfb0abd20a970892503436f34b863)] + (con bytestring #4284abc51bb67235)] + (con bytestring #d6addec5afb0528ac17bb178d3e7f2887f9adbb1ad16e110545ef3bc57f9de2314a5c8388f723b8907be0f3ac90c6259bbe885ecc17645df3db7d488f805fa08)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-09/test-vector-09.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-09/test-vector-09.uplc.budget.expected new file mode 100644 index 000000000..37620dba0 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-09/test-vector-09.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53510544 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-09/test-vector-09.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-09/test-vector-09.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-09/test-vector-09.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-10/test-vector-10.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-10/test-vector-10.uplc new file mode 100644 index 000000000..d258cd6ac --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-10/test-vector-10.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #c1a49c66e617f9ef5ec66bc4c6564ca33de2a5fb5e1464062e6d6c6219155efd)] + (con bytestring #672bf8965d04bc5146)] + (con bytestring #2c76a04af2391c147082e33faacdbe56642a1e134bd388620b852b901a6bc16ff6c9cc9404c41dea12ed281da067a1513866f9d964f8bdd24953856c50042901)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-10/test-vector-10.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-10/test-vector-10.uplc.budget.expected new file mode 100644 index 000000000..a9f85a17e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-10/test-vector-10.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53524877 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-10/test-vector-10.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-10/test-vector-10.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-10/test-vector-10.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-11/test-vector-11.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-11/test-vector-11.uplc new file mode 100644 index 000000000..2797d7ba8 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-11/test-vector-11.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #31b2524b8348f7ab1dfafa675cc538e9a84e3fe5819e27c12ad8bbc1a36e4dff)] + (con bytestring #33d7a786aded8c1bf691)] + (con bytestring #28e4598c415ae9de01f03f9f3fab4e919e8bf537dd2b0cdf6e79b9e6559c9409d9151a4c40f083193937627c369488259e99da5a9f0a87497fa6696a5dd6ce08)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-11/test-vector-11.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-11/test-vector-11.uplc.budget.expected new file mode 100644 index 000000000..a9f85a17e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-11/test-vector-11.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53524877 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-11/test-vector-11.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-11/test-vector-11.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-11/test-vector-11.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-12/test-vector-12.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-12/test-vector-12.uplc new file mode 100644 index 000000000..cb332d4ef --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-12/test-vector-12.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #44b57ee30cdb55829d0a5d4f046baef078f1e97a7f21b62d75f8e96ea139c35f)] + (con bytestring #3486f68848a65a0eb5507d)] + (con bytestring #77d389e599630d934076329583cd4105a649a9292abc44cd28c40000c8e2f5ac7660a81c85b72af8452d7d25c070861dae91601c7803d656531650dd4e5c4100)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-12/test-vector-12.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-12/test-vector-12.uplc.budget.expected new file mode 100644 index 000000000..a9f85a17e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-12/test-vector-12.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53524877 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-12/test-vector-12.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-12/test-vector-12.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-12/test-vector-12.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-13/test-vector-13.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-13/test-vector-13.uplc new file mode 100644 index 000000000..ec9cf40b5 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-13/test-vector-13.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #6fe83693d011d111131c4f3fbaaa40a9d3d76b30012ff73bb0e39ec27ab18257)] + (con bytestring #5a8d9d0a22357e6655f9c785)] + (con bytestring #0f9ad9793033a2fa06614b277d37381e6d94f65ac2a5a94558d09ed6ce922258c1a567952e863ac94297aec3c0d0c8ddf71084e504860bb6ba27449b55adc40e)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-13/test-vector-13.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-13/test-vector-13.uplc.budget.expected new file mode 100644 index 000000000..a9f85a17e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-13/test-vector-13.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53524877 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-13/test-vector-13.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-13/test-vector-13.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-13/test-vector-13.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-14/test-vector-14.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-14/test-vector-14.uplc new file mode 100644 index 000000000..1a908dbcf --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-14/test-vector-14.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #a2eb8c0501e30bae0cf842d2bde8dec7386f6b7fc3981b8c57c9792bb94cf2dd)] + (con bytestring #b87d3813e03f58cf19fd0b6395)] + (con bytestring #d8bb64aad8c9955a115a793addd24f7f2b077648714f49c4694ec995b330d09d640df310f447fd7b6cb5c14f9fe9f490bcf8cfadbfd2169c8ac20d3b8af49a0c)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-14/test-vector-14.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-14/test-vector-14.uplc.budget.expected new file mode 100644 index 000000000..a9f85a17e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-14/test-vector-14.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53524877 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-14/test-vector-14.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-14/test-vector-14.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-14/test-vector-14.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-15/test-vector-15.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-15/test-vector-15.uplc new file mode 100644 index 000000000..ec1cf10bd --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-15/test-vector-15.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #cf3af898467a5b7a52d33d53bc037e2642a8da996903fc252217e9c033e2f291)] + (con bytestring #55c7fa434f5ed8cdec2b7aeac173)] + (con bytestring #6ee3fe81e23c60eb2312b2006b3b25e6838e02106623f844c44edb8dafd66ab0671087fd195df5b8f58a1d6e52af42908053d55c7321010092748795ef94cf06)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-15/test-vector-15.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-15/test-vector-15.uplc.budget.expected new file mode 100644 index 000000000..a9f85a17e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-15/test-vector-15.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53524877 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-15/test-vector-15.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-15/test-vector-15.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-15/test-vector-15.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-16/test-vector-16.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-16/test-vector-16.uplc new file mode 100644 index 000000000..1d1fb97f0 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-16/test-vector-16.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #fd2a565723163e29f53c9de3d5e8fbe36a7ab66e1439ec4eae9c0a604af291a5)] + (con bytestring #0a688e79be24f866286d4646b5d81c)] + (con bytestring #f68d04847e5b249737899c014d31c805c5007a62c0a10d50bb1538c5f35503951fbc1e08682f2cc0c92efe8f4985dec61dcbd54d4b94a22547d24451271c8b00)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-16/test-vector-16.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-16/test-vector-16.uplc.budget.expected new file mode 100644 index 000000000..a9f85a17e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-16/test-vector-16.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53524877 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-16/test-vector-16.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-16/test-vector-16.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-16/test-vector-16.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-17/test-vector-17.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-17/test-vector-17.uplc new file mode 100644 index 000000000..8646e659d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-17/test-vector-17.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #34e5a8508c4743746962c066e4badea2201b8ab484de5c4f94476ccd2143955b)] + (con bytestring #c942fa7ac6b23ab7ff612fdc8e68ef39)] + (con bytestring #2a3d27dc40d0a8127949a3b7f908b3688f63b7f14f651aacd715940bdbe27a0809aac142f47ab0e1e44fa490ba87ce5392f33a891539caf1ef4c367cae54500c)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-17/test-vector-17.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-17/test-vector-17.uplc.budget.expected new file mode 100644 index 000000000..a9f85a17e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-17/test-vector-17.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53524877 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-17/test-vector-17.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-17/test-vector-17.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-17/test-vector-17.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-18/test-vector-18.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-18/test-vector-18.uplc new file mode 100644 index 000000000..462c7ff48 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-18/test-vector-18.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #0445e456dacc7d5b0bbed23c8200cdb74bdcb03e4c7b73f0a2b9b46eac5d4372)] + (con bytestring #7368724a5b0efb57d28d97622dbde725af)] + (con bytestring #3653ccb21219202b8436fb41a32ba2618c4a133431e6e63463ceb3b6106c4d56e1d2ba165ba76eaad3dc39bffb130f1de3d8e6427db5b71938db4e272bc3e20b)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-18/test-vector-18.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-18/test-vector-18.uplc.budget.expected new file mode 100644 index 000000000..c5f7b892e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-18/test-vector-18.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53539210 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-18/test-vector-18.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-18/test-vector-18.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-18/test-vector-18.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-19/test-vector-19.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-19/test-vector-19.uplc new file mode 100644 index 000000000..f558d30cf --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-19/test-vector-19.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #74d29127f199d86a8676aec33b4ce3f225ccb191f52c191ccd1e8cca65213a6b)] + (con bytestring #bd8e05033f3a8bcdcbf4beceb70901c82e31)] + (con bytestring #fbe929d743a03c17910575492f3092ee2a2bf14a60a3fcacec74a58c7334510fc262db582791322d6c8c41f1700adb80027ecabc14270b703444ae3ee7623e0a)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-19/test-vector-19.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-19/test-vector-19.uplc.budget.expected new file mode 100644 index 000000000..c5f7b892e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-19/test-vector-19.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53539210 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-19/test-vector-19.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-19/test-vector-19.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-19/test-vector-19.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-20/test-vector-20.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-20/test-vector-20.uplc new file mode 100644 index 000000000..c8529a478 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-20/test-vector-20.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #5b96dca497875bf9664c5e75facf3f9bc54bae913d66ca15ee85f1491ca24d2c)] + (con bytestring #8171456f8b907189b1d779e26bc5afbb08c67a)] + (con bytestring #73bca64e9dd0db88138eedfafcea8f5436cfb74bfb0e7733cf349baa0c49775c56d5934e1d38e36f39b7c5beb0a836510c45126f8ec4b6810519905b0ca07c09)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-20/test-vector-20.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-20/test-vector-20.uplc.budget.expected new file mode 100644 index 000000000..c5f7b892e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-20/test-vector-20.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53539210 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-20/test-vector-20.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-20/test-vector-20.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-20/test-vector-20.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-21/test-vector-21.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-21/test-vector-21.uplc new file mode 100644 index 000000000..8683db0b6 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-21/test-vector-21.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #1ca281938529896535a7714e3584085b86ef9fec723f42819fc8dd5d8c00817f)] + (con bytestring #8ba6a4c9a15a244a9c26bb2a59b1026f21348b49)] + (con bytestring #a1adc2bc6a2d980662677e7fdff6424de7dba50f5795ca90fdf3e96e256f3285cac71d3360482e993d0294ba4ec7440c61affdf35fe83e6e04263937db93f105)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-21/test-vector-21.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-21/test-vector-21.uplc.budget.expected new file mode 100644 index 000000000..c5f7b892e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-21/test-vector-21.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53539210 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-21/test-vector-21.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-21/test-vector-21.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-21/test-vector-21.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-22/test-vector-22.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-22/test-vector-22.uplc new file mode 100644 index 000000000..1d67ac7ed --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-22/test-vector-22.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #7fae45dd0a05971026d410bc497af5be7d0827a82a145c203f625dfcb8b03ba8)] + (con bytestring #1d566a6232bbaab3e6d8804bb518a498ed0f904986)] + (con bytestring #bb61cf84de61862207c6a455258bc4db4e15eea0317ff88718b882a06b5cf6ec6fd20c5a269e5d5c805bafbcc579e2590af414c7c227273c102a10070cdfe80f)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-22/test-vector-22.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-22/test-vector-22.uplc.budget.expected new file mode 100644 index 000000000..c5f7b892e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-22/test-vector-22.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53539210 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-22/test-vector-22.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-22/test-vector-22.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-22/test-vector-22.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-23/test-vector-23.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-23/test-vector-23.uplc new file mode 100644 index 000000000..0ab74c72a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-23/test-vector-23.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #48359b850d23f0715d94bb8bb75e7e14322eaf14f06f28a805403fbda002fc85)] + (con bytestring #1b0afb0ac4ba9ab7b7172cddc9eb42bba1a64bce47d4)] + (con bytestring #b6dcd09989dfbac54322a3ce87876e1d62134da998c79d24b50bd7a6a797d86a0e14dc9d7491d6c14a673c652cfbec9f962a38c945da3b2f0879d0b68a921300)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-23/test-vector-23.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-23/test-vector-23.uplc.budget.expected new file mode 100644 index 000000000..c5f7b892e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-23/test-vector-23.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53539210 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-23/test-vector-23.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-23/test-vector-23.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-23/test-vector-23.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-24/test-vector-24.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-24/test-vector-24.uplc new file mode 100644 index 000000000..1a1350609 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-24/test-vector-24.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #fdb30673402faf1c8033714f3517e47cc0f91fe70cf3836d6c23636e3fd2287c)] + (con bytestring #507c94c8820d2a5793cbf3442b3d71936f35fe3afef316)] + (con bytestring #7ef66e5e86f2360848e0014e94880ae2920ad8a3185a46b35d1e07dea8fa8ae4f6b843ba174d99fa7986654a0891c12a794455669375bf92af4cc2770b579e0c)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-24/test-vector-24.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-24/test-vector-24.uplc.budget.expected new file mode 100644 index 000000000..c5f7b892e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-24/test-vector-24.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53539210 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-24/test-vector-24.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-24/test-vector-24.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-24/test-vector-24.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-25/test-vector-25.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-25/test-vector-25.uplc new file mode 100644 index 000000000..2300b191f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-25/test-vector-25.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #b1d39801892027d58a8c64335163195893bfc1b61dbeca3260497e1f30371107)] + (con bytestring #d3d615a8472d9962bb70c5b5466a3d983a4811046e2a0ef5)] + (con bytestring #836afa764d9c48aa4770a4388b654e97b3c16f082967febca27f2fc47ddfd9244b03cfc729698acf5109704346b60b230f255430089ddc56912399d1122de70a)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-25/test-vector-25.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-25/test-vector-25.uplc.budget.expected new file mode 100644 index 000000000..c5f7b892e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-25/test-vector-25.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53539210 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-25/test-vector-25.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-25/test-vector-25.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-25/test-vector-25.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-26/test-vector-26.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-26/test-vector-26.uplc new file mode 100644 index 000000000..ce94e0431 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-26/test-vector-26.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #d0c846f97fe28585c0ee159015d64c56311c886eddcc185d296dbb165d2625d6)] + (con bytestring #6ada80b6fa84f7034920789e8536b82d5e4678059aed27f71c)] + (con bytestring #16e462a29a6dd498685a3718b3eed00cc1598601ee47820486032d6b9acc9bf89f57684e08d8c0f05589cda2882a05dc4c63f9d0431d6552710812433003bc08)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-26/test-vector-26.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-26/test-vector-26.uplc.budget.expected new file mode 100644 index 000000000..d29b7f2b3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-26/test-vector-26.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53553543 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-26/test-vector-26.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-26/test-vector-26.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-26/test-vector-26.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-27/test-vector-27.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-27/test-vector-27.uplc new file mode 100644 index 000000000..dba00a9ab --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-27/test-vector-27.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #2bf32ba142ba4622d8f3e29ecd85eea07b9c47be9d64412c9b510b27dd218b23)] + (con bytestring #82cb53c4d5a013bae5070759ec06c3c6955ab7a4050958ec328c)] + (con bytestring #881f5b8c5a030df0f75b6634b070dd27bd1ee3c08738ae349338b3ee6469bbf9760b13578a237d5182535ede121283027a90b5f865d63a6537dca07b44049a0f)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-27/test-vector-27.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-27/test-vector-27.uplc.budget.expected new file mode 100644 index 000000000..d29b7f2b3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-27/test-vector-27.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53553543 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-27/test-vector-27.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-27/test-vector-27.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-27/test-vector-27.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-28/test-vector-28.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-28/test-vector-28.uplc new file mode 100644 index 000000000..b07f60f2f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-28/test-vector-28.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #94d23d977c33e49e5e4992c68f25ec99a27c41ce6b91f2bfa0cd8292fe962835)] + (con bytestring #a9a8cbb0ad585124e522abbfb40533bdd6f49347b55b18e8558cb0)] + (con bytestring #3acd39bec8c3cd2b44299722b5850a0400c1443590fd4861d59aae7496acb3df73fc3fdf7969ae5f50ba47dddc435246e5fd376f6b891cd4c2caf5d614b6170c)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-28/test-vector-28.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-28/test-vector-28.uplc.budget.expected new file mode 100644 index 000000000..d29b7f2b3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-28/test-vector-28.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53553543 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-28/test-vector-28.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-28/test-vector-28.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-28/test-vector-28.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-29/test-vector-29.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-29/test-vector-29.uplc new file mode 100644 index 000000000..799a1d999 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-29/test-vector-29.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #9d084aa8b97a6b9bafa496dbc6f76f3306a116c9d917e681520a0f914369427e)] + (con bytestring #5cb6f9aa59b80eca14f6a68fb40cf07b794e75171fba96262c1c6adc)] + (con bytestring #f5875423781b66216cb5e8998de5d9ffc29d1d67107054ace3374503a9c3ef811577f269de81296744bd706f1ac478caf09b54cdf871b3f802bd57f9a6cb9101)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-29/test-vector-29.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-29/test-vector-29.uplc.budget.expected new file mode 100644 index 000000000..d29b7f2b3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-29/test-vector-29.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53553543 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-29/test-vector-29.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-29/test-vector-29.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-29/test-vector-29.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-30/test-vector-30.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-30/test-vector-30.uplc new file mode 100644 index 000000000..8d2c4af81 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-30/test-vector-30.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #16cee8a3f2631834c88b670897ff0b08ce90cc147b4593b3f1f403727f7e7ad5)] + (con bytestring #32fe27994124202153b5c70d3813fdee9c2aa6e7dc743d4d535f1840a5)] + (con bytestring #d834197c1a3080614e0a5fa0aaaa808824f21c38d692e6ffbd200f7dfb3c8f44402a7382180b98ad0afc8eec1a02acecf3cb7fde627b9f18111f260ab1db9a07)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-30/test-vector-30.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-30/test-vector-30.uplc.budget.expected new file mode 100644 index 000000000..d29b7f2b3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-30/test-vector-30.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53553543 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-30/test-vector-30.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-30/test-vector-30.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-30/test-vector-30.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-31/test-vector-31.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-31/test-vector-31.uplc new file mode 100644 index 000000000..b6369724e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-31/test-vector-31.uplc @@ -0,0 +1,4 @@ +(program 0.0.0 [[[(builtin verifyEd25519Signature) + (con bytestring #23be323c562dfd71ce65f5bba56a74a3a6dfc36b573d2f94f635c7f9b4fd5a5b)] + (con bytestring #bb3172795710fe00054d3b5dfef8a11623582da68bf8e46d72d27cece2aa)] + (con bytestring #0f8fad1e6bde771b4f5420eac75c378bae6db5ac6650cd2bc210c1823b432b48e016b10595458ffab92f7a8989b293ceb8dfed6c243a2038fc06652aaaf16f02)]) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-31/test-vector-31.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-31/test-vector-31.uplc.budget.expected new file mode 100644 index 000000000..d29b7f2b3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-31/test-vector-31.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 53553543 +| mem: 810}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-31/test-vector-31.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-31/test-vector-31.uplc.expected new file mode 100644 index 000000000..b1057ef75 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/verifyEd25519Signature/test-vector-31/test-vector-31.uplc.expected @@ -0,0 +1 @@ +(program 0.0.0 (con bool True)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-01/case-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-01/case-01.uplc new file mode 100644 index 000000000..4100d67c5 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-01/case-01.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #) ] (con (list integer) [0]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-01/case-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-01/case-01.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-01/case-01.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-01/case-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-01/case-01.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-01/case-01.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-02/case-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-02/case-02.uplc new file mode 100644 index 000000000..febc1f798 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-02/case-02.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #) ] (con (list integer) [15]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-02/case-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-02/case-02.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-02/case-02.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-02/case-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-02/case-02.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-02/case-02.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-03/case-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-03/case-03.uplc new file mode 100644 index 000000000..6adc004f2 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-03/case-03.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #) ] (con (list integer) [0]) ] + (con bool True) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-03/case-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-03/case-03.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-03/case-03.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-03/case-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-03/case-03.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-03/case-03.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-04/case-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-04/case-04.uplc new file mode 100644 index 000000000..94f6546d2 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-04/case-04.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #) ] (con (list integer) [0,1]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-04/case-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-04/case-04.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-04/case-04.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-04/case-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-04/case-04.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-04/case-04.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-05/case-05.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-05/case-05.uplc new file mode 100644 index 000000000..d88ac47f8 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-05/case-05.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #ff) ] (con (list integer) [-1]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-05/case-05.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-05/case-05.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-05/case-05.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-05/case-05.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-05/case-05.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-05/case-05.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-06/case-06.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-06/case-06.uplc new file mode 100644 index 000000000..eb2206584 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-06/case-06.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #ff) ] (con (list integer) [0,-1]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-06/case-06.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-06/case-06.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-06/case-06.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-06/case-06.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-06/case-06.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-06/case-06.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-07/case-07.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-07/case-07.uplc new file mode 100644 index 000000000..d07bc187f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-07/case-07.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #ff) ] (con (list integer) [-1,0]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-07/case-07.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-07/case-07.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-07/case-07.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-07/case-07.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-07/case-07.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-07/case-07.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-08/case-08.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-08/case-08.uplc new file mode 100644 index 000000000..3c6b1975d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-08/case-08.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #ff) ] (con (list integer) [8]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-08/case-08.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-08/case-08.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-08/case-08.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-08/case-08.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-08/case-08.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-08/case-08.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-09/case-09.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-09/case-09.uplc new file mode 100644 index 000000000..1e3251e12 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-09/case-09.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #ff) ] (con (list integer) [1,8]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-09/case-09.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-09/case-09.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-09/case-09.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-09/case-09.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-09/case-09.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-09/case-09.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-10/case-10.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-10/case-10.uplc new file mode 100644 index 000000000..644baaa68 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-10/case-10.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #ff) ] (con (list integer) [8,1]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-10/case-10.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-10/case-10.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-10/case-10.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-10/case-10.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-10/case-10.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-10/case-10.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-11/case-11.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-11/case-11.uplc new file mode 100644 index 000000000..3fa32c48e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-11/case-11.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #ff) ] (con (list integer) [0]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-11/case-11.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-11/case-11.uplc.budget.expected new file mode 100644 index 000000000..927839980 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-11/case-11.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 412093 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-11/case-11.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-11/case-11.uplc.expected new file mode 100644 index 000000000..02bf0c416 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-11/case-11.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #fe)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-12/case-12.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-12/case-12.uplc new file mode 100644 index 000000000..7b126f76a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-12/case-12.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #ff) ] (con (list integer) [1]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-12/case-12.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-12/case-12.uplc.budget.expected new file mode 100644 index 000000000..927839980 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-12/case-12.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 412093 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-12/case-12.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-12/case-12.uplc.expected new file mode 100644 index 000000000..328b1696d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-12/case-12.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #fd)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-13/case-13.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-13/case-13.uplc new file mode 100644 index 000000000..824f951af --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-13/case-13.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #ff) ] (con (list integer) [2]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-13/case-13.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-13/case-13.uplc.budget.expected new file mode 100644 index 000000000..927839980 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-13/case-13.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 412093 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-13/case-13.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-13/case-13.uplc.expected new file mode 100644 index 000000000..4050f9b87 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-13/case-13.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #fb)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-14/case-14.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-14/case-14.uplc new file mode 100644 index 000000000..1302a4e5f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-14/case-14.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #ff) ] (con (list integer) [3]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-14/case-14.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-14/case-14.uplc.budget.expected new file mode 100644 index 000000000..927839980 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-14/case-14.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 412093 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-14/case-14.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-14/case-14.uplc.expected new file mode 100644 index 000000000..4d6863a99 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-14/case-14.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #f7)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-15/case-15.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-15/case-15.uplc new file mode 100644 index 000000000..b22cacf3e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-15/case-15.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #ff) ] (con (list integer) [4]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-15/case-15.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-15/case-15.uplc.budget.expected new file mode 100644 index 000000000..927839980 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-15/case-15.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 412093 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-15/case-15.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-15/case-15.uplc.expected new file mode 100644 index 000000000..088121d5e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-15/case-15.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ef)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-16/case-16.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-16/case-16.uplc new file mode 100644 index 000000000..25c4c48dc --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-16/case-16.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #ff) ] (con (list integer) [5]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-16/case-16.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-16/case-16.uplc.budget.expected new file mode 100644 index 000000000..927839980 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-16/case-16.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 412093 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-16/case-16.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-16/case-16.uplc.expected new file mode 100644 index 000000000..f87801506 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-16/case-16.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #df)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-17/case-17.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-17/case-17.uplc new file mode 100644 index 000000000..52daf4841 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-17/case-17.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #ff) ] (con (list integer) [6]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-17/case-17.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-17/case-17.uplc.budget.expected new file mode 100644 index 000000000..927839980 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-17/case-17.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 412093 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-17/case-17.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-17/case-17.uplc.expected new file mode 100644 index 000000000..15d3285fe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-17/case-17.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #bf)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-18/case-18.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-18/case-18.uplc new file mode 100644 index 000000000..7d7cdd32f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-18/case-18.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #ff) ] (con (list integer) [7]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-18/case-18.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-18/case-18.uplc.budget.expected new file mode 100644 index 000000000..927839980 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-18/case-18.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 412093 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-18/case-18.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-18/case-18.uplc.expected new file mode 100644 index 000000000..35d0c5f7a --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-18/case-18.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #7f)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-19/case-19.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-19/case-19.uplc new file mode 100644 index 000000000..e3af27c79 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-19/case-19.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #00) ] (con (list integer) [-1]) ] + (con bool True) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-19/case-19.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-19/case-19.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-19/case-19.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-19/case-19.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-19/case-19.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-19/case-19.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-20/case-20.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-20/case-20.uplc new file mode 100644 index 000000000..58c84e97b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-20/case-20.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #00) ] (con (list integer) [0]) ] + (con bool True) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-20/case-20.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-20/case-20.uplc.budget.expected new file mode 100644 index 000000000..927839980 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-20/case-20.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 412093 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-20/case-20.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-20/case-20.uplc.expected new file mode 100644 index 000000000..9f3c7471f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-20/case-20.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #01)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-21/case-21.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-21/case-21.uplc new file mode 100644 index 000000000..c9c29b69e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-21/case-21.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #00) ] (con (list integer) [1]) ] + (con bool True) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-21/case-21.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-21/case-21.uplc.budget.expected new file mode 100644 index 000000000..927839980 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-21/case-21.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 412093 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-21/case-21.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-21/case-21.uplc.expected new file mode 100644 index 000000000..7e135432f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-21/case-21.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #02)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-22/case-22.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-22/case-22.uplc new file mode 100644 index 000000000..4cad90870 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-22/case-22.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #00) ] (con (list integer) [2]) ] + (con bool True) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-22/case-22.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-22/case-22.uplc.budget.expected new file mode 100644 index 000000000..927839980 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-22/case-22.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 412093 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-22/case-22.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-22/case-22.uplc.expected new file mode 100644 index 000000000..147c8009d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-22/case-22.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #04)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-23/case-23.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-23/case-23.uplc new file mode 100644 index 000000000..ea7043802 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-23/case-23.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #00) ] (con (list integer) [3]) ] + (con bool True) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-23/case-23.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-23/case-23.uplc.budget.expected new file mode 100644 index 000000000..927839980 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-23/case-23.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 412093 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-23/case-23.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-23/case-23.uplc.expected new file mode 100644 index 000000000..6c5da937c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-23/case-23.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #08)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-24/case-24.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-24/case-24.uplc new file mode 100644 index 000000000..c046a1366 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-24/case-24.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #00) ] (con (list integer) [4]) ] + (con bool True) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-24/case-24.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-24/case-24.uplc.budget.expected new file mode 100644 index 000000000..927839980 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-24/case-24.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 412093 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-24/case-24.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-24/case-24.uplc.expected new file mode 100644 index 000000000..e7689cea5 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-24/case-24.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #10)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-25/case-25.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-25/case-25.uplc new file mode 100644 index 000000000..8bc796ffa --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-25/case-25.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #00) ] (con (list integer) [5]) ] + (con bool True) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-25/case-25.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-25/case-25.uplc.budget.expected new file mode 100644 index 000000000..927839980 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-25/case-25.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 412093 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-25/case-25.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-25/case-25.uplc.expected new file mode 100644 index 000000000..0f56b3d13 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-25/case-25.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #20)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-26/case-26.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-26/case-26.uplc new file mode 100644 index 000000000..3339704ac --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-26/case-26.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #00) ] (con (list integer) [6]) ] + (con bool True) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-26/case-26.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-26/case-26.uplc.budget.expected new file mode 100644 index 000000000..927839980 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-26/case-26.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 412093 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-26/case-26.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-26/case-26.uplc.expected new file mode 100644 index 000000000..ca11ac0b5 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-26/case-26.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #40)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-27/case-27.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-27/case-27.uplc new file mode 100644 index 000000000..cb90b5c17 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-27/case-27.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #00) ] (con (list integer) [7]) ] + (con bool True) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-27/case-27.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-27/case-27.uplc.budget.expected new file mode 100644 index 000000000..927839980 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-27/case-27.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 412093 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-27/case-27.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-27/case-27.uplc.expected new file mode 100644 index 000000000..f8c7744e4 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-27/case-27.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #80)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-28/case-28.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-28/case-28.uplc new file mode 100644 index 000000000..af78ce50d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-28/case-28.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #00) ] (con (list integer) [8]) ] + (con bool True) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-28/case-28.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-28/case-28.uplc.budget.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-28/case-28.uplc.budget.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-28/case-28.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-28/case-28.uplc.expected new file mode 100644 index 000000000..ccc477ffe --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-28/case-28.uplc.expected @@ -0,0 +1 @@ +evaluation failure \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-29/case-29.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-29/case-29.uplc new file mode 100644 index 000000000..d5622a66e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-29/case-29.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #f4ff) ] (con (list integer) [10]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-29/case-29.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-29/case-29.uplc.budget.expected new file mode 100644 index 000000000..927839980 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-29/case-29.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 412093 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-29/case-29.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-29/case-29.uplc.expected new file mode 100644 index 000000000..334e02172 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-29/case-29.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #f0ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-30/case-30.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-30/case-30.uplc new file mode 100644 index 000000000..a5b2de0cc --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-30/case-30.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #f4ff) ] (con (list integer) [1,10]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-30/case-30.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-30/case-30.uplc.budget.expected new file mode 100644 index 000000000..30dac2d10 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-30/case-30.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 430941 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-30/case-30.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-30/case-30.uplc.expected new file mode 100644 index 000000000..3782838d3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-30/case-30.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #f0fd)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-31/case-31.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-31/case-31.uplc new file mode 100644 index 000000000..856c7fca4 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-31/case-31.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #f4ff) ] (con (list integer) [10,1]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-31/case-31.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-31/case-31.uplc.budget.expected new file mode 100644 index 000000000..30dac2d10 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-31/case-31.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 430941 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-31/case-31.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-31/case-31.uplc.expected new file mode 100644 index 000000000..3782838d3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-31/case-31.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #f0fd)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-32/case-32.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-32/case-32.uplc new file mode 100644 index 000000000..7c0ff5aef --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-32/case-32.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #f4ff) ] (con (list integer) [10,1,10,1,1,1,1,10,10,10,1,1,1,1,1,1,10,1]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-32/case-32.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-32/case-32.uplc.budget.expected new file mode 100644 index 000000000..1abc268e0 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-32/case-32.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 732509 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-32/case-32.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-32/case-32.uplc.expected new file mode 100644 index 000000000..3782838d3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-32/case-32.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #f0fd)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-33/case-33.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-33/case-33.uplc new file mode 100644 index 000000000..59ba12506 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-33/case-33.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #f4ff) ] (con (list integer) [1,10,1,10,1,10,1,10,1,10,1,10,10,10,10,11,11,9]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-33/case-33.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-33/case-33.uplc.budget.expected new file mode 100644 index 000000000..1abc268e0 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-33/case-33.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 732509 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-33/case-33.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-33/case-33.uplc.expected new file mode 100644 index 000000000..3782838d3 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-33/case-33.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #f0fd)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-34/case-34.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-34/case-34.uplc new file mode 100644 index 000000000..0c18dfeab --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-34/case-34.uplc @@ -0,0 +1,19 @@ +(program 1.0.0 + [ + [ + (builtin writeBits) + [ + [ + [ + (builtin writeBits) + (con bytestring #00ff) + ] + (con (list integer) [10]) + ] + (con bool True) + ] + (con (list integer) [10]) + ] + (con bool False) + ] +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-34/case-34.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-34/case-34.uplc.budget.expected new file mode 100644 index 000000000..d51c314bb --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-34/case-34.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 808086 +| mem: 1402}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-34/case-34.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-34/case-34.uplc.expected new file mode 100644 index 000000000..3b05f1664 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-34/case-34.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #00ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-35/case-35.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-35/case-35.uplc new file mode 100644 index 000000000..9ab252bdb --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-35/case-35.uplc @@ -0,0 +1,19 @@ +(program 1.0.0 + [ + [ + (builtin writeBits) + [ + [ + [ + (builtin writeBits) + (con bytestring #00ff) + ] + (con (list integer) [10]) + ] + (con bool False) + ] + (con (list integer) [10]) + ] + (con bool True) + ] +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-35/case-35.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-35/case-35.uplc.budget.expected new file mode 100644 index 000000000..d51c314bb --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-35/case-35.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 808086 +| mem: 1402}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-35/case-35.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-35/case-35.uplc.expected new file mode 100644 index 000000000..6dac2188e --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-35/case-35.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #04ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-36/case-36.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-36/case-36.uplc new file mode 100644 index 000000000..7a35424ba --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-36/case-36.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #ff) ] (con (list integer) [0]) ] + (con bool True) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-36/case-36.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-36/case-36.uplc.budget.expected new file mode 100644 index 000000000..927839980 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-36/case-36.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 412093 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-36/case-36.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-36/case-36.uplc.expected new file mode 100644 index 000000000..f596b7aaa --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-36/case-36.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-37/case-37.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-37/case-37.uplc new file mode 100644 index 000000000..31ae6f5c9 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-37/case-37.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin writeBits) (con bytestring #00) ] (con (list integer) [0]) ] + (con bool False) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-37/case-37.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-37/case-37.uplc.budget.expected new file mode 100644 index 000000000..927839980 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-37/case-37.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 412093 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-37/case-37.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-37/case-37.uplc.expected new file mode 100644 index 000000000..4624f0c52 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-37/case-37.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #00)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-38/case-38.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-38/case-38.uplc new file mode 100644 index 000000000..af51ab962 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-38/case-38.uplc @@ -0,0 +1,12 @@ +(program 1.0.0 + [ + [ + [ + (builtin writeBits) + (con bytestring #00000000000000000000000000000000000000000000000000000000000000000000000000000000000000) + ] + (con (list integer) [340, 342, 343]) + ] + (con bool True) + ] +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-38/case-38.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-38/case-38.uplc.budget.expected new file mode 100644 index 000000000..c6aac0b72 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-38/case-38.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 449789 +| mem: 806}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-38/case-38.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-38/case-38.uplc.expected new file mode 100644 index 000000000..3c6327789 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-38/case-38.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-39/case-39.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-39/case-39.uplc new file mode 100644 index 000000000..ef5c4d40b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-39/case-39.uplc @@ -0,0 +1,20 @@ +-- Later updates to duplicate indices take precedence. +(program 1.0.0 + [ + [ + (builtin writeBits) + [ + [ + [ + (builtin writeBits) + (con bytestring #00000000000000000000000000000000000000000000000000000000000000000000000000000000000000) + ] + (con (list integer) [340, 342, 343, 340, 342, 343]) + ] + (con bool True) + ] + (con (list integer) [340, 342, 343]) + ] + (con bool False) + ] +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-39/case-39.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-39/case-39.uplc.budget.expected new file mode 100644 index 000000000..07b221307 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-39/case-39.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 940022 +| mem: 1412}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-39/case-39.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-39/case-39.uplc.expected new file mode 100644 index 000000000..1d4a1034c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-39/case-39.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #00000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-40/case-40.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-40/case-40.uplc new file mode 100644 index 000000000..5b001bb43 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-40/case-40.uplc @@ -0,0 +1,12 @@ +(program 1.0.0 + [ + [ + [ + (builtin writeBits) + (con bytestring #00000000000000000000000000000000000000000000000000000000000000000000000000000000000000) + ] + (con (list integer) [340, 342, 343]) + ] + (con bool False) + ] +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-40/case-40.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-40/case-40.uplc.budget.expected new file mode 100644 index 000000000..c6aac0b72 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-40/case-40.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 449789 +| mem: 806}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-40/case-40.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-40/case-40.uplc.expected new file mode 100644 index 000000000..1d4a1034c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/writeBits/case-40/case-40.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #00000000000000000000000000000000000000000000000000000000000000000000000000000000000000 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-01/case-01.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-01/case-01.uplc new file mode 100644 index 000000000..8409628a1 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-01/case-01.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin xorByteString) (con bool False) ] (con bytestring #) ] + (con bytestring #ff) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-01/case-01.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-01/case-01.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-01/case-01.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-01/case-01.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-01/case-01.uplc.expected new file mode 100644 index 000000000..5dbd40474 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-01/case-01.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-02/case-02.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-02/case-02.uplc new file mode 100644 index 000000000..cd596c136 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-02/case-02.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin xorByteString) (con bool False) ] (con bytestring #ff) ] + (con bytestring #) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-02/case-02.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-02/case-02.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-02/case-02.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-02/case-02.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-02/case-02.uplc.expected new file mode 100644 index 000000000..5dbd40474 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-02/case-02.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-03/case-03.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-03/case-03.uplc new file mode 100644 index 000000000..839eba09b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-03/case-03.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin xorByteString) (con bool False) ] (con bytestring #ff) ] + (con bytestring #00) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-03/case-03.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-03/case-03.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-03/case-03.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-03/case-03.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-03/case-03.uplc.expected new file mode 100644 index 000000000..f596b7aaa --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-03/case-03.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-04/case-04.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-04/case-04.uplc new file mode 100644 index 000000000..f6caa1438 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-04/case-04.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin xorByteString) (con bool False) ] (con bytestring #00) ] + (con bytestring #ff) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-04/case-04.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-04/case-04.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-04/case-04.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-04/case-04.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-04/case-04.uplc.expected new file mode 100644 index 000000000..f596b7aaa --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-04/case-04.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-05/case-05.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-05/case-05.uplc new file mode 100644 index 000000000..0e098534f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-05/case-05.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin xorByteString) (con bool False) ] (con bytestring #4f00) ] + (con bytestring #f4) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-05/case-05.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-05/case-05.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-05/case-05.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-05/case-05.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-05/case-05.uplc.expected new file mode 100644 index 000000000..47db26e2c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-05/case-05.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #bb)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-06/case-06.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-06/case-06.uplc new file mode 100644 index 000000000..817224529 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-06/case-06.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin xorByteString) (con bool True) ] (con bytestring #) ] + (con bytestring #ff) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-06/case-06.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-06/case-06.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-06/case-06.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-06/case-06.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-06/case-06.uplc.expected new file mode 100644 index 000000000..f596b7aaa --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-06/case-06.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-07/case-07.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-07/case-07.uplc new file mode 100644 index 000000000..32dbd68b1 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-07/case-07.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin xorByteString) (con bool True) ] (con bytestring #ff) ] + (con bytestring #) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-07/case-07.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-07/case-07.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-07/case-07.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-07/case-07.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-07/case-07.uplc.expected new file mode 100644 index 000000000..f596b7aaa --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-07/case-07.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-08/case-08.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-08/case-08.uplc new file mode 100644 index 000000000..77a09a66c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-08/case-08.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin xorByteString) (con bool True) ] (con bytestring #ff) ] + (con bytestring #00) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-08/case-08.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-08/case-08.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-08/case-08.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-08/case-08.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-08/case-08.uplc.expected new file mode 100644 index 000000000..f596b7aaa --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-08/case-08.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-09/case-09.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-09/case-09.uplc new file mode 100644 index 000000000..031655f0b --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-09/case-09.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin xorByteString) (con bool True) ] (con bytestring #00) ] + (con bytestring #ff) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-09/case-09.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-09/case-09.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-09/case-09.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-09/case-09.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-09/case-09.uplc.expected new file mode 100644 index 000000000..f596b7aaa --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-09/case-09.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #ff)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-10/case-10.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-10/case-10.uplc new file mode 100644 index 000000000..06f914ef5 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-10/case-10.uplc @@ -0,0 +1,4 @@ +(program 1.0.0 [ + [ [ (builtin xorByteString) (con bool True) ] (con bytestring #4f00) ] + (con bytestring #f4) +]) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-10/case-10.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-10/case-10.uplc.budget.expected new file mode 100644 index 000000000..1b4435d59 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-10/case-10.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 213726 +| mem: 801}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-10/case-10.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-10/case-10.uplc.expected new file mode 100644 index 000000000..55d3996e8 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-10/case-10.uplc.expected @@ -0,0 +1 @@ +(program 1.0.0 (con bytestring #bb00)) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-11/case-11.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-11/case-11.uplc new file mode 100644 index 000000000..838e4023f --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-11/case-11.uplc @@ -0,0 +1,12 @@ +(program 1.0.0 + [ + [ + [ + (builtin xorByteString) + (con bool False) + ] + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con bytestring #db9c861c98a3d19cb928c22a32aaae0a4f740113dc48734d3c001657cb8fd2b9497faf16a40c1ecdd7d6581b55b625553af3) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-11/case-11.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-11/case-11.uplc.budget.expected new file mode 100644 index 000000000..7addf0a95 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-11/case-11.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 221670 +| mem: 807}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-11/case-11.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-11/case-11.uplc.expected new file mode 100644 index 000000000..ba8cd3b9d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-11/case-11.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #e85e76ca1d2751a724e899113936136ccc99c1dda863c3d46b612813de8dd7ded440ceb2c3be420a8f75e8 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-12/case-12.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-12/case-12.uplc new file mode 100644 index 000000000..1a0e7a69c --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-12/case-12.uplc @@ -0,0 +1,12 @@ +(program 1.0.0 + [ + [ + [ + (builtin xorByteString) + (con bool True) + ] + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] + (con bytestring #db9c861c98a3d19cb928c22a32aaae0a4f740113dc48734d3c001657cb8fd2b9497faf16a40c1ecdd7d6581b55b625553af3) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-12/case-12.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-12/case-12.uplc.budget.expected new file mode 100644 index 000000000..7addf0a95 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-12/case-12.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 221670 +| mem: 807}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-12/case-12.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-12/case-12.uplc.expected new file mode 100644 index 000000000..6c3446756 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-12/case-12.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #e85e76ca1d2751a724e899113936136ccc99c1dda863c3d46b612813de8dd7ded440ceb2c3be420a8f75e81b55b625553af3 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-13/case-13.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-13/case-13.uplc new file mode 100644 index 000000000..d34b9365d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-13/case-13.uplc @@ -0,0 +1,12 @@ +(program 1.0.0 + [ + [ + [ + (builtin xorByteString) + (con bool False) + ] + (con bytestring #db9c861c98a3d19cb928c22a32aaae0a4f740113dc48734d3c001657cb8fd2b9497faf16a40c1ecdd7d6581b55b625553af3) + ] + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-13/case-13.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-13/case-13.uplc.budget.expected new file mode 100644 index 000000000..0d79b6faf --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-13/case-13.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 221677 +| mem: 807}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-13/case-13.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-13/case-13.uplc.expected new file mode 100644 index 000000000..ba8cd3b9d --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-13/case-13.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #e85e76ca1d2751a724e899113936136ccc99c1dda863c3d46b612813de8dd7ded440ceb2c3be420a8f75e8 + ) +) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-14/case-14.uplc b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-14/case-14.uplc new file mode 100644 index 000000000..2619f7942 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-14/case-14.uplc @@ -0,0 +1,12 @@ +(program 1.0.0 + [ + [ + [ + (builtin xorByteString) + (con bool True) + ] + (con bytestring #db9c861c98a3d19cb928c22a32aaae0a4f740113dc48734d3c001657cb8fd2b9497faf16a40c1ecdd7d6581b55b625553af3) + ] + (con bytestring #33c2f0d68584803b9dc05b3b0b9cbd6683edc0ce742bb09957613e44150205679d3f61a467b25cc758a3b0) + ] +) diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-14/case-14.uplc.budget.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-14/case-14.uplc.budget.expected new file mode 100644 index 000000000..0d79b6faf --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-14/case-14.uplc.budget.expected @@ -0,0 +1,2 @@ +({cpu: 221677 +| mem: 807}) \ No newline at end of file diff --git a/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-14/case-14.uplc.expected b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-14/case-14.uplc.expected new file mode 100644 index 000000000..6c3446756 --- /dev/null +++ b/crates/uplc/test_data/conformance/v3/builtin/semantics/xorByteString/case-14/case-14.uplc.expected @@ -0,0 +1,7 @@ +(program + 1.0.0 + (con + bytestring + #e85e76ca1d2751a724e899113936136ccc99c1dda863c3d46b612813de8dd7ded440ceb2c3be420a8f75e81b55b625553af3 + ) +) \ No newline at end of file From 4d7a24234b52ae451fe77e0621a7aeb3a7331350 Mon Sep 17 00:00:00 2001 From: microproofs Date: Sat, 7 Dec 2024 12:27:35 +0700 Subject: [PATCH 13/14] Clippy fix --- crates/uplc/src/machine/cost_model.rs | 2 +- crates/uplc/src/machine/runtime.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/uplc/src/machine/cost_model.rs b/crates/uplc/src/machine/cost_model.rs index ebb4cf889..c115956a3 100644 --- a/crates/uplc/src/machine/cost_model.rs +++ b/crates/uplc/src/machine/cost_model.rs @@ -2,7 +2,7 @@ use super::{value::integer_log2, Error, Value}; use crate::builtins::DefaultFunction; use num_traits::Signed; use pallas_primitives::conway::Language; -use std::{collections::HashMap, i64}; +use std::collections::HashMap; macro_rules! hashmap { // map-like diff --git a/crates/uplc/src/machine/runtime.rs b/crates/uplc/src/machine/runtime.rs index 6de90f481..d83583b5a 100644 --- a/crates/uplc/src/machine/runtime.rs +++ b/crates/uplc/src/machine/runtime.rs @@ -1711,7 +1711,7 @@ impl DefaultFunction { let first_bit = bytes - .into_iter() + .iter() .rev() .enumerate() .find_map(|(byte_index, value)| { From ddc58b9a6554b2a1af4d757e0248ef1d7c6d971e Mon Sep 17 00:00:00 2001 From: microproofs Date: Sat, 7 Dec 2024 12:30:14 +0700 Subject: [PATCH 14/14] Cargo fmt fix --- crates/uplc/src/machine/runtime.rs | 59 +++++++++++++++--------------- 1 file changed, 29 insertions(+), 30 deletions(-) diff --git a/crates/uplc/src/machine/runtime.rs b/crates/uplc/src/machine/runtime.rs index d83583b5a..8b101a09d 100644 --- a/crates/uplc/src/machine/runtime.rs +++ b/crates/uplc/src/machine/runtime.rs @@ -1709,36 +1709,35 @@ impl DefaultFunction { DefaultFunction::FindFirstSetBit => { let bytes = args[0].unwrap_byte_string()?; - let first_bit = - bytes - .iter() - .rev() - .enumerate() - .find_map(|(byte_index, value)| { - let value = value.reverse_bits(); - - let first_bit: Option = if value >= 128 { - Some(0) - } else if value >= 64 { - Some(1) - } else if value >= 32 { - Some(2) - } else if value >= 16 { - Some(3) - } else if value >= 8 { - Some(4) - } else if value >= 4 { - Some(5) - } else if value >= 2 { - Some(6) - } else if value >= 1 { - Some(7) - } else { - None - }; - - first_bit.map(|bit| isize::try_from(bit + byte_index * 8).unwrap()) - }); + let first_bit = bytes + .iter() + .rev() + .enumerate() + .find_map(|(byte_index, value)| { + let value = value.reverse_bits(); + + let first_bit: Option = if value >= 128 { + Some(0) + } else if value >= 64 { + Some(1) + } else if value >= 32 { + Some(2) + } else if value >= 16 { + Some(3) + } else if value >= 8 { + Some(4) + } else if value >= 4 { + Some(5) + } else if value >= 2 { + Some(6) + } else if value >= 1 { + Some(7) + } else { + None + }; + + first_bit.map(|bit| isize::try_from(bit + byte_index * 8).unwrap()) + }); Ok(Value::integer(first_bit.unwrap_or(-1).into())) }