Commit Graph

1903 Commits

Author SHA1 Message Date
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
DaniPopes 86a9e7c3af
fix: docs.rs build (#2221)
* fix: docs.rs build

* fix: test
2023-03-05 12:16:40 -08:00
Roman Krasiuk 69eb21da67
fix(ci): change windows target ABI (#2230)
* fix(ci): change windows target ABI

* fix(ci): change windows target ABI
2023-03-05 12:15:59 -08:00
Roman Krasiuk 445f3b375b
dep(solc): solang-parser 0.2.3 (#2229) 2023-03-05 11:43:32 -08:00
James Prestwich e54666b467
fix: init guard in noncemanager (#2227) 2023-03-04 18:37:50 -07:00
James Prestwich 1c90e1b76a
fix: parse_log in public interface (#2228) 2023-03-04 14:55:41 -07:00
James Prestwich 73636a906e
RRR: Reconnection & Request Reissuance (#2181)
* wip: ws2

* ws2 backend compiles

* refactor: rename PubSubItem and BackendDriver

* feature: dispatch request to end subscription

* refactor: move ws2 to ws, fix reconnection and deser on subs

* chore: improve use of tracing in manager

* refactor: feature legacy_ws to enable backwards compatibility

* nit: mod file ordering

* docs: copy PR description to ws structs

* fixes: remove unused macros file, remove err formats

* docs: add comments to struct fields

* docs: comment client struct fields

* chore: changelog

* fix: unused imports in ws_errors test

* docs: missing comment

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

* fix: legacy-ws feature in root crate, hyphen not underscore

* fix: a couple bad imports/exports

---------

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-02-28 18:25:59 -07:00
DaniPopes 20375e291b
fix(deps): allow MIT-0, allow CC0-1.0 exceptions (#2212)
* fix(deps): allow MIT-0, allow CC0-1.0 exceptions

* ci: do not fail fast on deny
2023-02-28 18:25:43 -07:00
DaniPopes fbf8acb6a5
fix: udeps (#2215) 2023-02-28 18:25:25 -07:00
DaniPopes da743fc8b2
ci/test: improve CI jobs and tests (#2189)
* ci: move to scripts directory

* nits

* ci: improve main CI jobs

* fix: install script

* fix

* fix: use curl for windows installation

* fix: wasm typo

* tests: move to single binary

* chore: clippy

* chore: clippy

* chore: clippy

* fix: test command

* fix: quote tests

* update script

* fix: action exclude

* fix: dev deps

* fix: only run wasm in own job

* ci: add aarch64 targets

* test: rm useless test

* ci: update security audit

* ci: add deny CI

* chore: rm unused audit.toml

* chore: update geth.rs

* ci: remove unusable targets

* fix: install script path

* fix: wasm

* improve script

* fix: failing ci

* fix: contract tests

* ci: improve install script

* update middleware tests

* move integration etherscan tests to tests/ dir

* fix: eip2930 access_list field name

* add pendingtransaction must_use

* add random anvil comment

* ci: add miri job

* ci: simplify

* fixci

* Revert "add pendingtransaction must_use"

This reverts commit 770b21b4a3.

* fix: macos script

* fix: use curl in script

* unused ci

* update script

* fix wasm

* rm_miri

* fix: signer test

* fix: wasm ci

* fix: ipc test

* fix: live celo tests

* fix: abi online source test

* fix: windows paths in test

* chore: update serial_test

* ci: run live tests separately

* fix: provider tests

* fix: unused var

* fix: feature

* fix merge

* fix: etherscan key tests

* ci: rm duplicate audit

* fix: split etherscan test ci

* fix: etherscan test

* fix: generate multiple unused ports

* fix: source test

* fix: udeps

* rm unused
2023-02-28 17:26:27 -07:00
OliverNChalk 34775178f9
feat: deseralize other fields on tx receipts (#2209) 2023-02-28 17:22:39 -07:00
Dan Cline 9c09c2d98b
fix(core): set miner.etherbase in clique mode (#2210)
* fix(core): set miner.etherbase in clique mode

 * https://github.com/ethereum/go-ethereum/pull/26413 caused the default
   clique configuration for the GethInstance to fail to start, because
   we did not pass a `miner.etherbase` flag on startup
 * adds a `miner.etherbase` flag with the clique signer address as the
   argument

* use format str instead of to_string

* add comment on Debug

* update is_clique comment for miner.etherbase

* fix first etherbase flag

* cargo fmt
2023-02-28 17:21:44 -07:00
James Prestwich ded611e714
feature: contract revert trait (#2182)
* feature: contract revert trait

* fix: proper link to abigen in docs

* fix: don't borrow Bytes, better valid_slector

* fix: mattsse's nits

* opt: hardcode selector for Error(string)

* fix: add docstring to RevertString

* docs: enhance docs on ContractRevert

* chore: add doc on decoding error reverts as strings

* docs: more docstring on ContractRevert

* fix: fix try_into invocation

---------

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-02-28 00:59:32 -07:00
DaniPopes 9e443fc216
fix: examples (#2207)
* fix: examples

* fix: subscribe instead of watch
2023-02-27 18:59:05 -07:00
Amean Asad 47b56a65b1
feat: add filecoin chains (#2177)
* feat: add filecoin chains

* formatting

* fix: add missing match

---------

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-02-27 16:00:04 -07:00
Dan Cline 537d0a9deb
fix(core): properly parse genesis alloc storage (#2205)
* fix(core): properly parse genesis alloc storage

 * Previously we were not properly parsing the storage field of
   GenesisAlloc. The first issue was in using serde(flatten), which is
   just incorrect because storage is not encoded flattened. The second
   issue was in the parsing of H256 keys and values. Some of the storage
   values in hive genesis examples were encoded in less than 64 hex
   characters, such as the string `0x12`. This would not succeed normal
   H256 parsing.
 * Introduce from_unformatted_hex_map to properly deserialize the
   storage map.
 * Modify existing genesis parsing tests to check parsed storage and
   code values against expected values.
 * Introduce new genesis parsing test from the hive smoke tests,
   checking full struct equality.

* remove unused from_unformatted hex

* make clippy happy
2023-02-27 15:22:01 -07:00
DaniPopes 319b86a643
chore: replace rpc urls with generic ones (#2199) 2023-02-27 15:16:33 -07:00
Matthias Seitz 5d15031b38
ci: build without deps (#2196)
* ci: build without deps

* warn broken doc links

---------

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2023-02-27 13:25:07 -07:00
Matthias Seitz f1a8a216a5
feat(solc): add is_empty fn for structs of Options (#2195) 2023-02-27 13:24:48 -07:00
Matthias Seitz 936fbcd287
test: add parse pk test (#2194) 2023-02-27 13:20:41 -07:00
Marius Kjærstad 028d2196cd
http:// to https:// on Celo link (#2193)
http:// to https:// on Celo link in README.md
2023-02-27 13:20:04 -07:00
DaniPopes 1861b98896
chore: move etherscan api key env var matching to Chain enum (#2204)
* fix: mainnet, optimism blocktimes

* chore: move etherscan api key env var matching to Chain enum

* docs: missing exhaustiveness comment
2023-02-27 13:14:36 -07:00