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]
|
[project]
|
||||||
name = "hello-world"
|
name = "hello-world"
|
||||||
version = "0.3.0"
|
version = "0.3.0"
|
||||||
description = "Logs hello world"
|
description = "A minimal token program in Leo."
|
||||||
license = "LICENSE-MIT"
|
license = "LICENSE-MIT"
|
||||||
|
|
||||||
[remote]
|
[remote]
|
||||||
author = "aleo"
|
author = "aleo"
|
||||||
|
|
||||||
[target]
|
|
||||||
curve = "bls12_377"
|
|
||||||
proving_system = "groth16"
|
|
||||||
|
@ -6,6 +6,3 @@ license = "LICENSE-MIT"
|
|||||||
|
|
||||||
[remote]
|
[remote]
|
||||||
author = "aleo"
|
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)?;
|
let mut file = File::create(&path).map_err(PackageError::io_error_aleo_file)?;
|
||||||
|
|
||||||
// Write program id to 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);
|
aleo_file.push_str(&aleo);
|
||||||
|
|
||||||
file.write_all(aleo_file.as_bytes())
|
file.write_all(aleo_file.as_bytes())
|
||||||
|
@ -142,10 +142,6 @@ license = "MIT"
|
|||||||
[remote]
|
[remote]
|
||||||
author = "{author}" # Add your Aleo Package Manager username or team name.
|
author = "{author}" # Add your Aleo Package Manager username or team name.
|
||||||
|
|
||||||
[target]
|
|
||||||
curve = "bls12_377"
|
|
||||||
proving_system = "groth16"
|
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
# Define dependencies here in format:
|
# Define dependencies here in format:
|
||||||
# name = {{ package = "package-name", author = "author", version = "version" }}
|
# name = {{ package = "package-name", author = "author", version = "version" }}
|
||||||
|
Loading…
Reference in New Issue
Block a user