Georgios Konstantopoulos
fc33b9f620
chore: update changelog
2021-09-20 16:08:43 -05:00
Odysseas Lamtzidis
22367988fd
Add Decimal support to ethers::utils::parse_units ( #463 )
...
* implemnet parse_units with dec support
* Add doc tests
* add decimal support to parse_ethers()
* add unit tests
2021-09-20 16:02:45 -05:00
dependabot[bot]
a92fe13677
chore(deps): bump wasm-bindgen-futures from 0.4.27 to 0.4.28 ( #456 )
...
Bumps [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen ) from 0.4.27 to 0.4.28.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: wasm-bindgen-futures
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>
2021-09-20 09:56:28 -05:00
dependabot[bot]
a737f56fac
chore(deps): bump tracing from 0.1.27 to 0.1.28 ( #461 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.27 to 0.1.28.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.27...tracing-0.1.28 )
---
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>
2021-09-20 09:56:10 -05:00
dependabot[bot]
c6048437ff
chore(deps): bump tracing-subscriber from 0.2.23 to 0.2.24 ( #462 )
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.23 to 0.2.24.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.23...tracing-subscriber-0.2.24 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
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>
2021-09-20 09:55:58 -05:00
dependabot[bot]
a517dc04b0
chore(deps): bump web-sys from 0.3.54 to 0.3.55 ( #455 )
...
Bumps [web-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.54 to 0.3.55.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: web-sys
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>
2021-09-20 09:55:50 -05:00
Odysseas Lamtzidis
80adc08860
Change wei from 1 to 0 ( #460 )
...
1 WEI = 10^0 WEI, not 10^1
2021-09-20 09:53:37 -05:00
dependabot[bot]
7abe23b9f3
chore(deps): bump wasm-bindgen from 0.2.77 to 0.2.78 ( #454 )
...
Bumps [wasm-bindgen](https://github.com/rustwasm/wasm-bindgen ) from 0.2.77 to 0.2.78.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/compare/0.2.77...0.2.78 )
---
updated-dependencies:
- dependency-name: wasm-bindgen
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>
2021-09-18 13:24:23 -05:00
Georgios Konstantopoulos
10843a774e
chore: cargo fmt
2021-09-18 01:01:40 -05:00
drewstone
83e953bc2f
Add getProof to provider ( #459 )
...
* Add getProof to provider
* Format updates
* Add docs
* Remove fill_tx method, not sure how it got there
* Fix removed Trace type
* Remove test, eth_getProof not supported by ganache
2021-09-18 01:01:02 -05:00
dependabot[bot]
b915f93339
chore(deps): bump tracing-subscriber from 0.2.22 to 0.2.23 ( #458 )
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.22 to 0.2.23.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.22...tracing-subscriber-0.2.23 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
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>
2021-09-17 19:16:23 -05:00
James Prestwich
57736ed232
feature: first draft timelag middleware ( #457 )
...
* feature: first draft timelag middleware
* chore: add 1 line docstrings
* fix: address PR comments
- imports to top of file
- expect with message
- fill_transaction fix
* bug: fix fill_transaction error return
* refactor: make receipt filtering less ugly
* fix: make trait impl wasm compatible
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-09-17 12:38:35 -05:00
dependabot[bot]
ce641298bb
chore(deps): bump ethabi from `8bd90d1` to `ef19ba9` ( #452 )
...
Bumps [ethabi](https://github.com/rust-ethereum/ethabi ) from `8bd90d1` to `ef19ba9`.
- [Release notes](https://github.com/rust-ethereum/ethabi/releases )
- [Commits](8bd90d1395...ef19ba91ab
)
---
updated-dependencies:
- dependency-name: ethabi
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-15 23:34:23 +03:00
dependabot[bot]
d35686c257
chore(deps): bump spki from 0.4.0 to 0.4.1 ( #453 )
...
Bumps [spki](https://github.com/RustCrypto/formats ) from 0.4.0 to 0.4.1.
- [Release notes](https://github.com/RustCrypto/formats/releases )
- [Commits](https://github.com/RustCrypto/formats/commits/spki/v0.4.1 )
---
updated-dependencies:
- dependency-name: spki
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>
2021-09-15 13:55:44 +03:00
Georgios Konstantopoulos
79bf896a2c
test: fix duplicate tx flakes by rotating through a list of wallets ( #451 )
...
* test: fix duplicate tx flakes by rotating through a list of wallets
* fix: make typed_txs test more robust
* fix: ensure wallets are loaded in a thread-safe way
without fetch_add, it's possible that 2 loads happen for the same id before the `store` mutex is acquired'
2021-09-14 16:40:15 +03:00
dependabot[bot]
67b70b382f
chore(deps): bump web-sys from 0.3.53 to 0.3.54 ( #438 )
...
Bumps [web-sys](https://github.com/rustwasm/wasm-bindgen ) from 0.3.53 to 0.3.54.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: web-sys
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>
2021-09-14 14:22:22 +03:00
dependabot[bot]
6e1f56abf9
chore(deps): bump serde-aux from 2.2.0 to 2.3.0 ( #439 )
...
Bumps [serde-aux](https://github.com/vityafx/serde-aux ) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/vityafx/serde-aux/releases )
- [Commits](https://github.com/vityafx/serde-aux/commits )
---
updated-dependencies:
- dependency-name: serde-aux
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>
2021-09-14 14:22:01 +03:00
dependabot[bot]
86cfd9e472
chore(deps): bump tracing from 0.1.26 to 0.1.27 ( #449 )
...
Bumps [tracing](https://github.com/tokio-rs/tracing ) from 0.1.26 to 0.1.27.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.26...tracing-0.1.27 )
---
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>
2021-09-14 14:21:48 +03:00
dependabot[bot]
10c1503430
chore(deps): bump tracing-subscriber from 0.2.21 to 0.2.22 ( #450 )
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.21 to 0.2.22.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.21...tracing-subscriber-0.2.22 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
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>
2021-09-14 14:21:38 +03:00
Georgios Konstantopoulos
566f4c1f34
fix: remove solc path canonicalization
2021-09-13 23:58:10 +03:00
Georgios Konstantopoulos
64294d1c6a
ci: add cache
2021-09-13 23:48:03 +03:00
Georgios Konstantopoulos
cf3339066b
fix(solc): canonicalize custom paths
2021-09-13 23:46:37 +03:00
Georgios Konstantopoulos
a6918aed2b
fix(ethabi): breaking changes and force enable serialize for eth-types ( #448 )
...
* fix(ethabi): breaking changes and force enable serialize for eth-types
* chore(ethereum-types) enable rlp
2021-09-13 20:43:54 +03:00
dependabot[bot]
f2e41c0500
chore(deps): bump sha2 from 0.9.6 to 0.9.8 ( #443 )
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.9.6 to 0.9.8.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.6...sha2-v0.9.8 )
---
updated-dependencies:
- dependency-name: sha2
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>
2021-09-13 15:36:10 +03:00
dependabot[bot]
3823f025f9
chore(deps): bump tracing-subscriber from 0.2.20 to 0.2.21 ( #447 )
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.2.20 to 0.2.21.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.2.20...tracing-subscriber-0.2.21 )
---
updated-dependencies:
- dependency-name: tracing-subscriber
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>
2021-09-13 15:36:00 +03:00
Georgios Konstantopoulos
77bc5aa30f
feat: expand solc capabilities / chore: update ethabi ( #445 )
...
* chore: use ethabi with bumped ethereum-types
* fix: do not use internal type in human readable abi
* fix: do not use internal type in abigen
* feat(solc): save the runtime bytecode
* feat: implement serde for CompiledContract
* feat: allow overriding solc binary path
* feat: expose providing raw file paths
* feat: do not set evm versions on old solc
* chore: use upstream ethabi
2021-09-13 15:35:50 +03:00
wolflo
90df511704
core: add utils::get_create2_address_from_hash() ( #444 )
2021-09-11 19:41:14 +03:00
dependabot[bot]
b54f8b7d45
chore(deps): bump wasm-bindgen-futures from 0.4.26 to 0.4.27 ( #441 )
...
Bumps [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen ) from 0.4.26 to 0.4.27.
- [Release notes](https://github.com/rustwasm/wasm-bindgen/releases )
- [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rustwasm/wasm-bindgen/commits )
---
updated-dependencies:
- dependency-name: wasm-bindgen-futures
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>
2021-09-09 09:20:38 +03:00
wolflo
46faf7614b
Add usage examples for hashing utilities ( #436 )
...
* core: add doctest for utils::get_create2_address()
* examples: add permit hash encoding example
2021-09-09 08:42:42 +03:00
wolflo
3754ceca48
fix cargo fmt command in Contributing.md ( #437 )
2021-09-09 08:36:26 +03:00
Alexis Sellier
2e195d91e1
Make 'ens' module public ( #435 )
2021-09-06 11:52:44 +03:00
dependabot[bot]
6a938158b6
chore(deps): bump thiserror from 1.0.28 to 1.0.29 ( #433 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.28 to 1.0.29.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.28...1.0.29 )
---
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>
2021-09-06 11:33:01 +03:00
dependabot[bot]
c568aa62ae
chore(deps): bump tokio-util from 0.6.7 to 0.6.8 ( #434 )
...
Bumps [tokio-util](https://github.com/tokio-rs/tokio ) from 0.6.7 to 0.6.8.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/commits )
---
updated-dependencies:
- dependency-name: tokio-util
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>
2021-09-06 11:32:53 +03:00
Matthias Seitz
32c75ab1f5
fix: cleanup lock file after exec cargo metadata ( #431 )
...
* fix: cleanup lock file after exec cargo metadata
* fix typos
2021-09-05 13:19:08 +03:00
TannrA
32ad5a6abd
Event aliasing for contract bindings ( #425 )
...
* contracts: enable event aliases for Abigen
* contract: unit tests for event aliases
* contract: cleanup expand_event function
* Address pr suggestions
* contracts: remove unnecessary clone
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
* Make clippy happy
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
2021-09-03 18:57:40 +03:00
Georgios Konstantopoulos
520645c48b
chore: add changelog for #427 changes ( #428 )
2021-09-03 17:50:50 +03:00
Matthias Seitz
bc89878e92
chore: update changelog ( #429 )
2021-09-03 17:50:16 +03:00
Matthias Seitz
8b5f4bfa81
fix: always treat abi type structs as tuples ( #417 )
...
* fix: always treat abi type structs as tuples
* fix: keep decoding for single field structs
* feat: unify event and struct encoding
2021-09-02 19:16:39 +03:00
wolflo
664ccfe9d6
fix: Enable solc optimization ( #427 )
...
* fix: solc optimization enabled
* feat(solc): optional optimizer and passthrough args
Change optimizer() method to accept an Option<usize> (breaking).
Add args() option to pass arbitrary arguments to solc command.
2021-09-02 13:18:04 +03:00
dependabot[bot]
584b683c12
chore(deps): bump futures-executor from 0.3.16 to 0.3.17 ( #426 )
...
Bumps [futures-executor](https://github.com/rust-lang/futures-rs ) from 0.3.16 to 0.3.17.
- [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.16...0.3.17 )
---
updated-dependencies:
- dependency-name: futures-executor
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>
2021-09-01 10:14:02 +03:00
dependabot[bot]
65e2799361
chore(deps): bump parking_lot from 0.11.1 to 0.11.2 ( #418 )
...
Bumps [parking_lot](https://github.com/Amanieu/parking_lot ) from 0.11.1 to 0.11.2.
- [Release notes](https://github.com/Amanieu/parking_lot/releases )
- [Changelog](https://github.com/Amanieu/parking_lot/blob/master/CHANGELOG.md )
- [Commits](https://github.com/Amanieu/parking_lot/compare/0.11.1...0.11.2 )
---
updated-dependencies:
- dependency-name: parking_lot
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>
2021-08-31 13:55:35 +03:00
dependabot[bot]
4128363f3c
chore(deps): bump thiserror from 1.0.26 to 1.0.28 ( #419 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.26 to 1.0.28.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.26...1.0.28 )
---
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>
2021-08-31 13:55:22 +03:00
dependabot[bot]
c89d73762c
chore(deps): bump sha2 from 0.9.5 to 0.9.6 ( #420 )
...
Bumps [sha2](https://github.com/RustCrypto/hashes ) from 0.9.5 to 0.9.6.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.9.5...sha2-v0.9.6 )
---
updated-dependencies:
- dependency-name: sha2
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>
2021-08-31 13:55:11 +03:00
Georgios Konstantopoulos
cf62364489
chore: add changelog ( #424 )
2021-08-31 13:52:11 +03:00
Georgios Konstantopoulos
9aea456609
(cargo-release) version 0.5.2
2021-08-31 13:41:51 +03:00
Georgios Konstantopoulos
838f19fcd4
(cargo-release) version 0.5.2
2021-08-31 13:39:25 +03:00
Oliver Nordbjerg
a1f2600551
Correctly encode non-legacy mempool transactions ( #415 )
...
* Correctly encode non-legacy mempool transactions
If a non-legacy transaction was fetched from the mempool and
then RLP-encoded for inclusion in e.g. a flashbots bundle,
then the bundle would fail because the encoding only worked
for legacy transactions.
* Add tests and fix encoding
2021-08-31 13:38:16 +03:00
dependabot[bot]
404e9c2416
chore(deps): bump futures-util from 0.3.16 to 0.3.17 ( #423 )
...
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.16 to 0.3.17.
- [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.16...0.3.17 )
---
updated-dependencies:
- dependency-name: futures-util
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>
2021-08-31 08:48:24 +03:00
Georgios Konstantopoulos
b5909d05b0
ci: run examples in CI ( #421 )
...
* ci: run examples in CI
* fix(ens): set the resolved ens addr for gas estimation
* fix(contract-examples): use legacy sends with ganache
* fix(ens-example): ensure test runs when forking from mainnet
* fix(watch-blocks-example): run our own provider with preset blocktime
2021-08-30 14:00:30 +03:00
Matthias Seitz
824bedbd42
feat: add quorum provider ( #409 )
...
* feat: add quorum provider
* feat: add quorum provider example
* fix: make compile with wasm32
* feat: normalize requests with block height
* fix: lowercase eth_call
* chore: fix doctest
* chore: remove Sync/Send requirement
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-08-29 14:03:53 +03:00