Commit Graph

207 Commits

Author SHA1 Message Date
collin
d54749145b use import parser errors in compiler 2020-09-18 12:26:51 -07:00
collin
22422c1b55 create separate module for imports 2020-09-18 12:04:10 -07:00
collin
38d7397c2c add unit and integration tests for core unstable blake2s circuit 2020-09-16 13:41:50 -07:00
collin
32c85720be make core function arguments and returns generic 2020-09-15 21:18:48 -07:00
collin
3d3a093f2a Merge branch 'master' of github.com:AleoHQ/leo into feature/blake2s 2020-09-15 17:27:55 -07:00
collin
5341c28805 naive call to blake2s function working 2020-09-15 12:33:28 -07:00
dependabot-preview[bot]
44216ba732
Bump self_update from 0.19.0 to 0.20.0
Bumps [self_update](https://github.com/jaemk/self_update) from 0.19.0 to 0.20.0.
- [Release notes](https://github.com/jaemk/self_update/releases)
- [Changelog](https://github.com/jaemk/self_update/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jaemk/self_update/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-14 10:28:09 +00:00
collin
32cf945c61 core package imports wip 2020-09-12 23:10:01 -07:00
dependabot-preview[bot]
9336172e27
Bump zip from 0.5.6 to 0.5.8
Bumps [zip](https://github.com/mvdnes/zip-rs) from 0.5.6 to 0.5.8.
- [Release notes](https://github.com/mvdnes/zip-rs/releases)
- [Commits](https://github.com/mvdnes/zip-rs/commits/v0.5.8)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-09-11 10:39:07 +00:00
howardwu
2620ae7bc2 chore(leo): bump version for new release 2020-09-03 03:08:33 -07:00
collin
0bb8c42731 fix input file errors 2020-09-02 22:59:54 -07:00
Howard Wu
b0c088d978
Merge pull request #320 from AleoHQ/refactor/packages
Refactor file system operations into `leo-package`
2020-09-02 20:32:17 -07:00
collin
f823d463f2 merge master 2020-08-31 13:31:23 -04:00
collin
4355e1cd5a support n-group notation 2020-08-31 13:27:44 -04:00
raychu86
bcb78bce9c Create initial package test structure 2020-08-29 17:29:51 -07:00
howardwu
bf82bf4d1b chore(leo): bump version for new release 2020-08-28 23:26:19 -07:00
howardwu
194f1daf42 Update Cargo.toml 2020-08-28 22:08:37 -07:00
dependabot-preview[bot]
30fede9ed9
Bump snarkos-storage from 1.1.3 to 1.1.4
Bumps [snarkos-storage](https://github.com/AleoHQ/snarkOS) from 1.1.3 to 1.1.4.
- [Release notes](https://github.com/AleoHQ/snarkOS/releases)
- [Changelog](https://github.com/AleoHQ/snarkOS/blob/master/release.toml)
- [Commits](https://github.com/AleoHQ/snarkOS/compare/v1.1.3...v1.1.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-27 10:34:59 +00:00
howardwu
12971b9cbb Update Cargo.toml 2020-08-27 01:33:00 -07:00
howardwu
cc183475ee Update logging with custom formatter 2020-08-27 00:55:29 -07:00
collin
098ca28231 use tracing in ast 2020-08-21 16:40:34 -07:00
collin
912a192b5c use tracing in compiler 2020-08-21 16:36:50 -07:00
collin
3f1b1e857c use tracing in package and leo cli 2020-08-21 16:06:48 -07:00
collin
da843e452e use tracing for build command 2020-08-21 15:49:51 -07:00
howardwu
c07958e292 Clean up Cargo.toml 2020-08-21 05:09:48 -07:00
howardwu
7461d560f2 Use leo-lang 2020-08-21 04:41:13 -07:00
howardwu
b6238470cc Update Cargo.toml 2020-08-21 03:07:15 -07:00
howardwu
95c3000a9f Merge branch 'master' of https://github.com/AleoHQ/leo 2020-08-21 02:54:11 -07:00
howardwu
4da4fc4344 Update cargo.toml 2020-08-21 02:54:04 -07:00
raychu86
45eb0b5e38 implement binary auto update 2020-08-21 01:49:34 -07:00
howardwu
0405ff4f89 Bump version and repair Leo update description 2020-08-19 03:00:30 -07:00
raychu86
0d35f9bb2b Update cargo.lock 2020-08-18 03:48:08 -07:00
Howard Wu
2c24c51b42
Merge branch 'master' into feature/leo-cli 2020-08-17 01:26:10 -07:00
collin
ddfe8fa08a merge master 2020-08-17 01:12:16 -07:00
raychu86
15d9b97067 Merge master 2020-08-16 17:48:53 -07:00
raychu86
6b8f3d23fa Add leo add impl with correct imports folder 2020-08-16 17:36:31 -07:00
collin
b1f7457f1f update snarkos 2020-08-16 12:14:05 -07:00
collin
748ffcca3b update snarkos 2020-08-16 12:10:16 -07:00
collin
25468c4ed8 add verify local data commitment method to compiler 2020-08-16 00:28:39 -07:00
collin
14055407cf cargo lock 2020-08-15 23:47:35 -07:00
collin
5efa131c65 impl test context with test inputs 2020-08-15 22:09:22 -07:00
raychu86
6660c57faf Add credential storing to *home_dir*/.leo/credentials 2020-08-15 18:54:46 -07:00
collin
e1f4fe1846 pull master 2020-08-15 02:28:34 -07:00
Howard Wu
b19fceef06
Merge pull request #230 from AleoHQ/dependabot/cargo/clap-2.33.3
Bump clap from 2.33.2 to 2.33.3
2020-08-14 21:01:33 -07:00
Howard Wu
1e996468a1
Merge pull request #216 from AleoHQ/dependabot/cargo/snarkos-dpc-a0d7afb
Bump snarkos-dpc from `793ff39` to `a0d7afb`
2020-08-14 20:53:56 -07:00
Howard Wu
b6aeb89e6f
Merge pull request #204 from AleoHQ/dependabot/cargo/serde-1.0.115
Bump serde from 1.0.114 to 1.0.115
2020-08-14 20:53:32 -07:00
dependabot-preview[bot]
0fe6aad6f1
Bump clap from 2.33.2 to 2.33.3
Bumps [clap](https://github.com/clap-rs/clap) from 2.33.2 to 2.33.3.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/v2.33.3/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/compare/v2.33.2...v2.33.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-14 10:38:53 +00:00
collin
c8682d2a07 update cargo.toml 2020-08-13 11:04:35 -07:00
collin
32c92d710d fix conflicts 2020-08-13 01:38:56 -07:00
dependabot-preview[bot]
813ee23592
Bump snarkos-dpc from 793ff39 to a0d7afb
Bumps [snarkos-dpc](https://github.com/AleoHQ/snarkOS) from `793ff39` to `a0d7afb`.
- [Release notes](https://github.com/AleoHQ/snarkOS/releases)
- [Commits](793ff39c37...a0d7afb439)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-13 05:17:47 +00:00
Howard Wu
61579d5267
Merge branch 'master' into dependabot/cargo/serde-1.0.115 2020-08-12 22:16:06 -07:00
collin
3018262304 update cargo lock 2020-08-12 19:56:14 -07:00
collin
cc3136193e update cargo lock 2020-08-12 19:45:19 -07:00
dependabot-preview[bot]
c9d382dbeb
Bump clap from 2.33.1 to 2.33.2
Bumps [clap](https://github.com/clap-rs/clap) from 2.33.1 to 2.33.2.
- [Release notes](https://github.com/clap-rs/clap/releases)
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md)
- [Commits](https://github.com/clap-rs/clap/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-12 23:17:35 +00:00
dependabot-preview[bot]
73a5c9cdea
Bump serde from 1.0.114 to 1.0.115
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.114 to 1.0.115.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.114...v1.0.115)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-12 23:17:28 +00:00
collin
89d76688d7 add leo-state module 2020-08-11 23:51:56 -07:00
Collin Chin
8546c67dff
Merge branch 'master' into feature/serialize-circuit 2020-08-11 11:36:03 -07:00
collin
a96eb5ad19 serialize circuit to json 2020-08-10 11:46:45 -07:00
dependabot-preview[bot]
78cf8bbe1e
Bump snarkos-dpc from 90d41a9 to 8d84d89
Bumps [snarkos-dpc](https://github.com/AleoHQ/snarkOS) from `90d41a9` to `8d84d89`.
- [Release notes](https://github.com/AleoHQ/snarkOS/releases)
- [Commits](90d41a91b6...8d84d89f6b)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-08 21:32:03 +00:00
dependabot-preview[bot]
d39d50a7a2
Bump snarkos-dpc from c1bab10 to 90d41a9
Bumps [snarkos-dpc](https://github.com/AleoHQ/snarkOS) from `c1bab10` to `90d41a9`.
- [Release notes](https://github.com/AleoHQ/snarkOS/releases)
- [Commits](c1bab10325...90d41a91b6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-05 10:40:20 +00:00
Howard Wu
392fa2ea79
Merge pull request #140 from AleoHQ/dependabot/cargo/snarkos-models-c1bab10
Bump snarkos-models from `d80ce42` to `c1bab10`
2020-08-03 22:13:25 -07:00
dependabot-preview[bot]
ea32e7b766
Bump snarkos-models from d80ce42 to c1bab10
Bumps [snarkos-models](https://github.com/AleoHQ/snarkOS) from `d80ce42` to `c1bab10`.
- [Release notes](https://github.com/AleoHQ/snarkOS/releases)
- [Commits](d80ce42f37...c1bab10325)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-08-03 11:46:37 +00:00
howardwu
8b435130d2 Adds leo-package module 2020-08-02 21:52:55 -07:00
howardwu
f40ba91784 Rename types -> typed 2020-08-02 20:56:22 -07:00
howardwu
b81129db67 Adds benchmarks for serialization 2020-08-02 20:33:05 -07:00
howardwu
3ccfd2c764 Adds ci_skip 2020-08-02 19:57:28 -07:00
howardwu
5375d97b40 Resolve merge conflict 2020-08-02 18:51:44 -07:00
howardwu
77f443b672 Add linter stub 2020-08-02 18:06:21 -07:00
howardwu
2d1b93e5f8 Merge with master 2020-08-02 17:24:31 -07:00
howardwu
2caa34be67 Revert to leo-types 2020-08-02 16:59:56 -07:00
collin
e22e962588 rename leo-inputs -> leo-input 2020-07-31 18:49:01 -07:00
howardwu
1ea5f7de4a Add leo_typed_ast program, has one serialization error 2020-07-31 00:24:21 -07:00
collin
ae8fb1f714 merge master fix conflicts 2020-07-30 22:41:07 -07:00
howardwu
61d92ecc91 Remove revision peg for snarkOS dependency, change Leo to groth16, update to proper calling convention for snarks 2020-07-30 19:09:27 -07:00
collin
a858b37fe0 merge master fix conflicts 2020-07-30 18:30:56 -07:00
collin
a4448cdd12 add manual main input method for testing. fix field tests 2020-07-29 23:32:21 -07:00
collin
61f7c54858 refactor testing compiler to handle .in .out .state files. fix boolean tests 2020-07-29 20:52:37 -07:00
collin
1b99d62de8 adds compiler output file and output bytes data structures 2020-07-29 18:32:35 -07:00
howardwu
47bfd2e096 Adds serialization of Leo AST for unit testing and rformal verification 2020-07-28 21:18:43 -07:00
dependabot-preview[bot]
e4c4684702
Bump serde_json from 1.0.56 to 1.0.57
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.56 to 1.0.57.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.56...v1.0.57)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-27 10:44:10 +00:00
dependabot-preview[bot]
73806e4526
Bump log from 0.4.8 to 0.4.11
Bumps [log](https://github.com/rust-lang/log) from 0.4.8 to 0.4.11.
- [Release notes](https://github.com/rust-lang/log/releases)
- [Changelog](https://github.com/rust-lang/log/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/log/compare/0.4.8...0.4.11)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-17 23:31:28 +00:00
collin
cc33c68bea fix field tests, use num_bigint 2020-07-17 12:44:08 -07:00
collin
929ea95fe2 Merge branch 'master' of github.com:AleoHQ/leo into feature/signed-integer-syntax 2020-07-16 20:37:41 -07:00
collin
eb5ab1fbe1 move comparator into leo-gadgets. impl cmp for i types 2020-07-14 18:32:54 -07:00
dependabot-preview[bot]
818ad03317
Bump colored from 1.9.3 to 2.0.0
Bumps [colored](https://github.com/mackwic/colored) from 1.9.3 to 2.0.0.
- [Release notes](https://github.com/mackwic/colored/releases)
- [Changelog](https://github.com/mackwic/colored/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mackwic/colored/compare/v1.9.3...v2.0.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-07-14 10:39:50 +00:00
collin
5717d1f1ad impl addition for i types 2020-07-10 02:07:00 -07:00
collin
192e6ba2dd add testing framework 2020-07-09 23:48:11 -07:00
collin
b032c2ce45 add signed-integers gadget member to workspace 2020-07-09 22:39:11 -07:00
collin
8ca5f5ce66 use account public key in snarkos dpc 2020-07-06 03:18:20 -07:00
collin
cf4a8772bb merge lib and imports 2020-07-02 15:53:41 -07:00
Howard Wu
b53c1bb4dc
Merge pull request #95 from AleoHQ/dependabot/cargo/serde_json-1.0.56
Bump serde_json from 1.0.55 to 1.0.56
2020-06-30 20:45:42 -07:00
dependabot-preview[bot]
1726cdf77d
Bump serde_json from 1.0.55 to 1.0.56
Bumps [serde_json](https://github.com/serde-rs/json) from 1.0.55 to 1.0.56.
- [Release notes](https://github.com/serde-rs/json/releases)
- [Commits](https://github.com/serde-rs/json/compare/v1.0.55...v1.0.56)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-30 10:40:15 +00:00
dependabot-preview[bot]
f9ef5cfb4c
Bump sha2 from 0.9.0 to 0.9.1
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/RustCrypto/hashes/releases)
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.0...sha2-v0.9.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-30 10:39:48 +00:00
collin
45a2664fd9 Merge branch 'feature/lib-and-imports' of github.com:AleoHQ/leo into feature/comparator 2020-06-29 19:52:47 -07:00
Collin Chin
800ad3278e
Merge pull request #81 from AleoHQ/dependabot/cargo/rusty-hook-0.11.2
Bump rusty-hook from 0.11.1 to 0.11.2
2020-06-29 14:00:23 -07:00
Collin Chin
84002cf3e7
Merge pull request #82 from AleoHQ/dependabot/cargo/sha2-0.9.0
Bump sha2 from 0.8.2 to 0.9.0
2020-06-29 13:56:39 -07:00
dependabot-preview[bot]
18b965583a
Bump rusty-hook from 0.11.1 to 0.11.2
Bumps [rusty-hook](https://github.com/swellaby/rusty-hook) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/swellaby/rusty-hook/releases)
- [Commits](https://github.com/swellaby/rusty-hook/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-29 20:12:50 +00:00
collin
4e4e21a53e merge master 2020-06-29 12:46:38 -07:00
dependabot-preview[bot]
f061c8ea82
Bump sha2 from 0.8.2 to 0.9.0
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.8.2 to 0.9.0.
- [Release notes](https://github.com/RustCrypto/hashes/releases)
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.8.2...sha2-v0.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-06-29 11:09:36 +00:00
Howard Wu
b4cfa64167
Adds ci.yml (#77)
* Adds ci.yml

* Update ci script

* Update Cargo.toml

* Update to ubuntu-latest

* Update dependencies

* Update git deps with rev

* Update ci script

* Update ci script

* Update ci script

* Update code coverage

* Update code coverage

* Update CI

* Update CI

* Update CI

* Update CI

* Update CI

* Update CI

* Update CI

* Update CI

* Update CI

* Update CI

* Update CI

* Update CI

* Update CI

* Update CI script

* Update CI script
2020-06-27 20:16:38 -07:00