feat: add plutus version to aiken.toml

relates to #907
This commit is contained in:
rvcas
2024-05-21 17:01:09 -04:00
parent 4ca73c4cdf
commit 3bc3792aa3
14 changed files with 366 additions and 81 deletions

View File

@@ -12,6 +12,7 @@ use aiken_lang::{
gen_uplc::CodeGenerator,
line_numbers::LineNumbers,
parser,
plutus_version::PlutusVersion,
tipo::TypeInfo,
IdGenerator,
};
@@ -60,6 +61,7 @@ impl TestProject {
pub fn new_generator(&'_ self, tracing: Tracing) -> CodeGenerator<'_> {
CodeGenerator::new(
PlutusVersion::default(),
utils::indexmap::as_ref_values(&self.functions),
utils::indexmap::as_ref_values(&self.data_types),
utils::indexmap::as_str_ref_values(&self.module_types),