Commit Graph

2136 Commits

Author SHA1 Message Date
Collin Chin
5efd6fe4ce
Update bors.toml 2021-02-10 19:31:40 -08:00
Collin Chin
73b31998a0
Update bors.toml 2021-02-10 19:31:26 -08:00
Howard Wu
59fa8fd62b
Merge pull request #632 from AleoHQ/adds-structopt-to-leo
[CLI] Leo CLI is now on StructOpt and Anyhow (reopened)
2021-02-10 18:49:45 -08:00
Howard Wu
2c5c2eb886
Update leo/main.rs 2021-02-10 18:47:10 -08:00
collin
2128025df5 use correct workflow names 2021-02-10 16:21:17 -08:00
collin
8c68b9e9ee add staging and trying branches to ci 2021-02-10 14:00:37 -08:00
collin
102f7fd6dd update bors required status checks 2021-02-10 13:28:40 -08:00
collin
a72215e83a Merge branch 'master' of https://github.com/AleoHQ/leo into feature/bors-badge 2021-02-10 13:20:15 -08:00
gluaxspeed
9812c76e1f fix test needed to expect it to fail 2021-02-10 12:49:18 -05:00
gluaxspeed
42fb5ea635 merge from pr 638 2021-02-10 11:59:42 -05:00
gluaxspeed
202f056531 fix pushed but depends on pr #638 2021-02-10 11:57:10 -05:00
damirka
cb050aa43d removed unused constants from add 2021-02-10 19:24:13 +03:00
damirka
7867ab9d54 imports sorting, --lib flag removed
- leo new/init now don't have --lib flag
- imports sorted
- command descriptions match old ones 1-to-1
2021-02-10 19:18:04 +03:00
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
howardwu
b7456ce976 chore(leo): bump version for new release 2021-02-07 08:07:28 -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
howardwu
6398f3cb1e Add grammar check 2021-02-05 13:00:45 -08:00
howardwu
d8fad17792 Checkpoint state 2021-02-05 12:46:19 -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
42117f08ce Adds wip ASG 2021-02-04 21:19:36 -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
b751e870e5 Adds initial wasm template 2021-02-04 19:23:58 -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