Pranav Gaddamadugu
7e145728e0
Update CI and examples
2024-01-15 15:45:08 -08:00
Pranav Gaddamadugu
e4ddfcda25
Remove input files written in leo example
2024-01-15 15:45:07 -08:00
evan-schott
de8b2a2cad
make example compatible w/ stubs
2023-12-11 13:19:42 -08:00
Collin Chin
12570e4602
Commit leo example tests ( #2524 )
...
* commit leo example tests
* improve leo example readme's and ci
* commit leo token example script
2023-08-14 15:26:55 -07:00
Collin Chin
d31b707c4b
Update leo examples ( #2501 )
...
* improve leo example run scripts
* add leo build warning message, reduce number of calls to snarkvm package open
* cargo clippy
* Update examples/token/run.sh
Co-authored-by: Eric McCarthy <7607035+bendyarm@users.noreply.github.com>
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
* Update examples/token/run.sh
Co-authored-by: Eric McCarthy <7607035+bendyarm@users.noreply.github.com>
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
* Update examples/token/run.sh
Co-authored-by: Eric McCarthy <7607035+bendyarm@users.noreply.github.com>
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
* Update examples/token/run.sh
Co-authored-by: Eric McCarthy <7607035+bendyarm@users.noreply.github.com>
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
* Update examples/token/run.sh
Co-authored-by: Eric McCarthy <7607035+bendyarm@users.noreply.github.com>
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
* fix comments
* make auctioneer the starting private key in auction example
---------
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
Co-authored-by: Eric McCarthy <7607035+bendyarm@users.noreply.github.com>
2023-07-24 10:33:41 -07:00
Collin Chin
d44457fc32
[Feature] Implement leo execute ( #2491 )
...
* bump snarkvm rev
* update default gitignore
* impl leo execute
* bump snarkvm 0.14.5
* modify examples wip
* update run.sh examples
* impl env file
* clippy warning
* fix auction example
* fix auction example env
* generate new private key for new env - tests failing due to env not found err
* commit error changes
* Fix tests; clippy
* Get examples working
* leo build checks that build dir is well formed; clippy
* Clean up
* Update examples/README.md
Co-authored-by: d0cd <pranavsaig@gmail.com>
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
* do not commit .avm files
* use snarkvm commands
---------
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
Co-authored-by: Pranav Gaddamadugu <pranav@aleo.org>
Co-authored-by: d0cd <pranavsaig@gmail.com>
2023-07-19 18:04:09 -07:00
Collin Chin
d83c4be330
Implement Mapping::get_or_use ( #2413 )
...
* get_or_init -> get_or_use
* use mapping get_or_use in examples
* fix codegen for Mapping::get_or_use
* fix tests for Mapping::get_or_use
* fix warnings, update snarvm rev
* bump circle rust img v1.70
* fix codegen
* update snarkvm rev and regen tests
* Update compiler/parser/src/parser/expression.rs
Co-authored-by: d0cd <pranavsaig@gmail.com>
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
* Delete program.json
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
* Delete program.json
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
---------
Signed-off-by: Collin Chin <16715212+collinc97@users.noreply.github.com>
Co-authored-by: d0cd <pranavsaig@gmail.com>
2023-06-13 12:09:33 -07:00
d0cd
d0c29ce8e0
[Update] snarkvm 0.11.0 ( #2377 )
...
* Remove gates from tests
* Remove Finalize test namespace
* Remove gates from examples
* Remove gates from compiler
* Regen expectations
* Add test that gates is allowed as a standard field of a record
* Update Rust version in CI
* Add check for MAX_MAPPINGS
2023-05-10 21:32:37 -07:00
Pranav Gaddamadugu
f88ddfead5
Update examples
2023-04-18 17:14:01 -07:00
Pranav Gaddamadugu
571786c3c6
Fix example
2023-04-18 17:08:09 -07:00
Pranav Gaddamadugu
9cb5ac1d91
Update examples
2023-04-18 16:59:07 -07:00
Pranav Gaddamadugu
a0b00ac78c
Update examples; fmt
2023-04-18 16:59:07 -07:00
Pranav Gaddamadugu
2881fce2ec
Update examples
2023-04-18 16:37:45 -07:00
d0cd
751e79a66e
More fixes to example scripts
...
WIP scripts
WIP alias leo
WIP alias leo
WIP alias leo
2023-02-16 12:51:19 -08:00
d0cd
21a015ede4
Update examples
2022-11-12 11:28:03 -08:00
Pranav Gaddamadugu
35f77f2a12
More examples
2022-10-05 23:52:22 -07:00
Pranav Gaddamadugu
a886357585
Update examples to use transition keyword
2022-10-03 11:22:37 -07:00
collin
eafd265f75
unify leo examples with workshop, run all examples in circleci
2022-09-21 15:59:33 -07:00
Pranav Gaddamadugu
bf50384dd5
Update examples to use async before finalize
2022-09-21 13:23:24 -07:00
Pranav Gaddamadugu
c2bed2bb54
Add name to finalize block
2022-09-13 11:06:24 +02:00
Pranav Gaddamadugu
0fa8082656
Update token example
2022-09-06 12:14:36 -07:00
collin
667360905f
update examples
2022-08-05 18:32:07 -07:00
collin
e5da76abaf
impl nonce
2022-08-03 13:35:58 -07:00
collin
bef473b656
add import example, remove directory nesting, improve examples readme
2022-08-01 16:04:00 -07:00
Pranav Gaddamadugu
17efb7e9f3
Minor cleanup
2022-07-21 09:37:45 -07:00
collin
97594cac4d
add token example comments
2022-07-21 00:15:06 -07:00
collin
f8582c398d
fix manifest run bug
2022-07-20 15:56:48 -07:00
Pranav Gaddamadugu
a6feb314a7
Produce a valid record as input
2022-07-20 15:02:33 -07:00
Pranav Gaddamadugu
0570a421f0
Mint function executes
2022-07-20 13:09:43 -07:00
Pranav Gaddamadugu
eb1f9a561f
Update token example with mint and transfer
2022-07-20 12:31:04 -07:00
collin
d165c6088d
update examples
2022-07-18 12:50:59 -07:00
collin
5316d900f4
merge testnet3, regen tests
2022-07-18 12:32:15 -07:00
collin
a35606f628
update revs and examples
2022-07-15 15:08:22 -07:00
collin
13b9261063
bump revs, fix cast instruction
2022-07-13 14:13:30 -07:00
collin
0bd0aed089
update error logging
2022-07-12 22:13:54 -07:00
collin
3d9c8dd0e4
add more examples, fix circuits as input
2022-07-12 21:43:19 -07:00
collin
c0e968206b
fix examples
2022-07-12 18:30:55 -07:00
collin
dcd6501262
update revs, improve error handling, remove unused code
2022-07-12 12:48:51 -07:00
collin
ed79f5c957
merge return-tuple branch
2022-07-09 20:55:30 -07:00
collin
9e422599a0
impl tuple parsing
2022-07-09 12:39:50 -07:00
collin
b5a2790375
rename balance -> gates
2022-07-07 16:15:11 -07:00
collin
5c8fa2bd02
update program id
2022-07-06 11:13:07 -07:00
collin
ade332442a
impl codegen for testnet3
2022-07-06 00:48:54 -07:00
collin
21c6a2167a
type check record init expressions
2022-06-26 10:46:32 -10:00
collin
9d0fd00072
add record type
2022-06-23 21:44:06 -10:00
collin
52395bba45
fix circuit type checking
2022-06-17 18:32:49 -07:00