Commit Graph

187 Commits

Author SHA1 Message Date
ControlCplusControlV 7c3ee09b90
Merge pull request #1 from gakonst/master
Update
2022-03-14 20:06:04 -06:00
Matthias Seitz f6d123241e
feat: add solc install error report (#1027) 2022-03-14 04:47:11 -07:00
Matthias Seitz 26de793698
chore(solc): provide remappings on unresolved import message (#1026) 2022-03-14 13:29:00 +02:00
dependabot[bot] 97c37f187f
chore(deps): bump pretty_assertions from 1.1.0 to 1.2.0 (#1022)
Bumps [pretty_assertions](https://github.com/colin-kiegel/rust-pretty-assertions) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/colin-kiegel/rust-pretty-assertions/releases)
- [Changelog](https://github.com/colin-kiegel/rust-pretty-assertions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/colin-kiegel/rust-pretty-assertions/commits)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-14 13:27:15 +02:00
Matthias Seitz 6b0a1f7911
fix(solc): skip artifacts check for files without artifacts (#1018) 2022-03-14 00:36:26 +02:00
Georgios Konstantopoulos 77c3b39016 chore: go back to upstream svm 2022-03-12 05:16:20 -08:00
Georgios Konstantopoulos 341e98b4b0 fix: use svm-rs with fixed solc checksums 2022-03-11 13:42:46 -08:00
Matthias Seitz e5dbeb6b28
revert: use simple change filter again (#1008)
* chore: rollback dirty detection

* docs: caching docs
2022-03-11 08:43:48 -08:00
ControlCplusControlV ea9a9de708
Update configurable.rs 2022-03-10 13:00:38 -07:00
ControlCplusControlV 76d05b57cc
Merge branch 'master' into feature/yul_compilation 2022-03-10 12:52:09 -07:00
Johann 91a6885a5a Cleaned up code 2022-03-10 12:21:49 -07:00
Matthias Seitz 1b1cde0ee3
fix(solc): use correct types (#1004) 2022-03-10 10:46:47 -08:00
ControlCplusControlV cb595113b6
Merge branch 'alexeuler:feature/yul_compilation' into feature/yul_compilation 2022-03-10 11:44:14 -07:00
AlexK e1d66b8cd3
feat(solc): yul compilation (#994)
* added yul compilation

* fix doctest

* fixes

* changelog

* cleanup

* fmt

* test update

* lint

* ci fix

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-03-10 10:42:02 -08:00
Georgios Konstantopoulos b0ca6e1de9
Merge branch 'master' into feature/yul_compilation 2022-03-10 20:41:52 +02:00
Johann 08657fd613 Comments to explain things more clearly 2022-03-10 08:05:23 -07:00
dependabot[bot] 37c25df5a5
chore(deps): bump tracing from 0.1.31 to 0.1.32 (#1001)
Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.31 to 0.1.32.
- [Release notes](https://github.com/tokio-rs/tracing/releases)
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.31...tracing-0.1.32)

---
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>
2022-03-10 06:41:10 -08:00
Matthias Seitz b7f278faf4
feat(solc): remapping helper functions (#1003) 2022-03-10 06:40:58 -08:00
Matthias Seitz f55f02476c
fix(solc): respect offline mode (#1002) 2022-03-10 06:40:35 -08:00
Johann 4e07de2c07 Improved test to actually check ABI 2022-03-09 21:22:43 -07:00
Johann 7624520ce9 cleanup 2022-03-09 21:18:33 -07:00
Johann fb44b4aba3 Fixed it 2022-03-09 21:13:41 -07:00
Johann f101066510 Cached Artifacts instead now, ABI seems to be working? Just one minor bug 2022-03-09 17:45:50 -07:00
Matthias Seitz 1ac0b49ac3
feat(solc): add scoped reporter (#1000)
* feat(solc): add scoped reporter

* fix: race in tests
2022-03-09 12:00:16 -08:00
Matthias Seitz 0c42c23746
fix(solc): fix cache and allowed paths bug (#998)
* fix: don't emit on error

* fix: allowed-paths condition

* fix(solc): cache and allowed paths bug
2022-03-09 10:52:40 -08:00
dependabot[bot] cc96245b1d
chore(deps): bump regex from 1.5.4 to 1.5.5 (#997)
Bumps [regex](https://github.com/rust-lang/regex) from 1.5.4 to 1.5.5.
- [Release notes](https://github.com/rust-lang/regex/releases)
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/regex/compare/1.5.4...1.5.5)

---
updated-dependencies:
- dependency-name: regex
  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>
2022-03-09 09:50:09 -08:00
Matthias Seitz e1ec4b5ecd
fix(solc): remove unnecessary indent (#999)
* fix(solc): remove unnecessary indent

* Update ethers-solc/src/resolver/tree.rs

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-03-09 09:44:02 -08:00
Johann c07b048161 Contract is now whole (and compact) again 2022-03-08 18:06:33 -07:00
Johann b052428df9 ABI replacement working? 2022-03-08 17:55:37 -07:00
Johann f7eab52480 Added method to overwrite ABI 2022-03-08 17:50:22 -07:00
0xKitsune 8790bf5fbf Changed typing in the yul_abi_targets data structure to use a contract instead of an abi, then during yul_abi injection, create an artifact from a contract 2022-03-08 19:01:20 -05:00
0xKitsune 9fac73d999 updated yul abi injection. Now able to inject the abi, just need to overwrite the yul_artifact with the newly injected abi 2022-03-08 16:32:23 -05:00
Matthias Seitz fab30887a2
test: add unique flatten test (#995) 2022-03-08 06:46:04 -08:00
0xKitsune 524e0533d8 removed debug comment 2022-03-07 23:18:44 -05:00
0xKitsune 01cbbb48b6 Updated logic to compile contracts with .abi.sol extensions and find the matching .yul contract to inject the abi into the yul artifact. 2022-03-07 23:18:18 -05:00
ControlCplusControlV 99d0dfd785
Create SimpleStore.abi.sol 2022-03-07 21:15:21 -07:00
ControlCplusControlV 457253a46d
Update SimpleStore.yul 2022-03-07 21:13:46 -07:00
AlexK a70729779c ci fix 2022-03-07 20:35:27 +04:00
AlexK 9368924300 lint 2022-03-07 19:55:53 +04:00
AlexK 5d4128a491 test update 2022-03-07 13:14:13 +04:00
AlexK 773f27e296 fmt 2022-03-07 13:09:59 +04:00
AlexK 01500f1e36 cleanup 2022-03-07 13:08:01 +04:00
AlexK 3e314638c3 fixes 2022-03-07 10:46:24 +04:00
AlexK 061695a2ab fix doctest 2022-03-07 10:46:24 +04:00
AlexK 4cb05fd6bb added yul compilation 2022-03-07 10:46:24 +04:00
Matthias Seitz 4f1a2352f7
chore(deps): bump solang (#992) 2022-03-06 07:21:33 -08:00
dependabot[bot] 010217c407
chore(deps): bump once_cell from 1.9.0 to 1.10.0 (#987)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.9.0 to 1.10.0.
- [Release notes](https://github.com/matklad/once_cell/releases)
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md)
- [Commits](https://github.com/matklad/once_cell/compare/v1.9.0...v1.10.0)

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

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-04 05:29:34 -08:00
Georgios Konstantopoulos de275db56a fix: bump solang and adjust breaking change
fixes https://github.com/gakonst/ethers-rs/issues/985
2022-03-03 16:47:09 -08:00
Georgios Konstantopoulos 556367ecbd chore(solc): make on_solc_success a no-op to avoid duplicate logs 2022-03-01 14:24:08 +02:00
Matthias Seitz 601cb1b75e
test(solc): add capture test for curly bracket imports (#956)
* test(solc): add capture test for curly bracket imports

* chore: rustfmt
2022-02-24 18:43:35 +02:00