Commit Graph

2118 Commits

Author SHA1 Message Date
gluaxspeed
f02845aa6c forgot to refactor grammar tests 2021-02-09 11:11:45 -05:00
gluaxspeed
d211d729d1 refactor pacakge_type -> package_or_packages 2021-02-09 10:57:37 -05:00
gluaxspeed
e48b971789 reverse iter for building array, add test case for it 2021-02-09 10:26:16 -05:00
damirka
deb830ce65 Follow up on comments to PR
- fixes import ordering (with rule group_imports)
- removes explicit 0group from pedersen hash example
- updater is now fully-anyhow-ed :)
- fixed doc comment in prove command
- renamed cmd to command in main
2021-02-09 14:08:40 +03:00
Howard Wu
0698e550e3
Merge pull request #631 from AleoHQ/dependabot/cargo/serde_json-1.0.62
Bump serde_json from 1.0.61 to 1.0.62
2021-02-08 20:34:32 -08:00
gluaxspeed
2f6cc6c995 add test for the fixed bug 2021-02-08 15:42:37 -05:00
gluaxspeed
9651af3089 add test for the fixed bug 2021-02-08 13:44:30 -05:00
gluaxspeed
f1bf6c90eb remove const keyword 2021-02-08 10:34:33 -05:00
damirka
2ff2db2570 Leo CLI is now on StructOpt and Anyhow
Features:

- introduces new Command and Route traits for Leo commands and Aleo PM API
- most of the CLI code replace with higher-level abstraction - StructOpt
- anyhow used for error handling, no more custom error classes
- improves API - now every status code has its business logic
- adds global flags (e.g. --quiet to suppress output)
- error messages improved for convenience and better user experience

Closes:

- #604
- #599
- #584
- #277
- #376
2021-02-08 15:48:35 +03:00
dependabot-preview[bot]
a0da42cb8c
Bump serde_json from 1.0.61 to 1.0.62
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.61 to 1.0.62.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.61...v1.0.62)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-08 11:20:20 +00:00
howardwu
1898cc6840 chore(leo): bump version for new release 2021-02-07 08:14:56 -08:00
Howard Wu
f3374847c6
Merge pull request #623 from AleoHQ/dependabot/cargo/tracing-0.1.23
Bump tracing from 0.1.22 to 0.1.23
2021-02-06 11:54:56 -08:00
gluaxspeed
f7add0fc98 re-ignore import test-many in compiler, it breaks pipeline 2021-02-05 15:33:48 -05:00
gluaxspeed
26f9973e14 resolve merge conflict, asg + grammar tests 2021-02-05 14:20:48 -05:00
gluaxspeed
5fe61daa88 merge lastest master 2021-02-05 13:11:36 -05:00
gluaxspeed
6aea561a52 forgot to push fix for Multiple enum resolve 2021-02-05 11:40:56 -05:00
gluaxspeed
59acb1a022 unignore test and add test case to thoroughly test 2021-02-05 11:36:21 -05:00
dependabot-preview[bot]
b1527c8e57
Bump tracing from 0.1.22 to 0.1.23
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.22 to 0.1.23.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.22...tracing-0.1.23)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-05 10:39:16 +00:00
Collin Chin
770f660f3a
Merge pull request #617 from AleoHQ/const-args
[Feature] Const Function Arguments
2021-02-04 23:05:51 -08:00
Collin Chin
2e121b2790
Merge pull request #593 from AleoHQ/dependabot/cargo/sha2-0.9.3
Bump sha2 from 0.9.2 to 0.9.3
2021-02-04 22:59:45 -08:00
Collin Chin
2bb10c2e8b
Merge pull request #621 from AleoHQ/dependency/snarkvm-0.0.3
[Dependencies] Bump snarkvm module versions
2021-02-04 22:57:36 -08:00
Collin Chin
a239e17bb6
Merge pull request #622 from AleoHQ/refactor/compiler
Adds ASG struct, updates ASG to support debug
2021-02-04 22:52:40 -08:00
howardwu
2a4052975f Fix clippy 2021-02-04 20:34:24 -08:00
howardwu
749e70b5b0 Fix clippy 2021-02-04 20:32:59 -08:00
howardwu
79ce27b861 Fix clippy 2021-02-04 19:34:19 -08:00
howardwu
4d5ff0b962 Removes unnecessary, reorders cargo toml members 2021-02-04 19:25:12 -08:00
howardwu
1b99c42470 Adds ASG struct, updates ASG to support debug 2021-02-04 19:21:17 -08:00
howardwu
f80c3d236a Renames InnerProgram to InternalProgram 2021-02-04 17:31:44 -08:00
howardwu
96c20c6472 Update ast convention 2021-02-04 17:26:52 -08:00
howardwu
fb7a9f4a18 Simplify compiler calls 2021-02-04 17:26:29 -08:00
howardwu
85a893097b Update grammar convention 2021-02-04 17:26:01 -08:00
Howard Wu
18ebf0c514
Update examples/pedersen-hash/src/main.leo 2021-02-04 14:37:13 -08:00
Howard Wu
6f15498f3e
Update examples/pedersen-hash/src/main.leo 2021-02-04 14:31:23 -08:00
Howard Wu
fd5ce2f393
Merge pull request #585 from AleoHQ/feature/228-implied-circuit-name
[Feature] 228 implied circuit name
2021-02-04 14:28:14 -08:00
Max Bruce
df8ecfc299
Update function_input.rs 2021-02-04 14:23:51 -08:00
collin
f5be2e037f add inline circuit integration tests 2021-02-04 13:18:28 -08:00
collin
c706ef65b8 bump snarkvm module versions 2021-02-04 13:00:30 -08:00
dependabot-preview[bot]
ebb97c9caf
Bump sha2 from 0.9.2 to 0.9.3
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.9.2 to 0.9.3.
- [Release notes](https://github.com/RustCrypto/hashes/releases)
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.2...sha2-v0.9.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-04 20:57:28 +00:00
gluaxspeed
839eda7936 explicit type to fix pedersen hash leo program 2021-02-04 15:16:53 -05:00
gluaxspeed
9d881fd2a4 license fix 2021-02-04 15:15:36 -05:00
gluaxspeed
6831cf402f put explicit type in perdesen-hash leo program 2021-02-04 15:07:14 -05:00
gluaxspeed
6ba556ceda fixed imports, but with different syntax that should be logical equivalent 2021-02-04 14:52:57 -05:00
howardwu
55002db847 Fix the grammar benchmark 2021-02-04 09:30:38 -08:00
Collin Chin
bd2bd1f40f
Merge pull request #619 from AleoHQ/implicit-groups
[Feature] Implicit groups
2021-02-04 09:03:04 -08:00
Collin Chin
7919eaab6d
Merge pull request #606 from AleoHQ/fix/double-license
[Fix] remove double license headers in files
2021-02-04 09:02:30 -08:00
Protryon
431aca1f81 implicit groups 2021-02-04 07:57:04 -08:00
Protryon
81e758466d clippy 2021-02-04 07:40:52 -08:00
Protryon
5d4fbdbbe2 unignore swap test 2021-02-04 07:36:41 -08:00
Protryon
9c6eb23a1e const func arguments 2021-02-04 07:35:12 -08:00
gluaxspeed
ba417a9a73 merge lastest master 2021-02-04 09:39:02 -05:00