mirror of
https://github.com/ProvableHQ/leo.git
synced 2024-10-26 07:00:35 +03:00
impl leo build for multiple aleo files
This commit is contained in:
parent
91857e81c8
commit
749a7682cd
4
examples/helloworld/imports/other.aleo
Normal file
4
examples/helloworld/imports/other.aleo
Normal file
@ -0,0 +1,4 @@
|
||||
program other.aleo;
|
||||
|
||||
interface other:
|
||||
a as u64;
|
@ -1,7 +0,0 @@
|
||||
program helloworld.aleo;
|
||||
|
||||
function main:
|
||||
input r0 as u32.public;
|
||||
input r1 as u32.private;
|
||||
add r0 r1 into r2;
|
||||
output r2 as u32.private;
|
3
examples/helloworld/src/imports/other.leo
Normal file
3
examples/helloworld/src/imports/other.leo
Normal file
@ -0,0 +1,3 @@
|
||||
circuit Other {
|
||||
a: u64,
|
||||
}
|
Loading…
Reference in New Issue
Block a user