Commit Graph

3576 Commits

Author SHA1 Message Date
Alessandro Coglio
4c3b0d344b
Merge pull request #1342 from AleoHQ/rfc
[RFC] Initial draft of record/transaction RFC.
2021-09-27 10:55:53 -07:00
Alessandro Coglio
caf27b3243
Merge pull request #1363 from AleoHQ/clippy-cleanup
Misc cleanups of warnings & etc
2021-09-24 08:36:51 -07:00
Mazdak Farrokhzad
3ad7d2fdb2 cleanup courtesy of clippy 2021-09-23 17:06:48 +02:00
Alessandro Coglio
e08d2522f1 [RFC] Revise discussion of 'input' treatment.
Incorporate suggestions from Eric and Mazdak on this.
2021-09-21 09:49:36 -07:00
Alessandro Coglio
1fc9814421 [RFC] Incorporate suggestion. 2021-09-21 09:12:04 -07:00
Alessandro Coglio
151366ba5c [RFC] Add a new idea for handling transaction outputs. 2021-09-20 11:04:51 -07:00
Alessandro Coglio
d863d1e3ed [RFC] Mention also Output as suggested. 2021-09-20 10:07:49 -07:00
Alessandro Coglio
59cadadf2d [RFC] Incorporate naming suggestion. 2021-09-20 09:55:50 -07:00
Alessandro Coglio
0e96bf8d7d
Merge pull request #1346 from AleoHQ/feature/count-untested-errors
Feature/count untested errors
2021-09-20 09:30:29 -07:00
dependabot[bot]
85a3dddd8c
Bump dirs from 3.0.2 to 4.0.0 (#1347)
Bumps [dirs](https://github.com/soc/dirs-rs) from 3.0.2 to 4.0.0.
- [Release notes](https://github.com/soc/dirs-rs/releases)
- [Commits](https://github.com/soc/dirs-rs/commits)

---
updated-dependencies:
- dependency-name: dirs
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: damirka <damirka.ru@gmail.com>
2021-09-20 14:31:32 +03:00
dependabot[bot]
1eea668e4a
Bump tracing from 0.1.27 to 0.1.28 (#1355)
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.27 to 0.1.28.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.27...tracing-0.1.28)

---
updated-dependencies:
- dependency-name: tracing
  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>
2021-09-20 14:03:34 +03:00
Alessandro Coglio
bdfc79e90a
Merge pull request #1352 from AleoHQ/more-tests
[Tests] Adds .len() parser tests, sanitizes some tests
2021-09-17 11:05:39 -07:00
Pranav Gaddamadugu
8b95f3b779 Enabled CircleCI, triggering again 2021-09-17 10:27:01 -07:00
Alessandro Coglio
a5d388681c
Merge pull request #1349 from AleoHQ/tgc-ci-formatting
[tgc CI] make log more readable; allow tgc type inference to run even…
2021-09-17 10:18:48 -07:00
Alessandro Coglio
b08e63124b [RFC] interface -> entrypoint
This emerged as consensus from yesterday's meeting.
2021-09-17 10:10:39 -07:00
Alessandro Coglio
43a4a6e414 [RFC] Fix typo. 2021-09-17 10:07:51 -07:00
Alessandro Coglio
c491a16f36 [RFC] Use x instead of * -- Eric M.'s suggestion. 2021-09-17 10:07:10 -07:00
Pranav Gaddamadugu
45c1e86b59 Trigger CI 2021-09-17 09:32:57 -07:00
damirka
af777c085d adds .len() parser tests 2021-09-17 17:39:28 +03:00
damirka
27d9fffab7 fix test expectations 2021-09-17 14:44:11 +03:00
Eric McCarthy
7f1277940b [tgc CI] make log more readable; allow tgc type inference to run even if there is a tgc canonicalization failure 2021-09-16 12:35:22 -07:00
Pranav Gaddamadugu
fb4f398520 Re-ran all tests with CLEAR_LEO_TEST_EXPECTATIONS=true; changed expectations for the two tests that failed in CI 2021-09-15 18:28:54 -07:00
Pranav Gaddamadugu
0cd77ca89c Tested unknown error, cleanup, formatting, and ran clippy 2021-09-15 16:13:30 -07:00
Pranav Gaddamadugu
ef058cebb7 Added option to write errcov report to file or stdout 2021-09-15 15:23:26 -07:00
Pranav Gaddamadugu
db1ddaa144 errcov outputs coverage information for covered, uncovered, and unknown errors 2021-09-15 15:23:26 -07:00
Pranav Gaddamadugu
dc98e94d7f errcov collects all error codes for errors generated by create_errors! macro 2021-09-15 15:23:26 -07:00
Pranav Gaddamadugu
02170e4201 Created errcov binary, lists error codes found in tests/exepectations 2021-09-15 15:23:26 -07:00
Alessandro Coglio
a5f74195cf
Merge pull request #1333 from AleoHQ/array-len-function
[Feature] Adds .len() postfix to arrays
2021-09-15 10:10:32 -07:00
gluax
2cbf62ef0a
Merge pull request #1339 from AleoHQ/feature/built-ins
[Feature] Leo stdlib & built-ins
2021-09-14 22:04:02 -07:00
gluaxspeed
a503dbb50b add some READMES 2021-09-14 21:38:07 -07:00
Alessandro Coglio
4c816dd024 [RFC] Fix two typos.
Thanks to Errol Drummond for reporting these.
2021-09-14 09:09:02 -07:00
damirka
f12eafb957 replace sizeof with lengthof 2021-09-14 18:01:24 +03:00
dependabot[bot]
3a004b5f23
Bump tracing from 0.1.26 to 0.1.27 (#1344)
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.26 to 0.1.27.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.26...tracing-0.1.27)

---
updated-dependencies:
- dependency-name: tracing
  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>
2021-09-14 17:55:54 +03:00
Alessandro Coglio
65cfffac99 [RFC] Initial draft of record/transaction RFC. 2021-09-13 10:13:47 -07:00
Alessandro Coglio
86552cacdd
Merge pull request #1337 from AleoHQ/abnf
[ABNF] Improve rules for array expressions.
2021-09-13 08:53:49 -07:00
damirka
4f41f09ef2 Merge branch 'master' into array-len-function 2021-09-13 14:26:38 +03:00
dependabot[bot]
49a1ffbdff
Bump anyhow from 1.0.43 to 1.0.44 (#1340)
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.43 to 1.0.44.
- [Release notes](https://github.com/dtolnay/anyhow/releases)
- [Commits](https://github.com/dtolnay/anyhow/compare/1.0.43...1.0.44)

---
updated-dependencies:
- dependency-name: anyhow
  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>
2021-09-13 14:06:32 +03:00
dependabot[bot]
041adf2b3b
Bump serde_yaml from 0.8.20 to 0.8.21 (#1341)
Bumps [serde_yaml](https://github.com/dtolnay/serde-yaml) from 0.8.20 to 0.8.21.
- [Release notes](https://github.com/dtolnay/serde-yaml/releases)
- [Commits](https://github.com/dtolnay/serde-yaml/compare/0.8.20...0.8.21)

---
updated-dependencies:
- dependency-name: serde_yaml
  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>
2021-09-13 14:05:58 +03:00
Alessandro Coglio
f178517b90
Merge pull request #1335 from AleoHQ/add-palindromes-to-examples
[Examples] Adds 2 more examples, updates manifests
2021-09-10 10:42:20 -07:00
damirka
158576f8f5 changed length() to len() 2021-09-10 16:55:32 +03:00
gluaxspeed
c1e9c72d2a merge master and resolve conflicts 2021-09-10 06:53:47 -07:00
gluaxspeed
93f9f7df30 update built-ins rfc 2021-09-10 06:50:01 -07:00
gluaxspeed
e1f6b16ea7 added new errors 2021-09-10 06:42:01 -07:00
damirka
093517109b renaming, now .length() 2021-09-10 16:11:55 +03:00
gluax
9af730e8ee
Merge pull request #1334 from AleoHQ/bug/Self-in-tuple-or-list-arg-errors
[Bugfix] proper canoncialization of function inputs
2021-09-10 05:57:06 -07:00
gluaxspeed
64e88404d2 prelude stuff auto included 2021-09-10 05:55:07 -07:00
dependabot[bot]
c169e48a56
Bump sha2 from 0.9.6 to 0.9.8 (#1338)
Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.9.6 to 0.9.8.
- [Release notes](https://github.com/RustCrypto/hashes/releases)
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.6...sha2-v0.9.8)

---
updated-dependencies:
- dependency-name: sha2
  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>
2021-09-10 15:16:40 +03:00
gluaxspeed
02416cde68 merge master and resolve conflicts 2021-09-10 02:27:37 -07:00
Alessandro Coglio
1c4c7622f3 [ABNF] Re-generate markdown file. 2021-09-09 12:00:22 -07:00
Alessandro Coglio
ba65b4f4d5 [ABNF] Improve rules for array expressions.
Extending array dimensions for types to allow underscore has the unintended
effect of allowing that also for expressions. This is not necessarily an error,
as the static semantics can rule out underscores from array expressions.
However, it is a simple syntactic constraint that is best captured by the
grammar.

This commit differentiate array dimensions for types and array dimensions for
expressions, using them in the appropriate places.
2021-09-09 11:55:30 -07:00