Commit Graph

5591 Commits

Author SHA1 Message Date
Collin Chin
8575c34ac5
add github action for testnet3 branch (#2228) 2023-01-03 18:18:18 -08:00
Collin Chin
5a7feb28f7
Improve testing infrastructure (#2227)
* wip

* re-enable get_process call for test programs

* remove local tests

* clean up

* remove rust version from cargo.toml
2023-01-03 17:51:13 -08:00
Collin Chin
ba5c4cfa41
Update Codecov to v3 (#2224)
* test 0 change to code coverage

* clippy: remove useless .into_iter()

* update codecov action v3

* remove unused codecov token

* remove space
2023-01-03 15:34:31 -08:00
Collin Chin
52c29b23e0
clippy: remove useless .into_iter() (#2225) 2023-01-03 11:44:52 -08:00
dependabot[bot]
6ecc9edd47
Bump toml from 0.5.9 to 0.5.10 (#2211)
Bumps [toml](https://github.com/toml-rs/toml) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/toml-rs/toml/releases)
- [Commits](https://github.com/toml-rs/toml/commits/toml-v0.5.10)

---
updated-dependencies:
- dependency-name: toml
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-20 19:56:26 -05:00
collin
d7b1b9ca56 chore(leo): bump version for new release 2022-12-12 19:31:56 -05:00
Collin Chin
39aad0c2c8
Feature - log program metrics (#2206)
* update snarkvm and aleo revs

* bump snarkvm v0.9.11 aleo v0.3.2
2022-12-12 19:28:24 -05:00
d0cd
48a1f0590b
Rename console.assert* to assert*. (#2205)
* Add assert statements to AST

* Add support in passes

* Add parser support

* Add tyc support

* Add support for assert statements in the remaining passes

* Fix examples, tests, and regen expectations

* Fmt

* Regen expectations
2022-12-06 21:56:48 -08:00
Collin Chin
3c21fd446e
bump snarkvm v0.9.9 (#2196) 2022-12-01 17:21:49 -08:00
collin
1e01a3a686 chore(leo): bump version for new release 2022-11-30 13:40:52 -08:00
Collin Chin
3f2df5389c
use cargo workspace for dependencies (#2195) 2022-11-30 13:31:33 -08:00
sptg
c67742e560
Build Linux musl is required for leo web playground. (#2183) 2022-11-30 11:13:35 -08:00
Collin Chin
23f5828804
bump aleo v0.3.1 snarkvm v0.9.8 (#2193) 2022-11-30 00:49:50 -08:00
dependabot[bot]
68c5d12bb6
Bump reqwest from 0.11.12 to 0.11.13 (#2184)
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.12 to 0.11.13.
- [Release notes](https://github.com/seanmonstar/reqwest/releases)
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md)
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.12...v0.11.13)

---
updated-dependencies:
- dependency-name: reqwest
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-29 16:46:22 -08:00
dependabot[bot]
6413f3ecac
Bump serde from 1.0.147 to 1.0.148 (#2189)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.147 to 1.0.148.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.147...v1.0.148)

---
updated-dependencies:
- dependency-name: serde
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-29 16:37:19 -08:00
dependabot[bot]
80694113cb
Bump indexmap from 1.9.1 to 1.9.2 (#2186)
Bumps [indexmap](https://github.com/bluss/indexmap) from 1.9.1 to 1.9.2.
- [Release notes](https://github.com/bluss/indexmap/releases)
- [Changelog](https://github.com/bluss/indexmap/blob/master/RELEASES.md)
- [Commits](https://github.com/bluss/indexmap/compare/1.9.1...1.9.2)

---
updated-dependencies:
- dependency-name: indexmap
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-29 16:36:59 -08:00
d0cd
23615c6858
Fixes code generation for ExpressionStatements (#2192)
* Fix codegen for call instruction

* Cleanup
2022-11-29 16:36:37 -08:00
d0cd
8986be33e8
Create common module; move pass data structures (#2173)
Co-authored-by: collin <16715212+collinc97@users.noreply.github.com>
2022-11-23 15:05:05 -05:00
Collin Chin
ae18c6198c
Merge pull request #2172 from AleoHQ/feat/then-finalize
Introduces a new syntax for invoking the finalize block.
2022-11-23 02:55:58 -05:00
collin
f6f286ac8a pull testnet3, regen tests 2022-11-23 02:37:57 -05:00
Collin Chin
74bd06ba62
Merge pull request #2171 from AleoHQ/feat/private-visibility
Supports `private` visibility.
2022-11-23 02:14:06 -05:00
collin
9e28591589 pull testnet3, regen tests 2022-11-23 01:56:37 -05:00
Collin Chin
7d01bc95e4
Merge pull request #2160 from AleoHQ/fix/panic-hook
Removes the Leo panic hook before invoking the Aleo CLI
2022-11-23 01:47:39 -05:00
collin
692e36567c Merge branch 'testnet3' of github.com:AleoHQ/leo into fix/panic-hook 2022-11-23 01:36:43 -05:00
Collin Chin
5cf7f43554
Merge pull request #2159 from AleoHQ/fix/max-transitions
Checks that the number of transitions does not exceed 15.
2022-11-23 01:36:08 -05:00
collin
ac4c38d921 clippy 2022-11-23 01:28:33 -05:00
collin
7802d7b55b bump circle rust img v1.65 2022-11-23 00:27:48 -05:00
collin
801df56f9c pull testnet3, regen tests 2022-11-22 20:55:12 -05:00
Collin Chin
40e56f8613
Merge pull request #2100 from AleoHQ/feat/tuple
Supports tuples.
2022-11-22 20:49:25 -05:00
d0cd
a8a8086f18 Fmt 2022-11-16 10:24:29 -08:00
d0cd
1ae833ba7c Regen expectations 2022-11-16 10:24:29 -08:00
d0cd
9370c11a2b Implement fix 2022-11-16 10:24:29 -08:00
d0cd
de6ac4eb9b Add test 2022-11-16 10:24:29 -08:00
d0cd
ae329c521b Deprecate (async) finalize statements 2022-11-15 13:18:39 -08:00
collin
355d5a841f fix test-framework cargo.toml 2022-11-14 19:05:41 -08:00
collin
44bca58821 chore(leo): bump version for new release 2022-11-14 18:56:09 -08:00
collin
49786b3d79 bump snarkvm-v0.9.7 aleo-v0.3.0 2022-11-14 18:53:32 -08:00
d0cd
80d53ee908 Fmt 2022-11-12 16:36:26 -08:00
d0cd
f60dcca1a3 Regen expectations 2022-11-12 16:35:54 -08:00
d0cd
d82fa641a2 Fix parser 2022-11-12 16:35:37 -08:00
d0cd
682b67e184 Fix flattening logic 2022-11-12 16:23:16 -08:00
d0cd
8048d2754b Update tests 2022-11-12 11:28:58 -08:00
d0cd
25a15aae75 Remove unused error 2022-11-12 11:28:03 -08:00
d0cd
21a015ede4 Update examples 2022-11-12 11:28:03 -08:00
d0cd
c6fd32c032 Fix flattening pass 2022-11-12 11:28:03 -08:00
d0cd
1f977e5c45 Fix tyc pass 2022-11-12 10:48:16 -08:00
d0cd
1a9c95ce05 Fix SSA pass 2022-11-12 10:21:36 -08:00
d0cd
3227f9bdb4 Fix codegen pass 2022-11-12 10:21:36 -08:00
d0cd
81d7c5c9a4 Update parser; remove async token 2022-11-12 10:17:41 -08:00
d0cd
060f57d971 Remove standalone finalize statement from the AST 2022-11-12 10:13:23 -08:00