Commit Graph

15 Commits

Author SHA1 Message Date
Matthias Seitz 792d415845
fix: set chain id explicitly (#1647) 2022-08-30 09:45:36 -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
James Prestwich 99230afd32
dep: replace anyhow with eyre in examples (#859) 2022-02-03 22:36:05 +02:00
Matthias Seitz dcf20022c6
chore: add rustfmt.toml (#537)
* chore: add rustfmt.toml

* rustfmt

* chore: Update readme with fmt info

* ci: update ci

* chore: rustfmt

* rustfmt

* rustfmt

* ci: install libudev

* chore(clippy): make clippy happy

* chore(clippy): make clippy happy

* revert ci

* ci: install libudev
2021-10-29 14:29:35 +02:00
Georgios Konstantopoulos 8891ed38b4
chore: pull ethers to top level directory (#398)
* chore: pull up ethers to top level directory

* chore: enable ws feature when running examples

* chore: fix paths

* chore: enable ipc feature when running examples
2021-08-21 15:34:21 +03:00
Georgios Konstantopoulos c46442dd12
complete refactor 2020-05-26 14:01:46 +03:00
Georgios Konstantopoulos 33b36bbc52
feat: add basic contract support 2020-05-25 18:35:38 +03:00
Georgios Konstantopoulos 946c4912f4
feat: add receipts 2020-05-24 23:27:51 +03:00
Georgios Konstantopoulos 96add97869
use builder pattern for txs 2020-05-24 21:34:56 +03:00
Georgios Konstantopoulos 08a25fb848
deduplicate tx types 2020-05-24 20:17:46 +03:00
Georgios Konstantopoulos 0f12894765
abuse Deref for using provider methods in the Client 2020-05-24 19:29:04 +03:00
Georgios Konstantopoulos 8a8e33c9c8
lints and more examples 2020-05-24 19:14:27 +03:00
Georgios Konstantopoulos 4b6fbf00a8
docs 2020-05-24 18:55:46 +03:00
Georgios Konstantopoulos 07daa1a891
refactor 2020-05-24 17:47:15 +03:00
Georgios Konstantopoulos 913b917620
WIP 2020-05-24 17:00:47 +03:00