Commit Graph

1883 Commits

Author SHA1 Message Date
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
James Prestwich cc3156db7a
Workaround for https://github.com/LedgerHQ/app-ethereum/issues/409 (#2192)
* fix: edge cases and workarounds for ledger signer

* feat: add tracing to ledger signer

* chore: Changelog
2023-02-27 13:13:55 -07:00
Georgios Konstantopoulos 9d4b9b5be5 test: disable signer integration tests temporarily 2023-02-27 13:08:39 -07:00
DaniPopes bb63cf1ac3
feat(etherscan): use binaries.soliditylang.org (#2198) 2023-02-27 13:05:32 -07:00
dependabot[bot] 59781a4e62
chore(deps): bump tempfile from 3.3.0 to 3.4.0 (#2200)
Bumps [tempfile](https://github.com/Stebalien/tempfile) from 3.3.0 to 3.4.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases)
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS)
- [Commits](https://github.com/Stebalien/tempfile/commits)

---
updated-dependencies:
- dependency-name: tempfile
  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-02-27 13:03:47 -07:00
dependabot[bot] a48a54c3da
chore(deps): bump auto_impl from 0.5.0 to 1.0.1 (#2201)
Bumps [auto_impl](https://github.com/auto-impl-rs/auto_impl) from 0.5.0 to 1.0.1.
- [Release notes](https://github.com/auto-impl-rs/auto_impl/releases)
- [Commits](https://github.com/auto-impl-rs/auto_impl/compare/v0.5.0...v1.0.1)

---
updated-dependencies:
- dependency-name: auto_impl
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-27 13:03:41 -07:00
dependabot[bot] f577751615
chore(deps): bump syn from 1.0.108 to 1.0.109 (#2202)
Bumps [syn](https://github.com/dtolnay/syn) from 1.0.108 to 1.0.109.
- [Release notes](https://github.com/dtolnay/syn/releases)
- [Commits](https://github.com/dtolnay/syn/compare/1.0.108...1.0.109)

---
updated-dependencies:
- dependency-name: syn
  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-02-27 13:03:34 -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
Georgios Konstantopoulos 620300f357 chore: top-up testnet wallets
stop draining it asshole; we can fix this properly by making
the goerli PK a Github Secret but this will make the experience
for 3rd party contributors worse because they won't be able to run
integration tests
2023-02-24 16:53:22 -08:00
dependabot[bot] 7d54e3099c
chore(deps): bump num_enum from 0.5.10 to 0.5.11 (#2184)
Bumps [num_enum](https://github.com/illicitonion/num_enum) from 0.5.10 to 0.5.11.
- [Release notes](https://github.com/illicitonion/num_enum/releases)
- [Commits](https://github.com/illicitonion/num_enum/compare/0.5.10...0.5.11)

---
updated-dependencies:
- dependency-name: num_enum
  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-02-24 16:45:22 -08:00
Matthias Seitz c2c1d6efa5
chore: bump svm (#2185) 2023-02-24 16:45:17 -08:00
DaniPopes f59153ba66
fix(core): i256 docs (#2187)
* fix(core): i256 docs

* add doc
2023-02-24 16:44:47 -08:00
DaniPopes 7e12f3ba36
feat(core): improve I256 implementation (#2180)
* feat(core): improve I256 implementation

* chore: reorganize impls

* chore: update docs, add attributes, use Self

* fix: signum

* chore: use inline(always), update implementations

* fix: use usize for shifting, add more shift ops

* feat: make arithmetic ops generic to match U256

* chore: clippy

* chore: return
2023-02-23 16:21:41 -08:00
dependabot[bot] 48dc4b1ee2
chore(deps): bump syn from 1.0.107 to 1.0.108 (#2178) 2023-02-23 13:15:40 -08:00
Matthias Seitz c679d402cb
chore: bump svm-rs (#2179) 2023-02-23 12:48:41 -08:00
James Prestwich 2090bf560e
Expose contract revert errors in the ContractError struct (#2172)
* feature: spelunk for revert errors

* feature: bubble up revert to contract error

* feature: bubble up reverts to multicall

* fix: correctly remove signature when deserializing EthErrors

* chore: remove redundant test

* chore: clippy

* fix: allow empty revert string

* docs: add all missing rustdoc for ethers-contract

* chore: rustfmt

* chore: Changelog

* fix: danipope test comment
2023-02-22 14:52:25 -08:00
James Prestwich ee5e3e52c0
fmt: run rustfmt (#2176) 2023-02-21 16:52:20 -08:00
DaniPopes e55b8116f3
feat(contract): improve Multicall result handling (#2164)
* nits

* clippy

* ordering

* move

* chore: edition 2021

* chore: detokenize nit

* feat(contract): improve Multicall result handling

* docs: update CHANGELOG.md

* feat: make fields public

* chore: clippy
2023-02-20 18:50:28 -08:00
DaniPopes 3732de844c
fix(abigen): builtin trait derives (#2170)
* fix(abigen): builtin trait derives

* refactor: EthDisplay

* feat(derive): improve type detection

* chore: cleanup

* chore: edition 2021

* chore: clippy

* chore: use unreachable
2023-02-20 16:27:43 -08:00
Mathis c21362b696
Make order of types in shared_types deterministic (#2169)
* Add missing development dependencies to flake.nix

* Use BTreeMap/Set for deterministic shared types

Fixes an issue where the order of types in the generated shared_types is
not always deterministic.
2023-02-20 16:18:31 -08:00
dependabot[bot] 2f85e73049
chore(deps): bump num_enum from 0.5.9 to 0.5.10 (#2168)
Bumps [num_enum](https://github.com/illicitonion/num_enum) from 0.5.9 to 0.5.10.
- [Release notes](https://github.com/illicitonion/num_enum/releases)
- [Commits](https://github.com/illicitonion/num_enum/compare/0.5.9...0.5.10)

---
updated-dependencies:
- dependency-name: num_enum
  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-02-20 16:17:32 -08:00