DaniPopes
439a0c7de0
chore(deps): bump and use workspace dependencies ( #2222 )
...
* chore: update all deps
* chore: update dependabot
* chore: separate ethers package from workspace
* chore: package metadata
* chore: use package.*.workspace = true
* fix: docs.rs build
* chore: update examples manifests
* chore: use workspace dependencies for ethers-* crates
* fix: test
* chore: use workspace dependencies for all dependencies
* chore: pin rust-crypto
* chore: add license field to example crates
* fixes
* more fixes
* fix: test
* last fixes
* fix: wasm
* fix: docs.rs build
* fix
* fix: wasm-pack error
see also https://github.com/rustwasm/wasm-pack/issues/1238
* fix: wasm deps and example
* ci: update
* fix: wasm tests
* fix: eip712 tests
* fix: windows ci
* fix
* chore: update docsrs metadata
* chore: bump version to match crates.io
* chore: rm bad release.toml config
* chore: rm release.toml
bad configuration
* chore: add exclude to workspace
* fix: middleware
* fix: solc feature flags
* chore: run cargo upgrade
* chore: update deps
* chore: update remaining deps
* undo fix
* update lock
* bump yubi
* fix: update coins-* and fix spki breaking changes
2023-03-16 12:28:35 -07:00
Matthias Seitz
d073930fa3
chore(solc): add more cache traces ( #2248 )
...
* chore(solc): add more cache traces
* simplify bools
2023-03-13 12:43:53 -07:00
DaniPopes
203e350940
docs: fix broken links, update documentation ( #2203 )
...
* docs: fix broken links
* docs: update READMEs and module-level documentation
2023-02-27 13:03:17 -07:00
Matthias Seitz
c679d402cb
chore: bump svm-rs ( #2179 )
2023-02-23 12:48:41 -08:00
Georgios Konstantopoulos
85d7c07fa8
chore: fmt
2023-02-13 17:10:01 -08:00
Georgios Konstantopoulos
5f08a2d931
chore(solc): remove unused generic
2023-02-13 17:07:20 -08:00
Matthias Seitz
c7547cb1d5
perf(solc): wrap source content in Arc ( #2138 )
2023-02-10 16:17:11 -08:00
Matthias Seitz
2fce943274
chore: bump solc test 0.8.18 ( #2113 )
2023-02-04 19:24:11 -08:00
Elizabeth Dinella
0841e9b53e
fixed issue#2004 parsing solc verison with trailing newlines ( #2005 )
...
* fixed issue#2004 parsing solc verison with trailing newlines
* suggested changes
2023-01-13 10:45:26 -08:00
DaniPopes
c5ff733702
chore: clippy ( #1990 )
...
* chore: clippy
* chore: clippy
2022-12-30 14:19:41 +02:00
Matthias Seitz
cba6f071ae
chore(clippy): make clippy happy ( #1856 )
2022-11-13 07:49:27 -05: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
DaniPopes
debd6fec3d
chore: clippy ( #1812 )
...
* chore: clippy
* fmt
2022-11-07 15:43:11 -08:00
Matthias Seitz
b47567bfd2
fix(solc): handle absolute paths properly on conflict ( #1784 )
2022-10-13 14:54:36 -07:00
Matthias Seitz
3ee1b6796e
feat(solc): add versioned artifacts helper ( #1752 )
2022-09-28 11:58:12 -07:00
Matthias Seitz
23171d9299
chore(solc): add another artifacts helper type ( #1722 )
2022-09-19 13:49:28 -07:00
Matthias Seitz
feaa473ffb
chore: bump max solc 0.8.17 ( #1679 )
2022-09-11 14:15:19 -07:00
Matthias Seitz
e95a96426a
chore(clippy): make clippy happy ( #1688 )
2022-09-11 14:11:43 -07:00
Matthias Seitz
6a86d4ff22
chore(clippy): make clippy happy ( #1659 )
2022-09-04 10:57:52 -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
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
0bf9665d98
chore: update max solc version 0.8.16 ( #1578 )
2022-08-08 13:01:29 -07:00
Matthias Seitz
e62c84d650
fix(solc): convert source paths on windows ( #1540 )
...
* fix(solc): convert source paths on windows
* refactor: slash all paths
* fix: use correct import
* feat: slash compiler output
* add util function
* slash by default
* slash artifact id
* typo
* updat cfg
* unify cfg
* update changelog
2022-08-01 09:47:41 -07:00
Matthias Seitz
fb8ebd8231
feat(solc): handle conflicting artifacts properly ( #1491 )
...
* feat(solc): handle conflicting artifacts properly
* refactor(solc): update write extras function
* chore: update CHANGELOG
2022-07-24 14:39:37 -07:00
Paul Razvan Berg
d7f656c73a
nit(ethers-solc): set URL to binaries.soliditylang.org ( #1490 )
...
* nit(ethers-solc): set URL to binaries.soliditylang.org
* Use hyperlink in ethers-solc/src/compile/mod.rs
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2022-07-22 22:26:39 +02:00
Matthias Seitz
3c1de64240
refactor(solc): unify find/remove api ( #1449 )
...
* refactor(solc): unify find/remove api
* fix: update docs
2022-07-04 11:53:49 -07:00
Matthias Seitz
13e67aaa4a
feat(solc): add remove_contract utility function ( #1436 )
2022-06-30 09:19:55 -07:00
0xYYY
ca34d0c049
feat(solc): add more contract iter helper functions ( #1438 )
2022-06-30 09:17:56 -07:00
Matthias Seitz
3d77f44066
feat(solc): add Contract Info structs ( #1407 )
2022-06-22 22:37:39 -04:00
Matthias Seitz
2ebdef68d2
feat!(solc): add additional remove functions ( #1406 )
2022-06-22 13:14:02 -04:00
Matthias Seitz
d09845e0c5
chore(solc): improve checksum error message ( #1394 )
2022-06-20 10:52:16 -07:00
Matthias Seitz
cced79f22b
chore: update latest solc release test ( #1384 )
2022-06-16 09:09:24 -07:00
Matthias Seitz
e3389f336a
feat(solc): emit build info files if configured ( #1338 )
...
* feat(solc): emit build info files if configured
* feat: add content hashing
2022-06-15 12:44:20 -07:00
Matthias Seitz
86e5af29e5
fix(solc): remove compile_exact restriction ( #1329 )
2022-05-31 13:28:27 -07:00
Matthias Seitz
299329d8f7
chore: remove redundant call ( #1320 )
2022-05-28 12:01:28 -04:00
Matthias Seitz
54f1b9dee8
feat(solc): use relative paths and --base-path option ( #1317 )
...
* feat(solc): use relative paths and --base-path option
* chore: update CHANGELOG
* strip lib paths
2022-05-27 13:31:11 -07:00
Matthias Seitz
75835a9280
feat(solc): emit artifacts for standalone source files ( #1296 )
...
* feat(solc): emit artifact files for sources with no contracts
* test(solc): add tests for emitting standalone sources
* chore: update CHANGELOG
* style: check ast is some
2022-05-22 15:19:59 -07:00
Matthias Seitz
cffcc7bbec
chore(clippy): fix newest nightly lints ( #1298 )
2022-05-22 15:18:57 -07:00
Matthias Seitz
809ccbc9ad
feat(solc): include id in artifact ( #1284 )
2022-05-19 11:02:31 -07:00
Matthias Seitz
d77f92519c
chore: bump latest solc release ( #1282 )
2022-05-18 07:49:08 -07:00
Matthias Seitz
1271308e06
fix(solc): purge obsolete cached artifacts ( #1273 )
...
* fix(solc): purge obsolete cached artifacts
* fix add cfg
2022-05-16 16:48:47 -07:00
Roman Krasiuk
f3699d08bf
fix(solc): add `RuntimeOrHandle` & fix solc blocking installation ( #1260 )
...
* rt wrapper for solc install
* fix
* uncomment feat flag
* feature deps & comment
* async it tests
* use svm::block_install for wasm
* hide rt or handle for wasm
* hide import for wasm
2022-05-14 16:29:45 -07:00
Matthias Seitz
f5efbbb86a
feat(solc): add strip and join functions to sources and contracts ( #1252 )
2022-05-12 14:48:16 -07:00
Matthias Seitz
44cbbc769a
feat(solc): store source files with their solc version ( #1231 )
...
* feat(solc): add versioned sources
* feat(solc): support versioned sources
2022-05-06 11:42:01 -07:00
Matthias Seitz
2304ed53ad
fix(solc): make scoped reporter work in parallel ( #1214 )
...
* fix(solc): make scoped reporter work in parallel
* typo
2022-05-03 16:39:36 -07:00
Matthias Seitz
c81254a8b6
test(solc): add another link with remapping test ( #1191 )
2022-04-28 07:07:08 -07:00
Matthias Seitz
a978bc98af
fix(solc): remapping aware libraries ( #1190 )
...
* feat(solc): add Libraries type
* feat: add lib applied remappings
* test: add lib linking tests
* Update ethers-solc/src/artifacts/mod.rs
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
* Update ethers-solc/src/artifacts/mod.rs
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
* Update ethers-solc/src/artifacts/mod.rs
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
* Update ethers-solc/src/artifacts/mod.rs
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
* chore: rustfmt
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-04-28 05:18:24 -07:00
Matthias Seitz
8afd670a65
chore(solc): remove async feature requirement ( #1181 )
2022-04-27 15:37:40 +03:00
Matthias Seitz
86908bc533
fix(solc): only write cache file if build was successful ( #1177 )
2022-04-27 15:29:09 +03:00