Commit Graph

22 Commits

Author SHA1 Message Date
Curtis Spencer 9a9f4523e0
Upgrade reqwest to 0.11.0 to ensure only 1 version of tokio used (#136)
This commit also removes the patch stanza in the top level Cargo.toml as the
older tokio tungstenite (0.12.0) is pulled in when ethers is used as a
dependency on another project.
2021-01-07 15:24:07 +02:00
Georgios Konstantopoulos 5c1f8f532a
Upgrade to Tokio 1.0 and remove async-std (#120)
* feat(providers): tokio 1.0

BREAKING: This removes async-std as a compatibility option

* feat: tokio 1.0 in rest of crates

* fix: patch Cargo.toml until deps are released

* fix(contract): load ws deps

* feat: bytes 1.0 (#121)

* feat(core): move to bytes::Bytes

* feat: adjust rest of crates to Bytes

* chore: bump deps

CI fails due to:
https://github.com/snapview/tokio-tungstenite/pull/142#discussion_r550445144

* chore: use latest tokio-tungstenite

* ci: split tests into jobs (#129)

* Switch to `hex` (#128)

* fix(core): replace rustc_hex with hex

* fix(providers): replace rustc_hex with hex

* chore: replace rustc-hex with hex

* chore: cargo fmt

* fix(ledger): copy address from string correctly

* chore: fix flaky tests

Fixes #105
2020-12-31 19:19:14 +02:00
Georgios Konstantopoulos 2d51c523ba
feature: Middleware Architecture (#65)
* feat: convert Provider to Middleware trait

* feat: move gas oracle to middleware crate

* feat: move signer to middleware crate

* feat: add nonce manager middleware and test stacking

* refactor: convert generic middleware jsonrpc type to associated type

* feat: move ethers-contract to middleware arch

* test(provider): make tests pass

* test(middleware): move middleware tests from signer

* test: fix ethers examples

* fix(contract): make tests compile

* chore: fix clippy

* feat: deduplicate trait delegation

* refactor(signer): deduplicate tx signing logic across signers

* fix doctests

* fix: examples, celo tests and ci
2020-09-25 00:33:09 +03:00
Georgios Konstantopoulos cd4914d37f
refactor: pull crates to root dir 2020-06-01 21:24:22 +03:00
Georgios Konstantopoulos a9643fc9f6
refactor ethers-types -> ethers-core 2020-05-31 19:01:34 +03:00
Georgios Konstantopoulos 0013edf0e1
refactor ethers-utils to be part of ethers-types 2020-05-31 18:31:13 +03:00
Georgios Konstantopoulos bc523b6d60
refactor ethers-abi to be part of ethers-types 2020-05-28 12:04:12 +03:00
Georgios Konstantopoulos 099fa5d7ef
progress 2020-05-27 01:41:27 +03:00
Georgios Konstantopoulos c46442dd12
complete refactor 2020-05-26 14:01:46 +03:00
Georgios Konstantopoulos 28dc014ae3
WIP 2020-05-26 13:44:35 +03:00
Georgios Konstantopoulos 6a73bab70d
wip 2020-05-26 13:37:17 +03:00
Georgios Konstantopoulos 2bec170968
WIP 2020-05-26 13:24:19 +03:00
Georgios Konstantopoulos e7c9e19409
wip 2020-05-26 12:52:15 +03:00
Georgios Konstantopoulos 3f313ede01
el refactor 2020-05-26 12:37:31 +03:00
Georgios Konstantopoulos d3b9b378c5
feat: add tokenization and improve contract API for events 2020-05-25 21:14:13 +03:00
Georgios Konstantopoulos 33b36bbc52
feat: add basic contract support 2020-05-25 18:35:38 +03:00
Georgios Konstantopoulos 1dd3c3dc89
WIP add contract abi 2020-05-25 13:05:00 +03:00
Georgios Konstantopoulos 548b24e518
feat: add fetching logs 2020-05-25 12:23:50 +03:00
Georgios Konstantopoulos 2b7c4ce7b4
cleanup 2020-05-24 19:43:47 +03:00
Georgios Konstantopoulos c085861b20
lock 2020-05-24 19:33:24 +03:00
Georgios Konstantopoulos 913b917620
WIP 2020-05-24 17:00:47 +03:00
Georgios Konstantopoulos 1a49a62a81
init 2020-05-22 23:43:30 +03:00