Commit Graph

1924 Commits

Author SHA1 Message Date
Jonathan LEI 36dac5864c
fix: broken eip155 logic in aws signer (#2300) 2023-03-24 11:00:01 -07:00
DaniPopes 16f9fab75c
fix: enable doc_cfg feature for docsrs (#2294) 2023-03-22 16:29:10 -07:00
Georgios Konstantopoulos 80ac3947d0 test: ensure multithreaded tokio rt 2023-03-21 15:16:10 -07:00
Georgios Konstantopoulos 797488eedf fix: add missing feature on ethers tests 2023-03-21 14:38:56 -07:00
Georgios Konstantopoulos 89b1b2de78
ci: rm celo integration test, install missing solc version (#2292) 2023-03-21 12:52:17 -07:00
Georgios Konstantopoulos 1936f0ed0d chore: release 2023-03-21 11:45:12 -07:00
Georgios Konstantopoulos 73c7f6cacc
fix: ethers-contract circular dep on ethers-signers (#2291)
* fix: remove dep of contract on signers

* refactor: move ethers/live up a dir

* test: move over eip712 test from ethers-contract

* chore: rm unused vars

* ethers: enable ethers-solc by default

* ci: remove --live from ci tests

* chore: make ethers-solc always part of ethers

* test: ensure rustls is enabled for https

* chore: ignore clippy fp
2023-03-21 11:44:12 -07:00
James Prestwich 080bb2e068
Prestwich/gas escalator dangle (#2284)
* fix: prevent gas escalator dangling tasks

* chore: lockfile

* refactor: avoid holding lock for a long time

* refactor: cleanup

* chore: changelog and docs

* tests: fix test in name

* docs: add a lot of info to the gasescalator docs

* reset changelog as it'll be automatically managed in the future

---------

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-03-21 11:18:41 -07:00
Waylon Jepsen 0356db1fae
Contracts chapter (#2281) 2023-03-21 11:15:41 -07:00
DaniPopes 757314b082
fix(solc): features (#2290)
* fix: solc svm feature

* fix: conditional features
2023-03-21 11:13:50 -07:00
DaniPopes 944ed05556
fix(abigen): handle all struct field types (#2289)
* fix(abigen): handle all struct field types

* typo
2023-03-21 10:38:23 -07:00
DaniPopes f7a066e700
chore: update release process (#2278)
* chore: strip ethers prefix for the ethers-wasm example

* chore: set publish to false and version to 0.0.0 for all example crates

* chore: remove unused release helpers

* chore: move CHANGELOG.md to CHANGELOG-OLD.md

* chore: update lockfile and wasm renames

* chore: renames

* chore: use git-cliff for generating CHANGELOG.md

* chore: renames

* chore: update release.toml

* chore: move examples script

mv \
scripts/examples.sh \
bin/run_all_examples

* chore: add release script

* fix: update release script and document

* fix: mv

* docs: remove 'update changelog' in PR template
2023-03-20 21:21:04 -07:00
Georgios Konstantopoulos 5879a84667 Revert "chore: remove redundant clone"
this was stupid

This reverts commit 771326e703.
2023-03-20 21:07:32 -07:00
Georgios Konstantopoulos 771326e703 chore: remove redundant clone 2023-03-20 20:09:34 -07:00
Justin Phu 89cf65f963
fix(core): re-export CallLogFrame from geth types (#2283)
* fix(core): re-export CallLogFrame from geth types

The CallLogFrame was not being exported from geth which made it
difficult to store all the logs using the ethers type.

* fix(core): correct the visibility of the geth CallLogFrame struct

The previous diff made the struct public but did not change the fields
itself. The struct being public is not useful unless the fields are
public.
2023-03-20 20:01:48 -07:00
Matthias Seitz 279280c6fd
feat(solc): improve error diagnostic (#2280) 2023-03-19 11:45:30 -07:00
DaniPopes d5831b2679
chore: bump MSRV from 1.64 to 1.65 (#2277) 2023-03-17 11:34:21 -07:00
DaniPopes ef7fb0fecf
fix: feature resolution (#2274)
* fix: feature resolution

* docs: add comment explaining resolver
2023-03-17 11:34:00 -07:00
Igor Żuk 1dc5d403f4
fix: use to_string in mainnet chain variant (#2275)
* fix: use to_string in mainnet chain variant

* Add test for chain serde and to_string matching
2023-03-17 11:28:05 -07:00
Igor Żuk 18d40425ec
fix: accept ethlive as a chain name (#2268)
* fix: accept ethlive as a chain name

* Fix mainnet chain formatting

* Drop unnecessary chain formatting tests

---------

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-03-16 13:37:27 -07:00
DaniPopes 404422e883
feat(core): roundtrip serde + to/from strings (#2270)
* feat(core): roundtrip serde + to/from strings

* docs: update CHANGELOG.md
2023-03-16 13:28:40 -07:00
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 4e6dfe2414
fix(abigen): fix missing ident # (#2267) 2023-03-16 12:00:39 -07:00
Matthias Seitz 304fe0988d
chore(clippy): make clippy happy (#2264)
* chore(clippy): make clippy happy

* chore: silence clippy fp

---------

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-03-15 16:12:34 -07:00
Matthias Seitz 72be3376e2
feat(abigen): support empty events (#2263) 2023-03-15 16:12:12 -07:00
Georgios Konstantopoulos 18a049b4c4
chore: bump crypto deps (#2260)
* chore(core): bump k256

* fix: use correct recovery api

* fix(signers): use correct apis

* chore(signers): bump elliptic curve

* feat: use PreHashSigner

* feat: bump yubihsm and adjust for breakages

* chore: clippy
2023-03-14 23:13:46 -07:00
Georgios Konstantopoulos 516dfcfd2a chore: fix fmt from master 2023-03-14 23:13:35 -07:00
Georgios Konstantopoulos 8c5c248491
chore: allow clippy false positive (#2259)
otherwise filter wont live long enough
2023-03-13 14:00:44 -07:00
dependabot[bot] 6ba8dd72e7
chore(deps): bump enr from 0.7.0 to 0.8.0 (#2255)
Bumps [enr](https://github.com/sigp/enr) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/sigp/enr/releases)
- [Commits](https://github.com/sigp/enr/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: enr
  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>
2023-03-13 12:58:59 -07:00
dependabot[bot] 23dde68159
chore(deps): bump futures-executor from 0.3.26 to 0.3.27 (#2250)
Bumps [futures-executor](https://github.com/rust-lang/futures-rs) from 0.3.26 to 0.3.27.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.26...0.3.27)

---
updated-dependencies:
- dependency-name: futures-executor
  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>
2023-03-13 12:49:39 -07:00
DaniPopes c9a7b4acaf
refactor(abigen): keep and use parsed spans (#2247)
* order

* refactor(abigen): keep and use spans

* chore: use getters instead of making fields public

* fix: tests

* docs: update abigen documentation

* chore: clippy
2023-03-13 12:49:32 -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
Matthias Seitz 862d923f2a
fix(etherscan): support null result (#2249) 2023-03-13 12:43:17 -07:00
dependabot[bot] 7ae2ed12bf
chore(deps): bump semver from 1.0.16 to 1.0.17 (#2251)
Bumps [semver](https://github.com/dtolnay/semver) from 1.0.16 to 1.0.17.
- [Release notes](https://github.com/dtolnay/semver/releases)
- [Commits](https://github.com/dtolnay/semver/compare/1.0.16...1.0.17)

---
updated-dependencies:
- dependency-name: semver
  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>
2023-03-13 12:42:59 -07:00
dependabot[bot] 6c7e7ff516
chore(deps): bump proc-macro2 from 1.0.51 to 1.0.52 (#2252)
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.51 to 1.0.52.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases)
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.51...1.0.52)

---
updated-dependencies:
- dependency-name: proc-macro2
  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>
2023-03-13 12:42:50 -07:00
dependabot[bot] 24d5d3cbbb
chore(deps): bump futures-util from 0.3.26 to 0.3.27 (#2253)
Bumps [futures-util](https://github.com/rust-lang/futures-rs) from 0.3.26 to 0.3.27.
- [Release notes](https://github.com/rust-lang/futures-rs/releases)
- [Changelog](https://github.com/rust-lang/futures-rs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rust-lang/futures-rs/compare/0.3.26...0.3.27)

---
updated-dependencies:
- dependency-name: futures-util
  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>
2023-03-13 12:42:41 -07:00
dependabot[bot] bfe6abcb65
chore(deps): bump chrono from 0.4.23 to 0.4.24 (#2254)
Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.23 to 0.4.24.
- [Release notes](https://github.com/chronotope/chrono/releases)
- [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md)
- [Commits](https://github.com/chronotope/chrono/compare/v0.4.23...v0.4.24)

---
updated-dependencies:
- dependency-name: chrono
  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>
2023-03-13 12:42:34 -07:00
StackOverflowExcept1on 11287f4941
bump coins-bip39 to 0.8.1 and coins-bip32 to 0.8.0 (#2246) 2023-03-13 12:42:25 -07:00
Matthias Seitz fcc9a48089
fix(solc): ensure flatten target is part of graph (#2256) 2023-03-13 12:41:20 -07:00
Georgios Konstantopoulos 941d3908d9 (cargo-release) version 2.0.0 2023-03-13 12:38:25 -07:00
dependabot[bot] 2cead3e111
chore(deps): bump rayon from 1.6.1 to 1.7.0 (#2233)
Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.6.1 to 1.7.0.
- [Release notes](https://github.com/rayon-rs/rayon/releases)
- [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md)
- [Commits](https://github.com/rayon-rs/rayon/compare/rayon-core-v1.6.1...rayon-core-v1.7.0)

---
updated-dependencies:
- dependency-name: rayon
  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>
2023-03-09 14:24:31 -08:00
dependabot[bot] 1daf634e13
chore(deps): bump serde_path_to_error from 0.1.9 to 0.1.10 (#2232)
Bumps [serde_path_to_error](https://github.com/dtolnay/path-to-error) from 0.1.9 to 0.1.10.
- [Release notes](https://github.com/dtolnay/path-to-error/releases)
- [Commits](https://github.com/dtolnay/path-to-error/compare/0.1.9...0.1.10)

---
updated-dependencies:
- dependency-name: serde_path_to_error
  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>
2023-03-09 14:24:26 -08:00
dependabot[bot] 706186ef7c
chore(deps): bump thiserror from 1.0.38 to 1.0.39 (#2234)
Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.38 to 1.0.39.
- [Release notes](https://github.com/dtolnay/thiserror/releases)
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.38...1.0.39)

---
updated-dependencies:
- dependency-name: thiserror
  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>
2023-03-09 13:59:48 -08:00
DaniPopes 4f362a7dd8
feat(core): add implementations to Opcode (#2243)
* chore: mv ..

* feat(core): add implementations to Opcode

* docs: update swapN docs

* test: disable PUSH0 testcase

* update test
2023-03-09 13:59:28 -08:00
Matthias Seitz 49dccf9d89
fix: dont poll stream again if done (#2245) 2023-03-09 13:59:13 -08:00
DaniPopes ce26dfc0d6
feat: add Boba chain (#2236)
* fix: etherscan url order

* feat: add Boba chain
2023-03-09 13:58:15 -08:00
DaniPopes f9086e703c
fix: docsrs builds final (#2235)
* fix

* fix: middleware

* fix: update rustc flags

* docs: add comment
2023-03-08 14:58:44 -08:00
harpocryptes 72428503cf
i256: Fix logical errors in doc comments for is_negative and is_zero (#2218) 2023-03-05 12:19:12 -08:00
Matthias Seitz 89b23647f1
chore(ws): add some docs and impl debug (#2219) 2023-03-05 12:17:43 -08:00
Matthias Seitz a4f1a7bb3d
test: simplify test cleanup (#2220) 2023-03-05 12:17:25 -08:00