mirror of
https://github.com/AleoHQ/leo.git
synced 2024-11-24 10:52:29 +03:00
update program id
This commit is contained in:
parent
ac73ffa952
commit
5c8fa2bd02
@ -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"
|
||||
|
@ -6,6 +6,3 @@ license = "LICENSE-MIT"
|
||||
|
||||
[remote]
|
||||
author = "aleo"
|
||||
|
||||
[target]
|
||||
proving_system = "marlin"
|
||||
|
@ -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())
|
||||
|
@ -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" }}
|
||||
|
Loading…
Reference in New Issue
Block a user