ethers-rs/ethers-providers/src
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
..
transports test: replace ganache with anvil (#1286) 2022-06-01 08:22:39 -07:00
ens.rs chore(clippy): add some deny lints (#1064) 2022-03-19 10:05:39 -07:00
erc.rs chore(clippy): fix newest nightly lints (#1298) 2022-05-22 15:18:57 -07:00
lib.rs feat: add paginated logs (#1285) 2022-05-23 14:23:35 -07:00
log_query.rs `get_paginated_logs` fixes and refactoring (#1328) 2022-05-31 09:43:03 -07:00
pending_escalator.rs chore: fix wasm warnings (#1312) 2022-05-27 10:10:51 -04:00
pending_transaction.rs test: replace ganache with anvil (#1286) 2022-06-01 08:22:39 -07:00
provider.rs test: replace ganache with anvil (#1286) 2022-06-01 08:22:39 -07:00
pubsub.rs feat(providers): load previous logs before subscribing (#1264) 2022-05-16 08:11:25 -07:00
stream.rs test: replace ganache with anvil (#1286) 2022-06-01 08:22:39 -07:00