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
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
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
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
dependabot[bot]
aa213a58ee
chore(deps): bump tracing from 0.1.35 to 0.1.36 ( #1543 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.35 to 0.1.36.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.35...tracing-0.1.36 )
---
updated-dependencies:
- dependency-name: tracing
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>
2022-07-31 21:14:35 -07:00
Matthias Seitz
c75608eda1
ci: rm pinned nightly ( #1541 )
...
* ci: rm pinned nightly
* chore(clippy): make clippy happy
2022-07-31 19:00:31 -07:00
Matthias Seitz
1f69ec7679
revert: add back dev-deps ( #1532 )
...
* Revert "disable dev deps"
This reverts commit 97bdcb9d82
.
* fix: add back removed dev-deps
2022-07-28 17:36:22 -07:00
Georgios Konstantopoulos
c35f673dc5
(cargo-release) version 0.17.0
2022-07-28 10:58:51 -07:00
Georgios Konstantopoulos
2ef60411ea
(cargo-release) version 0.17.0
2022-07-28 10:58:50 -07:00
Georgios Konstantopoulos
73e8d85d74
(cargo-release) version 0.17.0
2022-07-28 10:58:50 -07:00
Georgios Konstantopoulos
6f22e67044
(cargo-release) version 0.17.0
2022-07-28 10:58:50 -07:00
Georgios Konstantopoulos
3fce0cca25
(cargo-release) version 0.17.0
2022-07-28 10:58:50 -07:00
Georgios Konstantopoulos
de2ed3391d
(cargo-release) version 0.17.0
2022-07-28 10:58:49 -07:00
Georgios Konstantopoulos
97bdcb9d82
disable dev deps
2022-07-28 10:57:38 -07:00
Matthias Seitz
83e2684824
refactor: use expanded EthEvent impl ( #1499 )
2022-07-24 03:16:23 +02:00
dependabot[bot]
dc01d0c9ed
chore(deps): bump once_cell from 1.12.0 to 1.13.0 ( #1453 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.12.0 to 1.13.0.
- [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.12.0...v1.13.0 )
---
updated-dependencies:
- dependency-name: once_cell
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>
2022-07-05 08:54:50 -07:00
dependabot[bot]
69216171d0
chore(deps): bump serial_test from 0.7.0 to 0.8.0 ( #1418 )
...
Bumps [serial_test](https://github.com/palfrey/serial_test ) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/palfrey/serial_test/releases )
- [Commits](https://github.com/palfrey/serial_test/compare/v0.7.0...v0.8.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-26 23:19:13 -07:00
dependabot[bot]
8f1f6c719e
chore(deps): bump serial_test from 0.6.0 to 0.7.0 ( #1349 )
...
Bumps [serial_test](https://github.com/palfrey/serial_test ) from 0.6.0 to 0.7.0.
- [Release notes](https://github.com/palfrey/serial_test/releases )
- [Commits](https://github.com/palfrey/serial_test/compare/v0.6.0...v0.7.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>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-06-18 15:38:12 -07:00
Matthias Seitz
239f559ca0
test: use default initial base fee ( #1386 )
2022-06-16 12:42:39 -07:00
Dan Cline
c0a5962bc4
fix(middleware): use signer chain when tx is None ( #1377 )
2022-06-14 13:16:41 -07:00
Georgios Konstantopoulos
e991148790
Revert "release: disable dev deps"
...
This reverts commit b3159507a8
.
2022-06-14 14:23:10 +03:00
Georgios Konstantopoulos
b3159507a8
release: disable dev deps
2022-06-14 14:15:25 +03:00
Georgios Konstantopoulos
5e0f38ae40
(cargo-release) version 0.13.0
2022-06-14 13:59:12 +03:00
Georgios Konstantopoulos
83affb4c9c
(cargo-release) version 0.13.0
2022-06-14 13:59:12 +03:00
Georgios Konstantopoulos
ed6c3f8413
(cargo-release) version 0.13.0
2022-06-14 13:59:11 +03:00
Georgios Konstantopoulos
54b81e6b7f
(cargo-release) version 0.13.0
2022-06-14 13:59:11 +03:00
Georgios Konstantopoulos
89f86d801e
(cargo-release) version 0.13.0
2022-06-14 13:59:11 +03:00
Georgios Konstantopoulos
fdccd80551
(cargo-release) version 0.13.0
2022-06-14 13:59:11 +03:00
Georgios Konstantopoulos
4791bb6a07
(cargo-release) version 0.13.0
2022-06-14 13:59:10 +03:00
dependabot[bot]
650990ae4e
chore(deps): bump reqwest from 0.11.10 to 0.11.11 ( #1374 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.10 to 0.11.11.
- [Release notes](https://github.com/seanmonstar/reqwest/releases )
- [Changelog](https://github.com/seanmonstar/reqwest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/seanmonstar/reqwest/compare/v0.11.10...v0.11.11 )
---
updated-dependencies:
- dependency-name: reqwest
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>
2022-06-13 23:55:31 -07:00
dependabot[bot]
8969cf1c4d
chore(deps): bump tracing from 0.1.34 to 0.1.35 ( #1364 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.34 to 0.1.35.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.34...tracing-0.1.35 )
---
updated-dependencies:
- dependency-name: tracing
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>
2022-06-09 00:45:56 -07:00
naiba
214d24dfd2
fix: wrong unit for gas_price (ether -> gwei) ( #1316 )
2022-06-02 08:58:03 -07:00
Matthias Seitz
89bc6420bb
test: replace ganache with anvil ( #1286 )
...
* ci: install anvil
* test: use anvil instead of ganache
* ci: fix anvil ver
* ci: re-enable example tests
* test: remove unnecessary assertions
* test: enable anvil launch test
* docs: typo
* test: fix anvil chain id
* ci: install ganache
Ganache is needed for the Ganache tests
* chore: remove legacy feature from some examples
* ci: correctly build examples
* test: use correct account balance for anvil
* chore: remove sub_id == 1 check
this was only possible in ganache because it gives serial
sub ids, but in every other reasonable client the ids are generated
randomly, so we cannot test for its value
* test: ensure txs are different
There is a bug in Ganache's mempool which accepts duplicate transactions (here with the same nonce), whereas here we pre-set all the nonces so that they end up having a different transaction hash.
* test: ignore ganache tests
* fix: terzor api changes
* ci(examples): install Anvil, remove geth/ganache
* test(provider): Anvil instead of Geth
some tests start to fail now
* fix: revert usage of Anvil in ipc tests
Anvil does not support IPC yet
* fix: update examples script
* ci: use anvil for wasm example
* replace last ganache usage
Co-authored-by: Oliver Nordbjerg <hi@notbjerg.me>
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-06-01 08:22:39 -07:00
Matthias Seitz
d2c46867c1
chore(deps): make tokio required dependency ( #1322 )
...
* chore(deps): make tokio non optional
* chore(deps): bump tokio 0.18
* Update ethers-providers/Cargo.toml
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-05-28 17:54:45 -07:00
dependabot[bot]
37f3df5234
chore(deps): bump once_cell from 1.11.0 to 1.12.0 ( #1306 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.11.0 to 1.12.0.
- [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.11.0...v1.12.0 )
---
updated-dependencies:
- dependency-name: once_cell
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>
2022-05-24 00:31:40 -07:00
rakita
4301447155
relax thiserror minor version constraint ( #1294 )
2022-05-23 11:41:30 -07:00
dependabot[bot]
2883ed7e2d
chore(deps): bump once_cell from 1.10.0 to 1.11.0 ( #1288 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.10.0 to 1.11.0.
- [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.10.0...v1.11.0 )
---
updated-dependencies:
- dependency-name: once_cell
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>
2022-05-21 17:50:00 -07:00
Meet Mangukiya
6d5bebd860
Release process and CI ( #1240 )
...
* Fix the crate versions
* release.toml: add cargo-release config
* CONTRIBUTING.md: Update Releasing section
* feat: add release github workflow
* feat: generate CHANGELOGs and create github releases in CI
2022-05-13 13:10:05 -07:00
Remco Bloemen
18b4ef4e47
Robust gas oracles ( #1222 )
...
* Pass reqwest Client to constructors
* Add Median oracle aggregator
* DRY
* Weighted median
* Add cache layer
* Simplify lifetimes
* Add with_client constructors
* Update GasNow urls
* Add u256_from_f64_saturating
* Add polygon oracle
* Fixes
* Fix lints
* Remove dbg statements
2022-05-06 08:16:43 -07:00
Matthias Seitz
ce3ebaefa0
chore(clippy): make clippy happy ( #1230 )
2022-05-06 08:15:49 -07:00
dependabot[bot]
c44872f62e
chore(deps): bump thiserror from 1.0.30 to 1.0.31 ( #1206 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.30 to 1.0.31.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.30...1.0.31 )
---
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>
2022-05-02 11:54:22 -07:00
oblique
6faceb20d7
feat: Relax `Clone` requirements when `Arc<M>` is used ( #1183 )
...
`#[derive(Clone)]` was implementing `Clone` only if `M` was `Clone`,
however because of `Arc<M>` this can be relaxed.
2022-04-27 15:33:22 +03:00
georgewhewell
a866cd5726
feat: blocknative gas oracle ( #1175 )
...
* gas oracle: add more error variants
* gas oracle: adds BlockNative oracle
* pdate changelog
2022-04-25 08:50:55 -07:00
dependabot[bot]
4d43cb822a
chore(deps): bump tracing from 0.1.33 to 0.1.34 ( #1147 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.33 to 0.1.34.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.33...tracing-0.1.34 )
---
updated-dependencies:
- dependency-name: tracing
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>
2022-04-18 09:56:07 -07:00
Luke Tchang
1cc42cbba0
fix(timelag): normalize block if block = None ( #1146 )
...
* fix(timelag): normalize block if block = None
* lint: nightly formatter
Co-authored-by: James <james@prestwi.ch>
2022-04-14 12:20:35 -07:00
dependabot[bot]
b4caa25c45
chore(deps): bump tracing from 0.1.32 to 0.1.33 ( #1132 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.32 to 0.1.33.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.32...tracing-0.1.33 )
---
updated-dependencies:
- dependency-name: tracing
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>
2022-04-11 01:02:53 -07:00
Dan Cline
1d14f9d26e
Ensure a consistent chain ID between a signer and provider in SignerMiddleware ( #1095 )
...
* feat(middleware): fetch chainid from middleware
Require SignerMiddleware to fetch the inner middleware's to set for the
signer. SignerMiddleware now requires an instantiated middleware with
an accessible get_chainid method.
* ci: update ganache
newer ganache version is needed to specify the ganache provider chain id
in tests
* set SignerMiddleware constructor return to result
* create new method for pulling chainid
* add consistent chainid CHANGELOG entry
* remove awaits
* switch test_derive_eip712 to use consistent signer
* remove gas estimation equality assert in deploy_and_call_contract -
updated version of ganache no longer returns the same value for gas
estimation and gas_used
* revert with_signer to non-async non-result
* cargo fmt
* expand SignerMiddleware::new comment
* remove doc indent
2022-04-10 10:55:30 -07:00
Matthias Seitz
916e9a7334
chore(clippy): add some deny lints ( #1064 )
...
* feat: add deny lints
* trim ethers core
* trim ethers eip712
* deny ethers contract derive
* deny ethers contract abigen
* deny ethers contract
* deny ethers providers
* chore: add denies and fix unused deps
* doc: fix links
* fix: wasm build
* doc: fix links
* doc: fix links
* doc: fix inline doc links
* docs: fix intra doc links
2022-03-19 10:05:39 -07:00
Meet Mangukiya
cde52c7c20
fix(core/TypedTransaction): eip1559 gas price should be max_fee_per_gas ( #1062 )
...
* fix(core/TypedTransaction): eip1559 gas price should be max_fee_per_gas
* fix tests
* tests(nonce_manager): reduce flakiness
2022-03-19 09:41:03 -07:00
Matthias Seitz
b53aa500fe
chore: decrease tx count in nonce manager test ( #1053 )
2022-03-17 06:47:30 -07:00