Commit Graph

1708 Commits

Author SHA1 Message Date
Rohit Narurkar ced039d919
chore: bump eth-keystore (#1643) 2022-08-30 09:45:52 -07:00
Danilo Tuler ea8bcd11be
feat: add support for Optimism Goerli (#1641) 2022-08-30 09:45:43 -07:00
Matthias Seitz 792d415845
fix: set chain id explicitly (#1647) 2022-08-30 09:45:36 -07:00
Matthias Seitz 6e6d827f1f
test: add large tuple test (#1642) 2022-08-29 17:03:12 -07:00
DaniPopes edc00054b1
feat(contract): update Multicall to Multicall3 (#1584)
* chore: update multicall_contract binding

* feat: update multicall_contract.rs to Multicall3

* fix multicall_contract.rs exports

* update test Multicall.sol contract

* feat: update Multicall to Multicall3

* update exports

* update tests

* perf: use aggregate3 when no value is being sent

* feat: handle revert data

* test: add multicall v2 and v3 tests

* fix: clippy

* docs: add documentation, improve comments

* docs: add more documentation

* fix: solidity minimum version for Multicall.sol

* fix: multicall_contract.rs imports

* docs: add explanation for previous commit

* docs

* docs

* fix: remove unused re-export, feature gate Multicall

* fix: address review

* chore: improve error handling

* chore: export MulticallError

* docs
2022-08-28 12:18:58 -07:00
Matthias Seitz 0b04ffe787
feat: add uint8 type (#1639)
* feat: add uint8 type

* update changelog

* derive default

* fix: failing test
2022-08-28 12:17:48 -07:00
Marcelo Fornet 6c017990a1
nit: Explicitly handle all chains on match (#1635) 2022-08-25 09:09:45 -07:00
Alexey Shekhirin f3da435081
feat(core): more derives for geth trace structs (#1637)
* feat(core): more derives for geth trace structs

* derive Eq as well
2022-08-25 09:08:48 -07:00
Jacob b71e6ad00b
ethers-etherscan: derive debug, clone and copy (#1634)
* ethers-etherscan: derive debug, clone and copy

Derive Debug, Clone and Copy on all appropriate Structs and Enums.

* Update changelog
2022-08-24 12:50:29 -07:00
Clifton King b1124441ec
feat(abigen): descriptive deserialization errors (#1633)
* feat(abigen): descriptive deserialization errors

* update changelog

* map_err -> wrap_err
2022-08-23 17:54:56 -07:00
Jacob ff66008cbe
Fix 'get_transactions' response. (#1632)
* Fix 'get_transactions' response.

* Add some explanation to GenesisOption.

* One-line-ifying

* Update changelog
2022-08-23 09:17:00 -07:00
Matthias Seitz b302ac05be
fix: dont skip null to field (#1631) 2022-08-23 09:15:29 -07:00
Georgios Konstantopoulos c8e9d46cfa chore: fmt 2022-08-22 16:33:00 -07:00
Mattie Conover 8218c96205
fix(providers): QuorumProvider zero-parameter json Value handling (#1613)
* Correction to QuorumProvider json Value handling with zero-parameter cases

* Update to properly pass through when no parameters are specified
2022-08-22 16:32:47 -07:00
Matthias Seitz 10f74f818a
fix: handle provider error correctly (#1630)
* fix: handle provider error correctly

* chore(clippy): make clippy happy

* chore: rustfmt

* convert http error
2022-08-22 13:47:43 -07:00
Alexey Shekhirin 7c26550064
fix(core): clarify Geth trace structs (#1626)
* fix(core): clarify Geth trace structs

* add geth references

* add fields matching to geth
2022-08-22 09:48:02 -07:00
Matthias Seitz 98174863c9
feat: support retrying connection errors (#1629) 2022-08-22 09:47:26 -07:00
Rohit Narurkar 71b4893a3d
chore: update svm (#1627) 2022-08-22 08:53:06 +02:00
Remco Bloemen 49b4ac7acb
More gas oracles (#1251)
* Deriver auto_impls for GasOracle

* Provider as GasOracle

* impl fill_transaction in GasOracleMiddleware
2022-08-20 16:04:08 -07:00
Matthias Seitz 0707270a05
fix(solc): consider case sensitive conflicting artifact paths (#1625)
* fix(solc): consider case sensitive conflicting artifact paths

* chore: fmt

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-08-20 15:35:56 -07:00
Matthias Seitz da8c70ab7f
chore: add some traces (#1622)
* chore: add some traces

* Update ethers-providers/src/transports/ws.rs

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-08-20 15:32:10 -07:00
Matthias Seitz 8abb9d86e2
fix: extend eth_syncing response type and serde (#1624) 2022-08-20 15:30:53 -07:00
Matthias Seitz ff754263a3
fix(solc): use cache context when determining artifact files (#1621)
* fix(solc): use cache context when determining artifact files

* update  changelog
2022-08-19 14:33:28 -07:00
Nicolas Gotchac 68fba606c2
Don't auto-generate an AccessList when sending/filling a tx (#1619)
Add an optionnal `block` parameter to the gas estimation method
2022-08-19 14:33:12 -07:00
Matthias Seitz 6f1d47f3aa
chore(solc): improve file not found error (#1611) 2022-08-19 08:36:51 -07:00
Matthias Seitz 4f6ccf70b3
feat: add events function to set multiple event filter (#1607) 2022-08-19 08:20:44 -07:00
Matthias Seitz 3681099af3
fix: support formatting large units (#1608) 2022-08-19 08:19:16 -07:00
Matthias Seitz 2083841200
chore: make proof response fields pub (#1612) 2022-08-19 08:18:48 -07:00
Remco Bloemen afb6808ddb
Export LogQueryError (#1615) 2022-08-19 08:18:26 -07:00
Matthias Seitz c51dcffec6
test: comment out etherscan abigen! test (#1616) 2022-08-19 08:18:03 -07:00
Bjerg 92b51b6d9f
fix: sanitize absolute paths from etherscan (#1603) 2022-08-17 14:15:00 -07:00
Nicolas Gotchac 1bb8fae4c1
fix(ethers-core): Deserialize a Filter request with `topics == null` (#1604)
* fix(ethers-core): Deserialize a Filter request with `topics == null`

* Update ethers-core/src/types/filter.rs

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2022-08-17 14:14:42 -07:00
dependabot[bot] 4655c44481
chore(deps): bump once_cell from 1.13.0 to 1.13.1 (#1606)
Bumps [once_cell](https://github.com/matklad/once_cell) from 1.13.0 to 1.13.1.
- [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.13.0...v1.13.1)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-17 14:13:59 -07:00
joshieDo d22ab5de0a
fix(providers): validate address resolver (#1605)
* validate address resolver

* use Selector type instead

* specify which ens_name on resolver error

* pad supportsInterface argument
2022-08-17 14:13:51 -07:00
Alexey Shekhirin ffcf10d6b3
chore: bump ethabi (#1601) 2022-08-15 15:57:24 -07:00
dependabot[bot] 2e9ee95b72
chore(deps): bump k256 from 0.11.3 to 0.11.4 (#1599)
Bumps [k256](https://github.com/RustCrypto/elliptic-curves) from 0.11.3 to 0.11.4.
- [Release notes](https://github.com/RustCrypto/elliptic-curves/releases)
- [Commits](https://github.com/RustCrypto/elliptic-curves/compare/k256/v0.11.3...k256/v0.11.4)

---
updated-dependencies:
- dependency-name: k256
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 10:34:12 -07:00
dependabot[bot] 850e3d2ad1
chore(deps): bump futures-util from 0.3.21 to 0.3.23 (#1598)
Bumps [futures-util](https://github.com/rust-lang/futures-rs) from 0.3.21 to 0.3.23.
- [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.21...0.3.23)

---
updated-dependencies:
- dependency-name: futures-util
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 10:34:05 -07:00
dependabot[bot] 8351fa48ff
chore(deps): bump futures-executor from 0.3.21 to 0.3.23 (#1597)
Bumps [futures-executor](https://github.com/rust-lang/futures-rs) from 0.3.21 to 0.3.23.
- [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.21...0.3.23)

---
updated-dependencies:
- dependency-name: futures-executor
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-15 10:33:54 -07:00
Matthias Seitz 1af17deeb5
feat(etherscan): add invalid api key error type (#1600) 2022-08-15 10:30:30 -07:00
Matthias Seitz bda5a7657f
fix(solc): ensure base-path is not include-path (#1596) 2022-08-13 16:12:30 -07:00
Matthias Seitz ad256997d6
chore(solc): improve io error for bad symlinks (#1594) 2022-08-13 14:03:48 -07:00
Matthias Seitz 608fd841c5
chore(clippy): make clippy happy (#1595) 2022-08-13 14:03:23 -07:00
Matthias Seitz 2c33acb3ad
feat(solc): resolve absolute imports in libraries (#1590)
* feat(solc): resolve absolute imports in libraries

* feat(solc): support --include-path

* update test

* only add base path if not empty

* simplify solc config

* include root in include paths

* test: add test for absolute imports

* fix: bad predicate

* cleanup

* fix: use base-path directly

* fix: exclude root from include set
2022-08-12 12:11:08 -07:00
Matthias Seitz 8105d8be9b
chore(etherscan): add set cache helper (#1589) 2022-08-11 16:43:46 -07:00
Matthias Seitz 1038349510
test(solc): ensure trigger rebuild on settings change (#1591) 2022-08-11 16:43:35 -07:00
Matthias Seitz 6f8dc93fc6
feat(solc): add missing helper functions (#1592) 2022-08-11 16:42:52 -07:00
Rohit Narurkar 845c10d154
chore: update svm and svm-builds (#1588) 2022-08-11 22:01:48 +02:00
dependabot[bot] bfb60b7d87
chore(deps): bump serial_test from 0.8.0 to 0.9.0 (#1587)
Bumps [serial_test](https://github.com/palfrey/serial_test) from 0.8.0 to 0.9.0.
- [Release notes](https://github.com/palfrey/serial_test/releases)
- [Commits](https://github.com/palfrey/serial_test/compare/v0.8.0...v0.9.0)

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

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-08-11 10:28:24 -07:00
wren 9e48cbcb55
feat(TraceType+PartialEq): added PartialEq to TraceType (#1586)
* feat(TraceType+PartialEq): added PartialEq to TraceType

* Update ethers-core/src/types/trace/mod.rs

Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>

Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2022-08-11 10:28:11 -07:00
wren 9d80d69503
feat(TraceType+Deserialize): added Deserialize to TraceType (#1585) 2022-08-10 13:08:35 -07:00