Commit Graph

467 Commits

Author SHA1 Message Date
evan-schott
5f32d736ca Refactor: remove external 2024-04-15 18:31:10 -07:00
evan-schott
17c35d11af Refactor all tests to get rid of finalize syntax 2024-04-10 15:56:30 -07:00
evan-schott
915ced57bd Switch explicit future typing syntax to match rust 2024-04-10 11:48:41 -07:00
evan-schott
ee9cbd912d write examples using new async syntax 2024-04-09 13:53:26 -07:00
evan-schott
1ac7f7f67c fmt 2024-04-09 11:43:03 -07:00
evan-schott
bf95c4966a parsing ambiguous explicit future types. Ex: Future<u32, Future<u32>> 2024-04-09 11:38:41 -07:00
evan-schott
a2fce7a968 misc revisions 2024-04-09 11:34:16 -07:00
evan-schott
bf9484c975
Update errors/src/errors/type_checker/type_checker_error.rs
Co-authored-by: d0cd <23022326+d0cd@users.noreply.github.com>
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
2024-04-08 11:47:06 -07:00
evan-schott
01788ac332
Update errors/src/errors/type_checker/type_checker_error.rs
Co-authored-by: d0cd <23022326+d0cd@users.noreply.github.com>
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
2024-04-08 11:46:49 -07:00
evan-schott
84abefe764
Update errors/src/errors/type_checker/type_checker_error.rs
Co-authored-by: d0cd <23022326+d0cd@users.noreply.github.com>
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
2024-04-08 11:46:39 -07:00
evan-schott
62849540fe
Update errors/src/errors/type_checker/type_checker_error.rs
Co-authored-by: d0cd <23022326+d0cd@users.noreply.github.com>
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
2024-04-08 11:45:34 -07:00
evan-schott
6ae10e5889
Update errors/src/errors/type_checker/type_checker_error.rs
Co-authored-by: d0cd <23022326+d0cd@users.noreply.github.com>
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
2024-04-08 11:45:04 -07:00
evan-schott
b1c56c1fa1
Update errors/src/errors/type_checker/type_checker_error.rs
Co-authored-by: d0cd <23022326+d0cd@users.noreply.github.com>
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
2024-04-08 11:43:51 -07:00
evan-schott
0718d4dc33
Update errors/src/errors/type_checker/type_checker_warning.rs
Co-authored-by: d0cd <23022326+d0cd@users.noreply.github.com>
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
2024-04-08 11:33:21 -07:00
evan-schott
b422657944 Forbit explicit inclusion of async function return type 2024-04-08 11:27:42 -07:00
dependabot[bot]
1ac824f69f
Bump reqwest from 0.12.2 to 0.12.3
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.12.2 to 0.12.3.
- [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.12.2...v0.12.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-08 10:47:01 +00:00
evan-schott
abd5235091 merge 2024-04-03 14:37:05 -07:00
Pranav Gaddamadugu
26dba19d88 Clippy 2024-04-02 10:19:46 -07:00
Pranav Gaddamadugu
2d606f1930 Allow external contains 2024-04-01 06:46:45 -07:00
Pranav Gaddamadugu
2c391055af chore(leo): bump version for new release 2024-03-29 17:53:25 -07:00
evan-schott
36aa41fdc2 Regen expectations 2024-03-29 14:18:12 -07:00
evan-schott
ff4edada7e clippy 2024-03-29 14:17:28 -07:00
evan-schott
2a152c2517 Error for trying to modify external mappings 2024-03-29 14:17:28 -07:00
dependabot[bot]
3784bd204d
Bump reqwest from 0.11.24 to 0.12.2
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.24 to 0.12.2.
- [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.24...v0.12.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-28 21:04:27 +00:00
dependabot[bot]
9ccbc82544
Bump serde from 1.0.196 to 1.0.197
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.196 to 1.0.197.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.196...v1.0.197)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-19 00:56:38 +00:00
dependabot[bot]
d28627650a
Bump thiserror from 1.0.56 to 1.0.58
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.56 to 1.0.58.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.56...1.0.58)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-12 10:19:56 +00:00
evan-schott
997b9051fd clippy 2024-03-08 16:42:55 -08:00
evan-schott
8d0c095767 Correct error message 2024-03-08 11:45:42 -08:00
evan-schott
7d5b1ed8a8 Change syntax so that finalize functions signatures no longer must explicitly declare output is future 2024-03-05 10:39:26 -08:00
evan-schott
8e67cfbf2a AST refactor 2024-03-04 16:59:28 -08:00
evan-schott
c516db61f0 Finished TYC pass 2024-02-28 19:54:58 -08:00
evan-schott
29f1a97ee3 Update helpers 2024-02-28 19:42:21 -08:00
evan-schott
7dba5affc9 Errors for improper awaiting of futures (static and dynamic) 2024-02-26 15:19:20 -08:00
evan-schott
c886bafa43 Refactor to use structs instead of long lists of flags 2024-02-26 15:07:18 -08:00
evan-schott
cfee45da8f Add compiler flags for configuring await checker in nested conditionals 2024-02-26 14:29:29 -08:00
evan-schott
c733b360a3 refactor equality checking of types to account for nested external structs and futures 2024-02-19 18:24:30 -08:00
evan-schott
e5f98168f3 Small compatibility changes 2024-02-15 16:26:51 -08:00
Halimao
9297c442d3 fix: ci run 2024-02-12 15:54:39 +08:00
Halimao
8dbb484b89
Merge branch 'testnet3' into feat/input-cover
Signed-off-by: Halimao <1065621723@qq.com>
2024-02-12 15:37:23 +08:00
Pranav Gaddamadugu
95d95f27e7 Merge branch 'testnet3' into feat/leo-deploy 2024-02-10 23:13:20 -06:00
d0cd
0df7e21f4f
Merge branch 'testnet3' into feat/input-cover
Signed-off-by: d0cd <23022326+d0cd@users.noreply.github.com>
2024-02-10 00:36:51 -06:00
dependabot[bot]
cc2ecff9fc
Bump reqwest from 0.11.23 to 0.11.24
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.23 to 0.11.24.
- [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.23...v0.11.24)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-10 06:29:30 +00:00
evan-schott
27beae3bcb Parser 2024-02-09 15:40:19 -08:00
evan-schott
366b8df5b9 Update errors/src/errors/parser/parser_errors.rs
Co-authored-by: d0cd <23022326+d0cd@users.noreply.github.com>
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
2024-02-09 15:38:40 -08:00
evan-schott
e478a95897 misc 2024-02-09 15:38:40 -08:00
evan-schott
d4aed52344 prohibit external record creation 2024-02-09 15:38:08 -08:00
evan-schott
fc82a14229
Merge branch 'testnet3' into feat/leo-deploy
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
2024-02-09 18:35:18 -05:00
evan-schott
12f9548141 comment out 2024-02-09 15:10:19 -08:00
evan-schott
bfa41e1d79 clippy 2024-02-09 15:10:16 -08:00
evan-schott
fdb8bd4592 update error messages 2024-02-09 15:10:15 -08:00
evan-schott
38867804fe custom endpoints for dependency retrieval 2024-02-09 14:08:54 -08:00
evan-schott
0b5bd5793b supporting changes for deploy 2024-02-09 14:08:52 -08:00
Meshiest
818b5287f5 feat(cli): add sign and verify to the account subcommand 2024-02-06 17:50:11 -06:00
d0cd
1cbb16936b
Merge pull request #27588 from AleoHQ/dependabot/cargo/testnet3/serde-1.0.196
Bump serde from 1.0.195 to 1.0.196
2024-01-30 06:22:59 -05:00
dependabot[bot]
ce0f201fe7
Bump serde from 1.0.195 to 1.0.196
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.195 to 1.0.196.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.195...v1.0.196)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-29 10:40:15 +00:00
evan-schott
a0d1e128a1 enforce that all functions have at least one transition function (a snarkvm requirement) 2024-01-26 21:42:43 -08:00
Halimao
b92f6cec8c Revert "fix: add CliError::failed_to_execute_account error"
This reverts commit ba6b9c4e41.
2024-01-24 10:38:34 +08:00
d0cd
7ac50d83ed
Merge pull request #24797 from stanlagermin/fix_typos
fix typos
2024-01-22 14:35:56 -08:00
Halimao
a0e38b9f5e refactor: error display 2024-01-17 16:15:13 +08:00
Halimao
ba6b9c4e41 fix: add CliError::failed_to_execute_account error 2024-01-17 15:30:48 +08:00
Halimao
8c68ac8bf9 Merge branch 'testnet3' into feat/input-cover 2024-01-17 13:56:55 +08:00
d0cd
e6d1a23402
Merge branch 'testnet3' into testnet3
Signed-off-by: d0cd <23022326+d0cd@users.noreply.github.com>
2024-01-16 12:08:10 +08:00
Pranav Gaddamadugu
e990b7ca66 Remove input errors 2024-01-15 15:45:07 -08:00
Pranav Gaddamadugu
a38c407ea0 Remove parser components related input files 2024-01-15 15:45:07 -08:00
d0cd
8cdab3b774
Merge pull request #2881 from AleoHQ/feat/stubs
[Feature] Support importing local and remote programs.
2024-01-10 10:01:38 +08:00
dependabot[bot]
22550184de
Bump serde from 1.0.194 to 1.0.195
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.194 to 1.0.195.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.194...v1.0.195)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-08 10:49:32 +00:00
vuittont60
a20e7d6b6d
Fix typo 2024-01-08 11:27:27 +08:00
d0cd
0bb52d348d
Merge branch 'testnet3' into feat/stubs
Signed-off-by: d0cd <23022326+d0cd@users.noreply.github.com>
2024-01-06 18:38:34 +08:00
dependabot[bot]
919523a32d
Bump thiserror from 1.0.55 to 1.0.56
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.55 to 1.0.56.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.55...1.0.56)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-04 10:49:19 +00:00
evan-schott
902387d639
Merge branch 'testnet3' into feat/stubs
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
2024-01-03 15:22:04 -05:00
evan-schott
31105a317b leo add CLI tool 2024-01-03 10:56:33 -08:00
d0cd
cad03a5f20
Merge pull request #26514 from AleoHQ/dependabot/cargo/testnet3/thiserror-1.0.55
Bump thiserror from 1.0.51 to 1.0.55
2024-01-03 17:49:07 +05:30
dependabot[bot]
fa98671106
Bump serde from 1.0.193 to 1.0.194
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.193 to 1.0.194.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.193...v1.0.194)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 10:29:26 +00:00
dependabot[bot]
21d94c0145
Bump thiserror from 1.0.51 to 1.0.55
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.51 to 1.0.55.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.51...1.0.55)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-01-02 10:29:14 +00:00
Pranav Gaddamadugu
d5237b627a Make error message more informative 2023-12-25 05:52:27 +05:30
stanlagermin
31b4868ed0 fix typos 2023-12-21 14:55:52 +07:00
dependabot[bot]
23d38a376c
Bump thiserror from 1.0.50 to 1.0.51
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.50 to 1.0.51.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.50...1.0.51)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-12-18 10:29:20 +00:00
evan-schott
c2d3c28651 new deps 2023-12-11 00:27:45 -08:00
evan-schott
015cc05cf4 new tests 2023-12-08 01:03:34 -08:00
evan-schott
1a5a2bbe8e make retriever backwards compatbile w/ old program.json formatting 2023-12-06 14:01:33 -08:00
evan-schott
b3b21029fc add new errors 2023-12-05 19:58:46 -08:00
evan-schott
4b3b198850 reorganization of errors 2023-12-01 16:07:40 -08:00
evan-schott
3564389583 add proper error checking 2023-11-30 16:12:15 -08:00
evan-schott
c44949ce3d Add new errors 2023-11-30 16:10:26 -08:00
evan-schott
25af3dd2c3 make errors consistent 2023-11-30 15:45:26 -08:00
evan-schott
cc60421482 Testing TC error 2023-11-30 11:40:04 -08:00
evan-schott
1fbc16ce24 Allow imports & Variant::Function functions in stubs 2023-11-30 11:38:05 -08:00
evan-schott
aee748b43f New errors 2023-11-30 11:36:23 -08:00
evan-schott
0de4e81cc2 revise errors to allow stubs more leeway in parsing 2023-11-30 10:52:38 -08:00
evan-schott
bd2e3de733 Allow imports & Variant::Function functions in stubs 2023-11-30 10:52:16 -08:00
evan-schott
61f3d81d13 New errors 2023-11-30 10:52:15 -08:00
evan-schott
292f890369 error msgs 2023-11-30 10:52:15 -08:00
Halimao
0466f9bdf0 feat: support safely input private key 2023-11-28 18:54:30 +08:00
dependabot[bot]
56681ab890
Bump serde from 1.0.190 to 1.0.193
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.190 to 1.0.193.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.190...v1.0.193)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-11-21 02:12:58 +00:00
Pranav Gaddamadugu
144ef44b8c Update errors 2023-10-27 18:54:58 -04:00
Pranav Gaddamadugu
a3c0892ffd Add Destructuring pass to the compiler 2023-10-27 18:54:57 -04:00
Pranav Gaddamadugu
7e471b7748 Add type checking for arrays 2023-10-27 18:54:56 -04:00
Pranav Gaddamadugu
13e17044fd Parse array init expressions 2023-10-27 18:54:56 -04:00
dependabot[bot]
678f8fa177
Bump color-backtrace from 0.6.0 to 0.6.1
Bumps [color-backtrace](https://github.com/athre0z/color-backtrace) from 0.6.0 to 0.6.1.
- [Changelog](https://github.com/athre0z/color-backtrace/blob/master/CHANGELOG.md)
- [Commits](https://github.com/athre0z/color-backtrace/compare/v0.6.0...v0.6.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-23 10:05:01 +00:00
Collin Chin
eb12c7e475 chore(leo): bump version for new release 2023-10-19 21:02:05 -07:00
dependabot[bot]
817781b39d
Bump serde from 1.0.188 to 1.0.189
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.188 to 1.0.189.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.188...v1.0.189)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-10-13 10:05:55 +00:00
evan-schott
e55035c568 increase test coverage 2023-10-04 16:46:11 -07:00
evan-schott
5d194fdf83 Update errors/src/errors/type_checker/type_checker_error.rs
Co-authored-by: d0cd <pranavsaig@gmail.com>
Signed-off-by: evan-schott <53463459+evan-schott@users.noreply.github.com>
2023-10-04 13:05:34 -07:00
evan-schott
52bb785ff4 fixes 2023-10-04 13:00:58 -07:00
evan-schott
dcf03dd393 simplify 2023-10-04 12:54:36 -07:00
evan-schott
24c88795fe fixes 2023-10-04 12:54:36 -07:00
evan-schott
4b01d41d05 more errors 2023-10-04 12:54:35 -07:00
evan-schott
98f25b8ece add loop unrolling errors 2023-10-04 12:54:35 -07:00
Pranav Gaddamadugu
44658ca917 Rename parent to signer 2023-09-28 23:34:18 -04:00
Pranav Gaddamadugu
4abec6b5fc Add support for self.parent 2023-09-28 23:34:18 -04:00
dependabot[bot]
f948f0bf24
Bump thiserror from 1.0.48 to 1.0.49
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.48 to 1.0.49.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.48...1.0.49)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-27 10:27:55 +00:00
collin
0f2f16877b chore(leo): bump version for new release 2023-09-08 10:18:21 -07:00
dependabot[bot]
9945e1b10f
Bump thiserror from 1.0.47 to 1.0.48 (#2566)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.47 to 1.0.48.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.47...1.0.48)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-08 10:09:54 -07:00
evan-schott
444a4214eb run all tests, add optionality for writing symbol tables to json 2023-09-06 16:02:21 -07:00
evan-schott
a3e25ebc69 successfully add hashes to expectation file 2023-09-05 15:05:43 -07:00
evan-schott
550f43b039 Revisions (underscore to execute test, type checker error msg, spurious type error fix, revised tuple indexing test) 2023-08-25 09:49:53 -07:00
evan-schott
439d2b29de loop unrolling compatible with underscores 2023-08-24 15:07:00 -07:00
dependabot[bot]
c9d23783ca
Bump thiserror from 1.0.46 to 1.0.47
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.46 to 1.0.47.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.46...1.0.47)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-18 23:00:57 +00:00
dependabot[bot]
cd76422bd5
Bump thiserror from 1.0.45 to 1.0.46
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.45 to 1.0.46.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.45...1.0.46)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-16 10:23:45 +00:00
collin
11b87229f1 chore(leo): bump version for new release 2023-08-15 14:02:00 -07:00
dependabot[bot]
065549c0ac
Bump thiserror from 1.0.44 to 1.0.45
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.44 to 1.0.45.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.44...1.0.45)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-15 10:35:45 +00:00
collin
7714f55999 chore(leo): bump version for new release 2023-08-08 10:14:56 -07:00
Collin Chin
013809c076
implement leo example command for lottery, tictactoe, token (#2514)
* implement leo example command for lottery, tictactoe, token

* remove unused cli arg

* update github actions

* update github actions
2023-08-08 09:42:30 -07:00
Collin Chin
af1f7f96fb
Implement Leo Account (#2513)
* implement leo account new --seed

* implement leo account new --write

* implement leo account import --write

* gitignore
2023-08-07 16:01:33 -07:00
dependabot[bot]
80867c6956
Bump serde from 1.0.180 to 1.0.183
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.180 to 1.0.183.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.180...v1.0.183)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-07 10:52:12 +00:00
d0cd
db46d472b5
Merge pull request #2510 from AleoHQ/dependabot/cargo/testnet3/color-backtrace-0.6.0
Bump color-backtrace from 0.5.1 to 0.6.0
2023-08-02 08:31:16 -07:00
dependabot[bot]
0db0810519
Bump serde from 1.0.175 to 1.0.180
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.175 to 1.0.180.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.175...v1.0.180)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-08-01 10:35:55 +00:00
dependabot[bot]
68d0bc4fb5
Bump color-backtrace from 0.5.1 to 0.6.0
Bumps [color-backtrace](https://github.com/athre0z/color-backtrace) from 0.5.1 to 0.6.0.
- [Changelog](https://github.com/athre0z/color-backtrace/blob/master/CHANGELOG.md)
- [Commits](https://github.com/athre0z/color-backtrace/compare/v0.5.1...v0.6.0)

---
updated-dependencies:
- dependency-name: color-backtrace
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-31 10:40:19 +00:00
dependabot[bot]
1c1614fb31
Bump serde from 1.0.174 to 1.0.175 (#2503)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.174 to 1.0.175.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.174...v1.0.175)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-26 14:18:10 -07:00
collin
d336be0b7b chore(leo): bump version for new release 2023-07-24 10:51:44 -07:00
dependabot[bot]
960a14c06c
Bump thiserror from 1.0.43 to 1.0.44 (#2498)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.43 to 1.0.44.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.43...1.0.44)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 17:06:46 -07:00
dependabot[bot]
95f989d881
Bump serde from 1.0.171 to 1.0.174 (#2497)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.171 to 1.0.174.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.171...v1.0.174)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-21 17:06:28 -07:00
collin
6a7748e5fe chore(leo): bump version for new release 2023-07-19 18:17:31 -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
dependabot[bot]
59355c0ae8
Bump serde from 1.0.168 to 1.0.171 (#2488)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.168 to 1.0.171.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.168...v1.0.171)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-17 10:02:07 -07:00
dependabot[bot]
e199fc1366
Bump serde from 1.0.166 to 1.0.168
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.166 to 1.0.168.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.166...v1.0.168)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-10 22:07:40 +00:00
dependabot[bot]
d140b7f2a8
Bump thiserror from 1.0.41 to 1.0.43 (#2480)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.41 to 1.0.43.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.41...1.0.43)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-10 15:06:35 -07:00
collin
a18899f253 chore(leo): bump version for new release 2023-07-05 21:25:34 -07:00
dependabot[bot]
765607a91b
Bump thiserror from 1.0.40 to 1.0.41 (#2442)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.40 to 1.0.41.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.40...1.0.41)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 21:18:18 -07:00
dependabot[bot]
be4bc0397f
Bump colored from 2.0.1 to 2.0.4 (#2446)
Bumps [colored](https://github.com/mackwic/colored) from 2.0.1 to 2.0.4.
- [Release notes](https://github.com/mackwic/colored/releases)
- [Changelog](https://github.com/colored-rs/colored/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mackwic/colored/compare/v2.0.1...v2.0.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 21:18:10 -07:00
dependabot[bot]
26c7dec5b6
Bump serde from 1.0.164 to 1.0.166 (#2441)
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.164 to 1.0.166.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.164...v1.0.166)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 18:06:33 -07:00
dependabot[bot]
208176bc5d
Bump backtrace from 0.3.67 to 0.3.68 (#2438)
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.67 to 0.3.68.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.67...0.3.68)

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-05 18:06:21 -07:00
dependabot[bot]
c758c2d0e9
Bump colored from 2.0.0 to 2.0.1
Bumps [colored](https://github.com/mackwic/colored) from 2.0.0 to 2.0.1.
- [Release notes](https://github.com/mackwic/colored/releases)
- [Changelog](https://github.com/colored-rs/colored/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mackwic/colored/compare/v2.0.0...v2.0.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-04 10:22:33 +00:00
collin
9fccf015d7 chore(leo): bump version for new release 2023-06-28 21:09:44 -07:00
d0cd
b236918df4
[Feature] Support ChaCha::rand_* (#2433)
* Add tests for ChaCha::rand*

* Add Chacha::rand* to AST, tyc, and codegen

* Add lottery example

* Regen expectations

* Add check asserting that command is only used in finalize block

* Update example and related CI
2023-06-28 21:02:50 -07:00
collin
80b0976276 chore(leo): bump version for new release 2023-06-23 17:19:25 -07:00
Pranav Gaddamadugu
5cce8b4a0e Revert WIP 2023-06-23 10:24:10 -04:00
Pranav Gaddamadugu
ccb4c0f38f Implement type checking for cast expressions 2023-06-23 10:10:10 -04:00
Collin Chin
4a0ee1d9d8
[Feature] implement block.height command (#2420)
* implement initial block.height

* commit.height parsing and code generation

* patch self.caller tests

* add error for self.caller in a finalize context

* fix test
2023-06-20 16:36:11 -07:00
collin
7741f5b0c4 chore(leo): bump version for new release 2023-06-15 22:38:02 -07:00