update program id

This commit is contained in:
collin 2022-07-06 11:13:07 -07:00
parent ac73ffa952
commit 5c8fa2bd02
6 changed files with 2 additions and 12 deletions

View File

@ -1,12 +1,9 @@
[project]
name = "hello-world"
version = "0.3.0"
description = "Logs hello world"
description = "A minimal token program in Leo."
license = "LICENSE-MIT"
[remote]
author = "aleo"
[target]
curve = "bls12_377"
proving_system = "groth16"

View File

@ -6,6 +6,3 @@ license = "LICENSE-MIT"
[remote]
author = "aleo"
[target]
proving_system = "marlin"

View File

@ -63,7 +63,7 @@ impl AleoFile {
let mut file = File::create(&path).map_err(PackageError::io_error_aleo_file)?;
// Write program id to file.
let mut aleo_file = format!("program {};\n\n", self.package_name);
let mut aleo_file = format!("program {}.aleo;\n\n", self.package_name);
aleo_file.push_str(&aleo);
file.write_all(aleo_file.as_bytes())

View File

@ -142,10 +142,6 @@ license = "MIT"
[remote]
author = "{author}" # Add your Aleo Package Manager username or team name.
[target]
curve = "bls12_377"
proving_system = "groth16"
[dependencies]
# Define dependencies here in format:
# name = {{ package = "package-name", author = "author", version = "version" }}