Commit Graph

95 Commits

Author SHA1 Message Date
Georgios Konstantopoulos 87b10bdf24 Revert "chore: disable dev deps for release"
This reverts commit d8a1be6fb1.
2022-10-25 11:12:50 -07:00
Georgios Konstantopoulos d8a1be6fb1 chore: disable dev deps for release 2022-10-25 11:04:28 -07:00
Georgios Konstantopoulos 1e4e4353f8 (cargo-release) version 1.0.0 2022-10-25 11:03:01 -07:00
Georgios Konstantopoulos 237accb957 (cargo-release) version 1.0.0 2022-10-25 11:03:01 -07:00
Georgios Konstantopoulos de02d08ff7 (cargo-release) version 1.0.0 2022-10-25 11:03:01 -07:00
Georgios Konstantopoulos 9ec8d9cdad (cargo-release) version 1.0.0 2022-10-25 11:03:00 -07:00
Georgios Konstantopoulos ab24c5558a (cargo-release) version 1.0.0 2022-10-25 11:03:00 -07:00
Georgios Konstantopoulos e34c487a85 (cargo-release) version 1.0.0 2022-10-25 11:03:00 -07:00
Georgios Konstantopoulos aac5fab028 (cargo-release) version 1.0.0 2022-10-25 11:03:00 -07:00
Georgios Konstantopoulos 266a40e2bc (cargo-release) version 1.0.0 2022-10-25 11:02:59 -07:00
Georgios Konstantopoulos 79024ebbe9 (cargo-release) version 1.0.0 2022-10-25 11:02:59 -07:00
DaniPopes 5c762c44d7
fmt: all (#1751)
* fmt: all

* fmt: eol
2022-09-28 11:58:26 -07:00
DaniPopes 3926749213
docs: add MSRV (#1712) 2022-09-18 08:45:45 -07:00
DaniPopes c341f31fc4
chore: add abigen to default features (#1684)
* chore: add abigen to default features

* docs: update CHANGELOG.md
2022-09-09 16:19:29 -07:00
dependabot[bot] 140b90d9b4
chore(deps): bump bytes from 1.2.0 to 1.2.1 (#1542)
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/commits)

---
updated-dependencies:
- dependency-name: bytes
  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-07-31 21:14:44 -07:00
Matthias Seitz 1f69ec7679
revert: add back dev-deps (#1532)
* Revert "disable dev deps"

This reverts commit 97bdcb9d82.

* fix: add back removed dev-deps
2022-07-28 17:36:22 -07:00
Georgios Konstantopoulos c7eefc6058 (cargo-release) version 0.17.0 2022-07-28 10:58:51 -07:00
Georgios Konstantopoulos 0298f2a5b9 (cargo-release) version 0.17.0 2022-07-28 10:58:51 -07:00
Georgios Konstantopoulos c35f673dc5 (cargo-release) version 0.17.0 2022-07-28 10:58:51 -07:00
Georgios Konstantopoulos 2ef60411ea (cargo-release) version 0.17.0 2022-07-28 10:58:50 -07:00
Georgios Konstantopoulos 73e8d85d74 (cargo-release) version 0.17.0 2022-07-28 10:58:50 -07:00
Georgios Konstantopoulos 6f22e67044 (cargo-release) version 0.17.0 2022-07-28 10:58:50 -07:00
Georgios Konstantopoulos 3fce0cca25 (cargo-release) version 0.17.0 2022-07-28 10:58:50 -07:00
Georgios Konstantopoulos a5b91a0f74 (cargo-release) version 0.17.0 2022-07-28 10:58:49 -07:00
Georgios Konstantopoulos de2ed3391d (cargo-release) version 0.17.0 2022-07-28 10:58:49 -07:00
Georgios Konstantopoulos 97bdcb9d82 disable dev deps 2022-07-28 10:57:38 -07:00
dependabot[bot] 9e586cd9f6
chore(deps): bump bytes from 1.1.0 to 1.2.0 (#1488)
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.1.0 to 1.2.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.1.0...v1.2.0)

---
updated-dependencies:
- dependency-name: bytes
  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-07-20 00:08:00 -07:00
Matthias Seitz fb3fb161c0
chore: make ethers-solc optional (#1463)
* chore: make ethers-solc optional

* chore: update CHANGELOG

* add missing requirement

* add abigen req
2022-07-06 14:11:56 -07:00
Georgios Konstantopoulos 09057c250e (cargo-release) version 0.13.0 2022-06-14 13:59:12 +03:00
Georgios Konstantopoulos 5e0f38ae40 (cargo-release) version 0.13.0 2022-06-14 13:59:12 +03:00
Georgios Konstantopoulos 83affb4c9c (cargo-release) version 0.13.0 2022-06-14 13:59:12 +03:00
Georgios Konstantopoulos ed6c3f8413 (cargo-release) version 0.13.0 2022-06-14 13:59:11 +03:00
Georgios Konstantopoulos 54b81e6b7f (cargo-release) version 0.13.0 2022-06-14 13:59:11 +03:00
Georgios Konstantopoulos 89f86d801e (cargo-release) version 0.13.0 2022-06-14 13:59:11 +03:00
Georgios Konstantopoulos fdccd80551 (cargo-release) version 0.13.0 2022-06-14 13:59:11 +03:00
Georgios Konstantopoulos 04d2ab6056 (cargo-release) version 0.13.0 2022-06-14 13:59:10 +03:00
Georgios Konstantopoulos 4791bb6a07 (cargo-release) version 0.13.0 2022-06-14 13:59:10 +03:00
Matthias Seitz 89bc6420bb
test: replace ganache with anvil (#1286)
* ci: install anvil

* test: use anvil instead of ganache

* ci: fix anvil ver

* ci: re-enable example tests

* test: remove unnecessary assertions

* test: enable anvil launch test

* docs: typo

* test: fix anvil chain id

* ci: install ganache

Ganache is needed for the Ganache tests

* chore: remove legacy feature from some examples

* ci: correctly build examples

* test: use correct account balance for anvil

* chore: remove sub_id == 1 check

this was only possible in ganache because it gives serial
sub ids, but in every other reasonable client the ids are generated
randomly, so we cannot test for its value

* test: ensure txs are different

There is a bug in Ganache's mempool which accepts duplicate transactions (here with the same nonce), whereas here we pre-set all the nonces so that they end up having a different transaction hash.

* test: ignore ganache tests

* fix: terzor api changes

* ci(examples): install Anvil, remove geth/ganache

* test(provider): Anvil instead of Geth

some tests start to fail now

* fix: revert usage of Anvil in ipc tests

Anvil does not support IPC yet

* fix: update examples script

* ci: use anvil for wasm example

* replace last ganache usage

Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-06-01 08:22:39 -07:00
Matthias Seitz d2c46867c1
chore(deps): make tokio required dependency (#1322)
* chore(deps): make tokio non optional

* chore(deps): bump tokio 0.18

* Update ethers-providers/Cargo.toml

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-05-28 17:54:45 -07:00
Meet Mangukiya 6d5bebd860
Release process and CI (#1240)
* Fix the crate versions

* release.toml: add cargo-release config

* CONTRIBUTING.md: Update Releasing section

* feat: add release github workflow

* feat: generate CHANGELOGs and create github releases in CI
2022-05-13 13:10:05 -07:00
Matthias Seitz 3edbcc1967
chore: add examples with required features (#1109) 2022-04-04 15:33:06 -07:00
Georgios Konstantopoulos 3244364060 chore: do not pin eyre patch version 2022-03-17 14:10:31 +02:00
dependabot[bot] 747011295f
chore(deps): bump eyre from 0.6.6 to 0.6.7 (#973)
Bumps [eyre](https://github.com/yaahc/eyre) from 0.6.6 to 0.6.7.
- [Release notes](https://github.com/yaahc/eyre/releases)
- [Changelog](https://github.com/yaahc/eyre/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yaahc/eyre/compare/v0.6.6...v0.6.7)

---
updated-dependencies:
- dependency-name: eyre
  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-02-28 09:29:48 +02:00
Matthias Seitz 19d2fd1155
feat(solc): add configurable Artifact type (#907)
* refactor: make artifacts a sub mod

* feat: more options for output selection

* feat(solc): make ArtifactOutput struct functions

* fix: migrate all features

* feat: add configurable artifacts type

* refactor: move configurable to separate file

* feat: impl ArtifactOutput

* refactor: write extras

* simplify write extra

* feat: more helper functions

* feat: implement delegate

* fix: failing doc test

* fix: rustfmt

* chore: update CHANGELOG

* feat: add helper functions

* refactor: remove flatten

* feat: add link function

* feat: replace default type

* fix: doc tests

* feat: more utility functions

* fix: failing tests

* chore: rename types

* chore: bump ethers-solc 0.3.0

* fix: set metadata file extension properly
2022-02-17 17:31:35 +02:00
dependabot[bot] cd24022515
chore(deps): bump rand from 0.8.4 to 0.8.5 (#914)
Bumps [rand](https://github.com/rust-random/rand) from 0.8.4 to 0.8.5.
- [Release notes](https://github.com/rust-random/rand/releases)
- [Changelog](https://github.com/rust-random/rand/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-random/rand/compare/0.8.4...0.8.5)

---
updated-dependencies:
- dependency-name: rand
  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-02-15 22:32:38 +02:00
Matthias Seitz b295d73c4a
refactor(solc): rewrite compiler passes and cache change detection (#802)
* chore: clippy

* refactor: rewrite compiler passes and cache

* feat: more work on compile pipeline

* feat: add cache constructor

* add artifact filtering

* fine tune api

* feat: prepare version integration

* docs: more docs

* feat: add cacheentry2

* replace cacheentry types

* integrate new api

* docs: more docs

* feat: implement new output handler

* feat: integrate cached files in new compile pipeline

* refactor: more cache refactor

* docs: more docs

* feat: add source name mapping

* feat: implement new parallel solc

* refactor: do a little cleanup

* refactor: even more cleanup

* even more cleanup

* chore: make it compile

* chore: make it compile with all features

* chore: clippy fix

* feat: integrate new compiler pipeline

* docs: more docs

* refactor: move stuff around

* refactor: start deprecating output type

* chore: make it compile again

* chore(deps): bump solc version 0.2.0

* feat: unify output types

* cargo fix

* refactor: add contracts wrapper

* chore: replace ProjectCompileOutput

* docs: add more docs

* feat: add offline mode

* feat: more artifact helpers

* chore: cleanup cache

* chore: streamline types

* fix: better artifacts mapping

* chore: some cleanup

* chore: change artifact

* chore: add configure solc fn

* feat: add artifact reading

* feat: implement retain and extend

* feat: add cache extending

* feat: write to disk

* chore: make clippy happy

* feat: implement path mapping

* chore: nits

* feat: introduce states

* feat: add compiler state machine

* chore: move cache types to cache mod

* chore: make clippy happy

* feat: add debug derives

* fix: use resolved import source unit names

* fix: failing tests

* test: test multiple libs properly

* chore: make clippy happy

* chore: update CHANGELOG

* fix: doc tests

* fix: set offline mode correctly

* chore: make it compile again

* Update ethers-solc/src/artifacts.rs

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>

* feat: find remappings by default

* typos

* add eth_syncing RPC (#848)

* add eth_syncing RPC

* Changelo updated

* small comments

* Intermediate SyncingStatus

* fix(core): adjust Ganache for new cli output (#851)

* fix: review comments

* fix: cache relative path bug

* chore: add cache example

* chore: use absolute paths

* fix: remove overwritten files from cache

* fix: rustfmt

* chore: more helper functions

* chore: export AggregatedOutput

* feat: implement helper functions

* feat: even more helpers

* fix: failing doc tests

* refactor: remove source name map tracking

* fix: determine artifacts in ephemeral mode

* refactor: allowed paths should not fail

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
Co-authored-by: rakita <rakita@users.noreply.github.com>
Co-authored-by: wolflo <33909953+wolflo@users.noreply.github.com>
2022-02-04 18:20:24 +02:00
James Prestwich 99230afd32
dep: replace anyhow with eyre in examples (#859) 2022-02-03 22:36:05 +02:00
Rohit Narurkar 2d05ea6234
ethers-addressbook crate (#769)
* feat: macro and token (simplest form)

* fix: better structure to fetch token by string symbol

* chore: add tokenlist to prelude

* fix: from current dir

* fix: dir refactoring

* fix: clippy

* chore: refactor tokenlist to addressbook
2022-01-07 12:12:21 +02:00
Georgios Konstantopoulos ef13818e82 chore: disable auto-enabling of asm 2021-12-19 22:19:04 +02:00
Georgios Konstantopoulos 9c11f6cb7b
fix(ethers): auto-enable asm when supported (x86/x64 and not msvc) (#710) 2021-12-19 18:02:22 +02:00