Commit Graph

467 Commits

Author SHA1 Message Date
Pranav Gaddamadugu
cc121171b3 chore(leo): bump version for new release 2024-11-19 16:06:21 -08:00
Pranav Gaddamadugu
f27d1573a2 Fix and regen some expectations 2024-11-14 07:23:34 -08:00
Pranav Gaddamadugu
d3b0780907 Add check for complex async call 2024-11-13 19:05:42 -08:00
Pranav Gaddamadugu
1379843a8f Add check for futures awaited out of order 2024-11-13 18:13:22 -08:00
Pranav Gaddamadugu
b87a79d991 Introduce StaticAnalyzer pass; move future await checking to this pass 2024-11-13 16:35:55 -08:00
Michael Benfield
b66db0329e Parse error on identifiers that are too long.
SnarkVM requires that identifiers fit in a field
element.
2024-11-06 08:32:26 -08:00
Michael Benfield
4afc757216 Update MSRV in all the other crates to match. 2024-11-04 13:24:00 -08:00
dependabot[bot]
27f7ba206d
Bump reqwest from 0.12.8 to 0.12.9
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.12.8 to 0.12.9.
- [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.8...v0.12.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-29 10:45:03 +00:00
Michael Benfield
0a5a6985f1 Handle closures that are invalid for Aleo.
In particular,

1. Insert a dummy instruction for empty closures
and finalizers. SnarkVM won't parse these with no instructions.

2. Give an error for Leo functions with
no parameters (rather than just generating
an invalid Aleo closure).

Fixes #28401
2024-10-23 12:03:12 -07:00
dependabot[bot]
0cda2c20be Bump thiserror from 1.0.64 to 1.0.65
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.64 to 1.0.65.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.64...1.0.65)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-23 11:15:33 -07:00
Michael Benfield
a55dfe29e8 Clean up dependencies.
Remove unused deps. Use workspace deps where appropriate.
2024-10-10 12:56:17 -07:00
Michael Benfield
5a0f39cd9f hex, octal, and binary literals for integers.
Note that they can't be used on the command line since SnarkVM
does the parsing there.
2024-10-10 08:26:58 -07:00
Michael Benfield
9ea9aeb9c8 Require comma separators (and nothing else) between struct members.
Fixes #28377, #28379
2024-10-09 14:47:40 -07:00
dependabot[bot]
c10858e6eb
Bump reqwest from 0.12.7 to 0.12.8
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.12.7 to 0.12.8.
- [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.7...v0.12.8)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-03 23:31:15 +00:00
dependabot[bot]
56423267cb
Bump thiserror from 1.0.63 to 1.0.64
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.63 to 1.0.64.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.63...1.0.64)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-02 15:10:39 +00:00
Pranav Gaddamadugu
174dae47db Update rustfmt.toml to latest nightly and apply changes 2024-10-01 18:19:39 -07:00
Pranav Gaddamadugu
d746c427cc chore(leo): bump version for new release 2024-09-19 08:00:35 +08:00
Pranav Gaddamadugu
f9bd1d260f Minor nit 2024-09-16 15:12:51 +08:00
Pranav Gaddamadugu
e9e2926d5f Update error messaging to account for redirects from APIs 2024-09-13 19:18:05 -07:00
Pranav Gaddamadugu
2c1667af90 Update endpoint 2024-09-09 15:01:18 -07:00
d0cd
7147914be1
Merge pull request #28339 from ProvableHQ/dependabot/cargo/mainnet/serde-1.0.210
Bump serde from 1.0.209 to 1.0.210
2024-09-09 11:04:49 -07:00
dependabot[bot]
5369fa3550
Bump backtrace from 0.3.73 to 0.3.74
Bumps [backtrace](https://github.com/rust-lang/backtrace-rs) from 0.3.73 to 0.3.74.
- [Release notes](https://github.com/rust-lang/backtrace-rs/releases)
- [Commits](https://github.com/rust-lang/backtrace-rs/compare/0.3.73...0.3.74)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 10:32:44 +00:00
dependabot[bot]
6b3adbd65d
Bump serde from 1.0.209 to 1.0.210
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.209 to 1.0.210.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.209...v1.0.210)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-09 10:20:47 +00:00
dependabot[bot]
8a96d860f3
Bump reqwest from 0.12.5 to 0.12.7
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.12.5 to 0.12.7.
- [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.5...v0.12.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-09-05 10:46:57 +00:00
Pranav Gaddamadugu
82eba55f8d chore(leo): bump version for new release 2024-09-04 15:18:01 -07:00
Pranav Gaddamadugu
7dfecd41b1 Update LicenseHeader and Cargo metadata 2024-09-04 11:48:02 -07:00
dependabot[bot]
c9bc8e907e
Bump serde from 1.0.208 to 1.0.209
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.208 to 1.0.209.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.208...v1.0.209)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 11:02:23 +00:00
ungaro
46e61d0602 small error formatting improvements 2024-08-16 13:10:13 -04:00
dependabot[bot]
8152706bcf
Bump serde from 1.0.207 to 1.0.208
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.207 to 1.0.208.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.207...v1.0.208)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-16 10:10:01 +00:00
dependabot[bot]
ce434a1051
Bump serde from 1.0.204 to 1.0.207
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.204 to 1.0.207.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.204...v1.0.207)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-13 10:12:05 +00:00
Pranav Gaddamadugu
acb7b61feb chore(leo): bump version for new release 2024-08-07 01:10:09 -04:00
dependabot[bot]
b91454e673
Bump thiserror from 1.0.62 to 1.0.63
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.62 to 1.0.63.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.62...1.0.63)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-18 11:01:36 +00:00
dependabot[bot]
ebe0c48dd1
Bump thiserror from 1.0.61 to 1.0.62
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.61 to 1.0.62.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.61...1.0.62)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-12 10:31:19 +00:00
Pranav Gaddamadugu
140a04072d chore(leo): bump version for new release 2024-07-08 13:53:16 -07:00
evan-schott
1e77f75d61
Merge pull request #28203 from ProvableHQ/feat/set-defaults-to-testnet
[Fix] Set defaults to `testnet`.
2024-07-08 11:40:48 -07:00
d0cd
9925390b77
Merge pull request #28202 from ProvableHQ/dependabot/cargo/mainnet/serde-1.0.204
Bump serde from 1.0.203 to 1.0.204
2024-07-08 10:03:08 -07:00
evan-schott
475f6d37cc
Merge pull request #28193 from ProvableHQ/fix/empty-struct
[Fix] Informative error on empty struct.
2024-07-08 09:54:37 -07:00
Pranav Gaddamadugu
f22177e2c5 Set defaults 2024-07-08 09:30:10 -07:00
dependabot[bot]
6c1eb6177f
Bump serde from 1.0.203 to 1.0.204
Bumps [serde](https://github.com/serde-rs/serde) from 1.0.203 to 1.0.204.
- [Release notes](https://github.com/serde-rs/serde/releases)
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.203...v1.0.204)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 10:44:22 +00:00
Alessandro Coglio
5c2ba3e107 Fix and improve some doc. 2024-07-03 09:02:14 -07:00
Pranav Gaddamadugu
6404d22b09 Fix 2024-07-02 18:10:54 -07:00
d0cd
94382c4489
Merge pull request #28146 from ProvableHQ/feat/simplify-cli
[Feat] CLI cleanup
2024-07-02 09:05:35 -07:00
d0cd
057df0b54e
Update errors/src/errors/package/package_errors.rs
Signed-off-by: d0cd <23022326+d0cd@users.noreply.github.com>
2024-07-01 09:51:22 -07:00
evan-schott
92a0ff4c28 clippy 2024-06-25 14:17:56 -07:00
evan-schott
b3d712bb15 remove unwraps 2024-06-25 14:16:13 -07:00
evan-schott
f25ce4cbcc error instead of panic on invalid balance 2024-06-25 13:40:56 -07:00
evan-schott
eda937a5b1 fixes 2024-06-25 13:14:25 -07:00
evan-schott
ecac53ef94 add canary + clippy 2024-06-20 14:20:31 -07:00
evan-schott
acb8f46655 error if constraint / variable limit is exceeded for deployment on current network 2024-06-20 14:03:45 -07:00
evan-schott
2f32657828 use .env for network, sk, endpoint (can override with CLI flag) 2024-06-20 12:31:22 -07:00