Commit Graph

1020 Commits

Author SHA1 Message Date
Pranav Gaddamadugu
962526dab5 Fix flattening 2024-05-14 15:20:28 -07:00
Pranav Gaddamadugu
e4e228c419 Merge branch 'mainnet' into update/from-testnet3 2024-05-14 14:47:33 -07:00
Pranav Gaddamadugu
11b5502eac Merge branch 'testnet3' into update/from-testnet3 2024-05-14 13:39:40 -07:00
Pranav Gaddamadugu
f29bd71185 Make compiler generic over Network 2024-05-14 09:49:03 -07:00
Pranav Gaddamadugu
65afb54a5b chore(leo): bump version for new release 2024-05-13 13:36:45 -07:00
Pranav Gaddamadugu
5cb9f65349 Regen expectations 2024-05-13 11:15:28 -07:00
Pranav Gaddamadugu
d2b1d055ce Update tests and fix 2024-05-13 11:09:15 -07:00
Pranav Gaddamadugu
c378e090d7 Merge branch 'mainnet' into update/from-testnet3 2024-05-13 10:10:31 -07:00
evan-schott
37d0b0e367 Change block height expectations so that execution test passes 2024-04-30 12:01:16 -07:00
Pranav Gaddamadugu
3b3a3bff02 Compatibility fixes 2024-04-30 13:51:09 -04:00
Pranav Gaddamadugu
d27ba5fa31 Merge branch 'testnet3' into update/from-testnet3 2024-04-30 13:50:06 -04:00
evan-schott
b85ace8b27 port snarkVM test 2024-04-29 14:36:46 -07:00
evan-schott
760fc3cdba regen 2024-04-23 14:24:08 -07:00
evan-schott
1e0afc20c1 Passing network.id test 2024-04-23 14:19:09 -07:00
evan-schott
5a060a4254 support for network.id 2024-04-22 18:34:31 -07:00
evan-schott
3b3d4b4c26 add tests 2024-04-22 18:33:28 -07:00
evan-schott
dda608f484 Add support for program address literals (ex: hello.aleo) & self.address 2024-04-22 18:18:48 -07:00
Pranav Gaddamadugu
efd12d5b09 Update codegen to include depth on positions 2024-04-18 20:36:38 -07:00
Pranav Gaddamadugu
0eae4f07a1 Update tests; regen expectations 2024-04-18 20:31:00 -07:00
Pranav Gaddamadugu
781d7a816a Fix and add test 2024-04-18 18:20:14 -07:00
evan-schott
88b57bec35 Regen + clippy 2024-04-18 14:16:55 -07:00
evan-schott
313add0493 regen parser exp 2024-04-16 16:06:33 -07:00
evan-schott
e7fa88cfe4 new double nested external records test 2024-04-16 15:16:53 -07:00
evan-schott
1f6e39aaec Bug fix: double nested imported structs reporting wrong program of origin 2024-04-16 14:57:55 -07:00
evan-schott
b95c5d544f proper formatting of external records (plus test) 2024-04-16 13:59:13 -07:00
evan-schott
27ef7e5cd0 Add tests 2024-04-15 18:38:03 -07:00
Pranav Gaddamadugu
d8216a4d6e Regen expectations 2024-04-13 10:49:32 -07:00
evan-schott
71c39b5c31 update expectations 2024-04-11 12:02:09 -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
00ce6eb045 explicit future tests 2024-04-09 11:38:57 -07:00
evan-schott
b422657944 Forbit explicit inclusion of async function return type 2024-04-08 11:27:42 -07:00
evan-schott
5790124de4 test parity with snarkVM 2024-04-08 11:18:45 -07: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
b3c3714044 Regen expectations 2024-04-02 08:40:32 -07:00
Pranav Gaddamadugu
2c391055af chore(leo): bump version for new release 2024-03-29 17:53:25 -07:00
evan-schott
f61cfd3c2f update expectations 2024-03-29 14:18:14 -07:00
evan-schott
36aa41fdc2 Regen expectations 2024-03-29 14:18:12 -07:00
evan-schott
f81bb5bfcc Update testing framework report error msg 2024-03-29 14:17:29 -07:00
evan-schott
ed085666a3 Add tests for using LocatorExpression out of place 2024-03-29 14:17:29 -07:00
evan-schott
94b5d927d7 Refactor LocatorExpression 2024-03-29 14:17:29 -07:00
evan-schott
a92e2814c4 new test expectation 2024-03-29 14:17:28 -07:00
evan-schott
84f0bd6142 add new external mapping tests 2024-03-29 14:17:28 -07:00
Pranav Gaddamadugu
23ad88bdbc Fix tests and regen expectations 2024-03-29 14:17:28 -07:00
Pranav Gaddamadugu
a0b28747da Fix compile expectations 2024-03-29 14:17:28 -07:00
evan-schott
22d1c402d4 in progress 2024-03-29 14:17:28 -07:00
evan-schott
a37c36ac12 failing test 2024-03-29 14:17:28 -07:00
evan-schott
2db118a85f update test expectations 2024-03-29 14:17:28 -07:00
evan-schott
1dde26baec Passing parser test 2024-03-29 14:17:28 -07:00
Pranav Gaddamadugu
bcf1615861 Improve reproducibility 2024-03-28 10:12:01 -07:00
Pranav Gaddamadugu
7c95d1302f Reformat expectations 2024-03-28 08:31:51 -07:00
Pranav Gaddamadugu
058d3bf79a Add complex finalization multi-program example; regen expectations 2024-03-27 20:15:24 -07:00
Pranav Gaddamadugu
4c750bc963 Support finalize execution in execute tests 2024-03-27 17:50:05 -07:00
Pranav Gaddamadugu
63dcec4d01 Fix 2024-03-26 16:26:45 -07:00
Pranav Gaddamadugu
da624ba34e Regen expectations 2024-03-26 15:57:08 -07:00
Pranav Gaddamadugu
f4af8a77d2 Add support for multi-file compile tests 2024-03-26 12:57:57 -07:00
dependabot[bot]
3136e8d532
Bump walkdir from 2.4.0 to 2.5.0
Bumps [walkdir](https://github.com/BurntSushi/walkdir) from 2.4.0 to 2.5.0.
- [Commits](https://github.com/BurntSushi/walkdir/compare/2.4.0...2.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-13 19:11:01 +00:00
evan-schott
997b9051fd clippy 2024-03-08 16:42:55 -08:00
evan-schott
5d2f0cd976 Simple E2E test 2024-03-08 11:45:18 -08:00
evan-schott
189d36e37e Basic parsing pass 2024-03-05 10:38:12 -08:00
evan-schott
8e67cfbf2a AST refactor 2024-03-04 16:59:28 -08:00
Pranav Gaddamadugu
95d95f27e7 Merge branch 'testnet3' into feat/leo-deploy 2024-02-10 23:13:20 -06:00
evan-schott
5af08b53b5 update tests 2024-02-09 15:57:54 -08:00
evan-schott
077f9fb345 New tests 2024-02-09 15:40:31 -08:00
evan-schott
a2ecb3d7aa All test expectations change since added external data type representation to ST 2024-02-09 15:38:16 -08:00
evan-schott
092ddc797a change to symbol table changes all symbol table hashes 2024-02-09 15:37:04 -08:00
dependabot[bot]
ba704d5f39
Bump clap from 4.4.18 to 4.5.0
Bumps [clap](https://github.com/clap-rs/clap) from 4.4.18 to 4.5.0.
- [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/compare/v4.4.18...clap_complete-v4.5.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-02-09 10:43:52 +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
d0cd
7ac50d83ed
Merge pull request #24797 from stanlagermin/fix_typos
fix typos
2024-01-22 14:35:56 -08:00
Pranav Gaddamadugu
829a1e801e Clean up tests 2024-01-15 15:45:08 -08:00
Pranav Gaddamadugu
e8a46b7628 WIP removing input files from examples 2024-01-15 15:45:07 -08:00
Pranav Gaddamadugu
a322fcb7ac Update test framework 2024-01-15 15:45:07 -08:00
stanlagermin
31b4868ed0 fix typos 2023-12-21 14:55:52 +07:00
evan-schott
1090c3e55e style 2023-12-11 12:48:46 -08:00
evan-schott
3ef3cc3f25 check style 2023-12-11 12:46:40 -08:00
evan-schott
52141fea68 fix tests 2023-12-05 19:57:34 -08:00
evan-schott
da1419c2ab Compiler::new() changes 2023-11-30 16:10:26 -08:00
evan-schott
1b9ac65d4a mess 2023-11-30 16:08:11 -08:00
evan-schott
cc60421482 Testing TC error 2023-11-30 11:40:04 -08:00
evan-schott
aa37895d91 mess 2023-11-30 11:38:39 -08:00
evan-schott
2b6a35823b codegen fix 2023-11-30 11:15:09 -08:00
evan-schott
fb56a4f429 tests AST changes but bytecode remains the same 2023-11-30 10:52:33 -08:00
evan-schott
c809268084 add new tests for new import structure, as well as deprecating hardcoding stubs 2023-11-30 10:52:16 -08:00
evan-schott
f1a19b2a03 rebase fix 2023-11-30 10:52:16 -08:00
evan-schott
bd2e3de733 Allow imports & Variant::Function functions in stubs 2023-11-30 10:52:16 -08:00
evan-schott
f906e7f9e0 New tests 2023-11-30 10:52:15 -08:00
evan-schott
14fc864e0c test expectations 2023-11-30 10:52:15 -08:00
Pranav Gaddamadugu
c2bde41840 Regen expectations 2023-11-23 10:55:27 -08:00
Pranav Gaddamadugu
54566c04c2 Regen expectations 2023-10-27 19:05:12 -04:00
Pranav Gaddamadugu
bdd0f781e4 Regen expectations 2023-10-27 18:54:58 -04:00
Pranav Gaddamadugu
b3c1723d5c Add tests and fixes 2023-10-27 18:54:58 -04:00
Pranav Gaddamadugu
6756320fd8 Regen expectations 2023-10-27 18:54:58 -04:00
Pranav Gaddamadugu
630508c4ae Update tests 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
f494a891c4 Add TypeTable to compiler 2023-10-27 18:54:57 -04:00
Pranav Gaddamadugu
a3446d3aea Introduce TypeTable 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
22766a4359 Fix test cases 2023-10-27 18:54:56 -04:00
Pranav Gaddamadugu
c94acdebbd Support array access expressions in AST and visitors 2023-10-27 18:54:56 -04:00