franfran
e5d2368f96
Merge branch 'master' into franfran/ast-fix
...
merge master (rebase was swallowing code)
2023-01-04 00:08:18 +01:00
francois
c047a0e7f5
re-export low fidelity
2023-01-01 20:16:54 +01:00
franfran
6acd2735c1
convert low fid ast to typed
...
rebase
2023-01-01 19:47:20 +01:00
franfran
29510ed8e4
Use low fidelity Ast by default
...
rebase
2023-01-01 19:46:46 +01:00
franfran
f7ea831d7c
nitz
...
rebase
2023-01-01 19:46:15 +01:00
DaniPopes
c5ff733702
chore: clippy ( #1990 )
...
* chore: clippy
* chore: clippy
2022-12-30 14:19:41 +02:00
Matthias Seitz
8a5b3cc6c9
fix: reexport SourceLocation ( #1971 )
2022-12-23 14:58:02 +02:00
Matthias Seitz
612cce016c
fix: reexport some ast types again ( #1968 )
2022-12-23 12:37:23 +02:00
Matthias Seitz
04e0092adf
revert: Ast Artifact ( #1966 )
2022-12-22 18:22:11 +02:00
Franfran
d553111906
fix: rebase to master for onbjerg's ast ( #1943 )
2022-12-22 15:22:57 +02:00
Oliver Nordbjerg
1a0f59f64f
feat: add remaining ast nodes
...
squash ast
test: fix ast test path
refactor: some clean up
docs: correct some docs
fix: ast serde behavior
test: add more ast tests
Pulled in from https://github.com/ethereum/solidity
test: improve ast test error messages
fix: more serde behavior
fix: more serde behavior
test: add documentation tests
feat: stronger types
fix: more type juggling
docs: fix rustdoc links
fix: type names for older compilers
docs: a bit more docs
test: remove legacy tests
chore: remove some todos
add missing ast
correct source
uncomment etherscan test
yul function call
rebase
2022-12-16 12:29:00 +01:00
Oliver Nordbjerg
d5ebff42e4
refactor: typed solc ast
...
rebase with master
2022-12-16 12:27:18 +01:00
Matthias Seitz
3dfc04f9fe
chore(clippy): make clippy happy ( #1923 )
2022-12-05 22:05:33 -08:00
Matthias Seitz
cba6f071ae
chore(clippy): make clippy happy ( #1856 )
2022-11-13 07:49:27 -05:00
DaniPopes
ac713a8588
fix: broken regex ( #1851 )
2022-11-10 12:21:45 -08:00
Jared Tokuz
b06452c6ea
feat: warnings as errors ( #1838 )
...
* feat: warnings as errors
* changed the bool arg to Severity and updated its traits
* reformat the test based on the linter
* renamed variable based on property type change and changed a few refs
* updated changelog
* revert changelog iden change
* added test for combining compiler severity filter and ignored error codes and adjusted has error for the added test case
* adjusted has_error to utilize ge functionality in case of info errors
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-11-10 12:19:43 -08:00
Matthias Seitz
e37a34cba6
chore(solc): always use sync sources reading ( #1667 )
2022-11-08 15:08:41 -08:00
DaniPopes
fb88215a87
fix: rustdoc errors ( #1808 )
...
* fix: rustdoc warnings
* fix: partially re-run abigen for multicall_contract
* fix
* fix test
* fix: rustdoc nightly warnings
2022-11-07 15:43:23 -08:00
DaniPopes
debd6fec3d
chore: clippy ( #1812 )
...
* chore: clippy
* fmt
2022-11-07 15:43:11 -08:00
Matthias Seitz
a9dd53da81
fix(solc): emit empty node vec ( #1793 )
2022-10-17 10:27:42 -07:00
Leo
2c28fa47e7
Add option to disable CBOR metadata in bytecode. ( #1782 )
2022-10-13 14:57:03 -07:00
Matthias Seitz
b47567bfd2
fix(solc): handle absolute paths properly on conflict ( #1784 )
2022-10-13 14:54:36 -07:00
Matthias Seitz
8789bbea22
fix: impl default manually for mock project ( #1779 )
...
* fix: impl default manually for mock project
* chore: silence impossible to derive default lint
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-10-11 13:21:29 -07:00
Georgios Konstantopoulos
f295af1f3f
chore: fix clippy
2022-10-11 10:53:19 -07:00
Matthias Seitz
7b87c44a54
chore(solc): create artifacts folder on output ( #1772 )
2022-10-07 10:03:38 -07:00
Matthias Seitz
3ee1b6796e
feat(solc): add versioned artifacts helper ( #1752 )
2022-09-28 11:58:12 -07:00
Matthias Seitz
d8791482d5
fix(solc): use empty bytecode as default instead unlinked ( #1743 )
...
* fix(solc): use empty bytecode as default instead unlinked
* chore: fmt
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-09-26 10:35:19 -07:00
Matthias Seitz
7888aaecde
test: add create_parent_dir_all_test ( #1741 )
2022-09-26 10:33:54 -07:00
Matthias Seitz
23171d9299
chore(solc): add another artifacts helper type ( #1722 )
2022-09-19 13:49:28 -07:00
Roman Krasiuk
62dd635a75
fix(solc): remove default include paths ( #1691 )
...
* fix path resolution for projects paths passed as included
* fix lookup
* remove default include paths
* remove default include paths usage
2022-09-14 09:41:25 -07:00
Matthias Seitz
feaa473ffb
chore: bump max solc 0.8.17 ( #1679 )
2022-09-11 14:15:19 -07:00
Roman Krasiuk
df6f3d7f1e
omit ( #1686 )
2022-09-11 14:15:07 -07:00
Matthias Seitz
e95a96426a
chore(clippy): make clippy happy ( #1688 )
2022-09-11 14:11:43 -07:00
Matthias Seitz
4e1462423f
perf(solc): read artifacts in parallel ( #1665 )
2022-09-05 09:51:50 -07:00
Matthias Seitz
fca8f997fa
fix(solc): via-ir should be optional ( #1664 )
2022-09-04 14:36:31 -07:00
Matthias Seitz
e425b55c92
chore(solc): replace colorized with yansi ( #1662 )
2022-09-04 11:00:11 -07:00
Matthias Seitz
6a86d4ff22
chore(clippy): make clippy happy ( #1659 )
2022-09-04 10:57:52 -07:00
Roman Krasiuk
083054d4fe
serialize viaIR setting ( #1655 )
2022-09-04 10:55:57 -07:00
Matthias Seitz
13a0144aba
fix(solc): use correct model for metadata libraries ( #1648 )
...
* chore: add spells output
* fix(solc): use correct model for metadata libraries
2022-08-30 10:36:58 -07:00
Matthias Seitz
0707270a05
fix(solc): consider case sensitive conflicting artifact paths ( #1625 )
...
* fix(solc): consider case sensitive conflicting artifact paths
* chore: fmt
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-08-20 15:35:56 -07:00
Matthias Seitz
ff754263a3
fix(solc): use cache context when determining artifact files ( #1621 )
...
* fix(solc): use cache context when determining artifact files
* update changelog
2022-08-19 14:33:28 -07:00
Matthias Seitz
6f1d47f3aa
chore(solc): improve file not found error ( #1611 )
2022-08-19 08:36:51 -07:00
Matthias Seitz
bda5a7657f
fix(solc): ensure base-path is not include-path ( #1596 )
2022-08-13 16:12:30 -07:00
Matthias Seitz
ad256997d6
chore(solc): improve io error for bad symlinks ( #1594 )
2022-08-13 14:03:48 -07:00
Matthias Seitz
2c33acb3ad
feat(solc): resolve absolute imports in libraries ( #1590 )
...
* feat(solc): resolve absolute imports in libraries
* feat(solc): support --include-path
* update test
* only add base path if not empty
* simplify solc config
* include root in include paths
* test: add test for absolute imports
* fix: bad predicate
* cleanup
* fix: use base-path directly
* fix: exclude root from include set
2022-08-12 12:11:08 -07:00
Matthias Seitz
6f8dc93fc6
feat(solc): add missing helper functions ( #1592 )
2022-08-11 16:42:52 -07:00
Matthias Seitz
47d3333195
fix(solc): strip .sol suffix ( #1583 )
2022-08-09 14:49:17 -07:00
Matthias Seitz
2f0dbad1fd
feat(solc): add helper to checkout temp projects ( #1581 )
...
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-08-09 09:24:54 -07:00
derch28
64ac7d01ab
solc: fix bug in basic lib and basic contract generation ( #1580 )
2022-08-09 09:21:52 -07:00
Matthias Seitz
0bf9665d98
chore: update max solc version 0.8.16 ( #1578 )
2022-08-08 13:01:29 -07:00