diff --git a/errors/src/errors/cli/cli_errors.rs b/errors/src/errors/cli/cli_errors.rs index e04071bd19..a6146d1328 100644 --- a/errors/src/errors/cli/cli_errors.rs +++ b/errors/src/errors/cli/cli_errors.rs @@ -411,49 +411,49 @@ create_messages!( @backtraced failed_to_load_instructions { args: (error: impl Display), - msg: format!("Failed to load compiled Aleo instructions into an Aleo file:\n{}", error), + msg: format!("Failed to load compiled Aleo instructions into an Aleo file.\nSnarkVM Error: {}", error), help: Some("Generated Aleo instructions have been left in `main.aleo`".to_string()), } @backtraced failed_to_write_to_aleo_file { args: (path: impl Display, error: impl Display), - msg: format!("Failed to write to the Aleo file at `{}`. Error: {}", path, error), + msg: format!("Failed to write to the Aleo file at `{}`.\nSnarkVM Error: {}", path, error), help: None, } @backtraced failed_to_execute_aleo_build { args: (error: impl Display), - msg: format!("Failed to execute the `aleo build` command. Error: {}", error), + msg: format!("Failed to execute the `aleo build` command.\nSnarkVM Error: {}", error), help: None, } @backtraced failed_to_execute_aleo_new { args: (error: impl Display), - msg: format!("Failed to execute the `aleo new` command. Error: {}", error), + msg: format!("Failed to execute the `aleo new` command.\nSnarkVM Error: {}", error), help: None, } @backtraced failed_to_execute_aleo_run { args: (error: impl Display), - msg: format!("Failed to execute the `aleo run` command. Error: {}", error), + msg: format!("Failed to execute the `aleo run` command.\nSnarkVM Error: {}", error), help: None, } @backtraced failed_to_parse_aleo_new { args: (error: impl Display), - msg: format!("Failed to parse the `aleo new` command. Error: {}", error), + msg: format!("Failed to parse the `aleo new` command.\nSnarkVM Error: {}", error), help: None, } @backtraced failed_to_parse_aleo_run { args: (error: impl Display), - msg: format!("Failed to parse the `aleo run` command. Error: {}", error), + msg: format!("Failed to parse the `aleo run` command.\nSnarkVM Error: {}", error), help: None, } ); diff --git a/examples/helloworld/main.aleo b/examples/helloworld/main.aleo index 8e1c38eb5a..464c691e96 100644 --- a/examples/helloworld/main.aleo +++ b/examples/helloworld/main.aleo @@ -1,6 +1,5 @@ program helloworld.aleo; - function compute: input r0 as u32.private; input r1 as u32.private; diff --git a/examples/message/main.aleo b/examples/message/main.aleo index 1f7a65133b..55b3c611b1 100644 --- a/examples/message/main.aleo +++ b/examples/message/main.aleo @@ -1,4 +1,5 @@ program message.aleo; + interface message: first as field; second as field; diff --git a/examples/token/main.aleo b/examples/token/main.aleo index 79a5bd23f8..038567f3ab 100644 --- a/examples/token/main.aleo +++ b/examples/token/main.aleo @@ -7,4 +7,4 @@ record token: function main: input r0 as token.record; add r0.token_amount r0.token_amount into r1; - output r1 as u64.private; + output r1 as field.private;