dependabot[bot]
0d3c957cfe
chore(deps): bump syn from 1.0.85 to 1.0.86 ( #816 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.85 to 1.0.86.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.85...1.0.86 )
---
updated-dependencies:
- dependency-name: syn
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-01-20 15:47:51 +02:00
dependabot[bot]
6c7b6d1e49
chore(deps): bump k256 from 0.10.1 to 0.10.2 ( #804 )
...
Bumps [k256](https://github.com/RustCrypto/elliptic-curves ) from 0.10.1 to 0.10.2.
- [Release notes](https://github.com/RustCrypto/elliptic-curves/releases )
- [Commits](https://github.com/RustCrypto/elliptic-curves/commits )
---
updated-dependencies:
- dependency-name: k256
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-01-18 12:38:40 +02:00
dependabot[bot]
1908c6d8ad
chore(deps): bump elliptic-curve from 0.11.7 to 0.11.9 ( #803 )
...
Bumps [elliptic-curve](https://github.com/RustCrypto/traits ) from 0.11.7 to 0.11.9.
- [Release notes](https://github.com/RustCrypto/traits/releases )
- [Commits](https://github.com/RustCrypto/traits/compare/elliptic-curve-v0.11.7...elliptic-curve-v0.11.9 )
---
updated-dependencies:
- dependency-name: elliptic-curve
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-01-18 12:38:34 +02:00
dependabot[bot]
41663d3fc1
chore(deps): bump elliptic-curve from 0.11.6 to 0.11.7 ( #793 )
...
Bumps [elliptic-curve](https://github.com/RustCrypto/traits ) from 0.11.6 to 0.11.7.
- [Release notes](https://github.com/RustCrypto/traits/releases )
- [Commits](https://github.com/RustCrypto/traits/compare/elliptic-curve/v0.11.6...elliptic-curve-v0.11.7 )
---
updated-dependencies:
- dependency-name: elliptic-curve
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-01-16 18:06:53 +02:00
dependabot[bot]
a77bf845d2
chore(deps): bump ecdsa from 0.13.3 to 0.13.4 ( #767 )
...
Bumps [ecdsa](https://github.com/RustCrypto/signatures ) from 0.13.3 to 0.13.4.
- [Release notes](https://github.com/RustCrypto/signatures/releases )
- [Commits](https://github.com/RustCrypto/signatures/compare/ecdsa/v0.13.3...ecdsa/v0.13.4 )
---
updated-dependencies:
- dependency-name: ecdsa
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-01-07 12:12:30 +02:00
dependabot[bot]
10f014bd6c
chore(deps): bump syn from 1.0.84 to 1.0.85 ( #764 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.84 to 1.0.85.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.84...1.0.85 )
---
updated-dependencies:
- dependency-name: syn
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-01-06 13:50:29 +02:00
dependabot[bot]
acadd672a8
chore(deps): bump k256 from 0.10.0 to 0.10.1 ( #762 )
...
Bumps [k256](https://github.com/RustCrypto/elliptic-curves ) from 0.10.0 to 0.10.1.
- [Release notes](https://github.com/RustCrypto/elliptic-curves/releases )
- [Commits](https://github.com/RustCrypto/elliptic-curves/compare/k256/v0.10.0...k256/v0.10.1 )
---
updated-dependencies:
- dependency-name: k256
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-01-06 08:20:21 +02:00
dependabot[bot]
b347a1f65b
chore(deps): bump generic-array from 0.14.4 to 0.14.5 ( #758 )
...
Bumps [generic-array](https://github.com/fizyk20/generic-array ) from 0.14.4 to 0.14.5.
- [Release notes](https://github.com/fizyk20/generic-array/releases )
- [Changelog](https://github.com/fizyk20/generic-array/blob/master/CHANGELOG.md )
- [Commits](https://github.com/fizyk20/generic-array/commits )
---
updated-dependencies:
- dependency-name: generic-array
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-01-05 13:30:55 +02:00
dependabot[bot]
c5ea7bd60a
chore(deps): bump quote from 1.0.10 to 1.0.14 ( #746 )
...
Bumps [quote](https://github.com/dtolnay/quote ) from 1.0.10 to 1.0.14.
- [Release notes](https://github.com/dtolnay/quote/releases )
- [Commits](https://github.com/dtolnay/quote/compare/1.0.10...1.0.14 )
---
updated-dependencies:
- dependency-name: quote
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-12-30 00:46:18 +02:00
dependabot[bot]
304a04b3fd
chore(deps): bump proc-macro2 from 1.0.35 to 1.0.36 ( #744 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.35 to 1.0.36.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.35...1.0.36 )
---
updated-dependencies:
- dependency-name: proc-macro2
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-12-30 00:46:18 +02:00
dependabot[bot]
c4236911bf
chore(deps): bump convert_case from 0.4.0 to 0.5.0 ( #741 )
...
Bumps [convert_case](https://github.com/rutrum/convert-case ) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/rutrum/convert-case/releases )
- [Commits](https://github.com/rutrum/convert-case/commits )
---
updated-dependencies:
- dependency-name: convert_case
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-12-30 00:46:18 +02:00
dependabot[bot]
7693392caa
chore(deps): bump proc-macro2 from 1.0.34 to 1.0.35 ( #743 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.34 to 1.0.35.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.34...1.0.35 )
---
updated-dependencies:
- dependency-name: proc-macro2
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-12-30 00:46:18 +02:00
dependabot[bot]
2ca1ea4485
chore(deps): bump syn from 1.0.83 to 1.0.84 ( #742 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.83 to 1.0.84.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.83...1.0.84 )
---
updated-dependencies:
- dependency-name: syn
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-12-30 00:46:18 +02:00
dependabot[bot]
07e13ab9c7
chore(deps): bump syn from 1.0.82 to 1.0.83 ( #726 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.82 to 1.0.83.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.82...1.0.83 )
---
updated-dependencies:
- dependency-name: syn
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-12-23 16:38:16 +02:00
Georgios Konstantopoulos
568d9c8697
Update Cryptography crates ( #617 )
...
* fix(core): use new k256 for pubkey calculation
* fix(core): deserialize moonbeam keys with new fn
* chore(signers): update crypto crates
* chore: update cargo lock
* ci: remove libudev req
* chore: cargo fmt
* chore: fix outstanding yubihsm errors
2021-12-21 00:41:57 +02:00
Georgios Konstantopoulos
4d647453e3
feat: new ethabi for error types ( #700 )
2021-12-17 00:24:10 +02:00
Alex Xiong
6cbdc89187
fix: avoid futures-util yanked err ( #693 )
2021-12-15 03:32:36 +01:00
dependabot[bot]
788f59623d
chore(deps): bump elliptic-curve from 0.11.1 to 0.11.5 ( #653 )
...
Bumps [elliptic-curve](https://github.com/RustCrypto/traits ) from 0.11.1 to 0.11.5.
- [Release notes](https://github.com/RustCrypto/traits/releases )
- [Commits](https://github.com/RustCrypto/traits/compare/elliptic-curve-v0.11.1...elliptic-curve-v0.11.5 )
---
updated-dependencies:
- dependency-name: elliptic-curve
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-12-06 14:47:27 +02:00
dependabot[bot]
1a6aaf3362
chore(deps): bump proc-macro2 from 1.0.32 to 1.0.33 ( #654 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.32 to 1.0.33.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.32...1.0.33 )
---
updated-dependencies:
- dependency-name: proc-macro2
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-12-06 14:47:20 +02:00
dependabot[bot]
e7fa7bab9a
chore(deps): bump syn from 1.0.81 to 1.0.82 ( #620 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.81 to 1.0.82.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.81...1.0.82 )
---
updated-dependencies:
- dependency-name: syn
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-11-25 10:16:38 +02:00
Georgios Konstantopoulos
bb3a2fd27c
release: 0.6.0 ( #611 )
...
* release(core): 0.6.0
* release(providers): 0.6.0
* release(contract-abigen): 0.6.0
* release(contract-derive): 0.6.0
* release(derive-eip712): 0.2.0
* release(ethers-solc): 0.1.0
* release(contract): 0.6.0
* release(etherscan): 0.2.0
* release(signers): 0.6.0
* release(middleware): 0.6.0
* chore: update dev deps
* refactor(core): move docs to readme
* refactor(contract): move docs to readme
* refactor(providers): move docs to readme
* chore: bump ethers cargo toml
* refactor(signers): move docs to readme
* refactor(middleware): move docs to readme
* fix(ethers): adjust re-exports to allow searching internal packages
* docs: fix broken links
we cannot use relative crate imports because the readmes
are also imported by the parent crate
* alias readmes to be accessible to ethers crate
2021-11-23 21:23:12 +02:00
dependabot[bot]
fb42f043a2
chore(deps): bump futures-util from 0.3.17 to 0.3.18 ( #609 )
...
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.17 to 0.3.18.
- [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.17...0.3.18 )
---
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-11-23 13:23:53 +02:00
dependabot[bot]
983da8d6aa
chore(deps): bump elliptic-curve from 0.10.6 to 0.11.1 ( #605 )
...
Bumps [elliptic-curve](https://github.com/RustCrypto/traits ) from 0.10.6 to 0.11.1.
- [Release notes](https://github.com/RustCrypto/traits/releases )
- [Commits](https://github.com/RustCrypto/traits/compare/elliptic-curve/v0.10.6...elliptic-curve/v0.11.1 )
---
updated-dependencies:
- dependency-name: elliptic-curve
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-11-22 10:52:27 +02:00
Zhang Cheng
ffb1a8bf1d
chore: enable zeroize feature for k256 ( #596 )
2021-11-19 11:22:07 +02:00
Alexey Shekhirin
2723e46044
chore: bump ethers-core to 0.5.5 ( #582 )
2021-11-14 14:24:40 +02:00
dependabot[bot]
d28b5d847e
chore(deps): bump hex-literal from 0.3.3 to 0.3.4 ( #573 )
...
Bumps [hex-literal](https://github.com/RustCrypto/utils ) from 0.3.3 to 0.3.4.
- [Release notes](https://github.com/RustCrypto/utils/releases )
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.3.3...hex-literal-v0.3.4 )
---
updated-dependencies:
- dependency-name: hex-literal
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-11-12 15:42:11 +02:00
dependabot[bot]
3d45a842b9
chore(deps): bump cargo_metadata from 0.14.0 to 0.14.1 ( #563 )
...
Bumps [cargo_metadata](https://github.com/oli-obk/cargo_metadata ) from 0.14.0 to 0.14.1.
- [Release notes](https://github.com/oli-obk/cargo_metadata/releases )
- [Commits](https://github.com/oli-obk/cargo_metadata/compare/v0.14.0...0.14.1 )
---
updated-dependencies:
- dependency-name: cargo_metadata
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-11-08 09:44:04 +00:00
Sebastian Martinez
e72636210c
Refactor crate determination in new ethers-macro crate ( #555 )
...
* fix: compute ethers-core path in derive eip712
Co-authored-by: Ryan <ryan.tate@fieldresponder.io>
* refactor: move crate determination to ethers-macro
* docs: update fmt command
* fix: change cargo_metadata dep to optional
Co-authored-by: Ryan <ryan.tate@fieldresponder.io>
2021-11-05 15:00:01 +02:00
Georgios Konstantopoulos
f0dea75219
feat: use ethers_solc::Solc instead of ethers_core::utils::Solc ( #546 )
...
* feat(ethers-solc): deserialize bytecode as bytes
* feat(ethers-solc): add method to fetch compact contract
* feat(ethers-solc): use Abi type instead of Vec<serde_json::Value>
* test(contract): use new Solc bindings
* test(middleware): use new Solc bindings
* chore: remove solc from ethers-core
* chore: remove concurrent setup code from ethers-core
* feat(ethers-solc): add ArtifactOutput::Nothing as a no-op artifact logger
* feat: add ethers-solc to top level crate
* examples: use new solc building pattern
* chore(solc): re-use opt str impl for error code decoding
* fix abigen example
* chore: fix doctests
* chore: remove setup feature
* fix: decode string to bytes correctly
* chore: clippy lints
2021-10-31 13:34:51 +02:00
dependabot[bot]
e71fa21ccb
chore(deps): bump arrayvec from 0.7.1 to 0.7.2 ( #540 )
...
Bumps [arrayvec](https://github.com/bluss/arrayvec ) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/bluss/arrayvec/releases )
- [Changelog](https://github.com/bluss/arrayvec/blob/master/CHANGELOG.md )
- [Commits](https://github.com/bluss/arrayvec/compare/0.7.1...0.7.2 )
---
updated-dependencies:
- dependency-name: arrayvec
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-10-29 17:45:45 +02:00
Matthias Seitz
eede86df41
feat: add abi code trait impls ( #531 )
...
* feat: use const generics for array tokenize
* feat: add abi encode decode impls
* test: add some tests
* chore: move abi codec to core
* update changelog
2021-10-28 01:07:24 +03:00
dependabot[bot]
7ceaba9328
chore(deps): bump syn from 1.0.80 to 1.0.81 ( #535 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.80 to 1.0.81.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.80...1.0.81 )
---
updated-dependencies:
- dependency-name: syn
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-10-27 12:27:22 +02:00
dependabot[bot]
d50fc88441
chore(deps): bump proc-macro2 from 1.0.30 to 1.0.32 ( #534 )
...
Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2 ) from 1.0.30 to 1.0.32.
- [Release notes](https://github.com/dtolnay/proc-macro2/releases )
- [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.30...1.0.32 )
---
updated-dependencies:
- dependency-name: proc-macro2
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-10-27 12:27:14 +02:00
dependabot[bot]
cb46b1afed
chore(deps): bump proc-macro2 from 1.0.29 to 1.0.30 ( #504 )
...
Bumps [proc-macro2](https://github.com/alexcrichton/proc-macro2 ) from 1.0.29 to 1.0.30.
- [Release notes](https://github.com/alexcrichton/proc-macro2/releases )
- [Commits](https://github.com/alexcrichton/proc-macro2/compare/1.0.29...1.0.30 )
---
updated-dependencies:
- dependency-name: proc-macro2
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-10-13 16:07:30 +03:00
dependabot[bot]
6d9b300b86
chore(deps): bump thiserror from 1.0.29 to 1.0.30 ( #500 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.29 to 1.0.30.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.29...1.0.30 )
---
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-10-11 15:42:55 +03:00
dependabot[bot]
69c771c1c3
chore(deps): bump syn from 1.0.78 to 1.0.80 ( #499 )
...
Bumps [syn](https://github.com/dtolnay/syn ) from 1.0.78 to 1.0.80.
- [Release notes](https://github.com/dtolnay/syn/releases )
- [Commits](https://github.com/dtolnay/syn/compare/1.0.78...1.0.80 )
---
updated-dependencies:
- dependency-name: syn
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-10-11 15:42:47 +03:00
Ryan
d7ab229a4c
derive-eip712: initial implementation of eip712 derive macro ( #481 )
...
* derive-eip712: initial implementation of eip712 derive macro
This commit provides an initial implementation for a derive macro
to encode typed data according to EIP-712, https://eips.ethereum.org/EIPS/eip-712
Additionally, this commit introduces a new signer trait method:
async fn sign_typed_data<T: Eip712 + Send + Sync>(
&self,
payload: &T,
) -> Result<Signature, Self::Error>;
And implements the new method for each of the signers (wallet, ledger,
aws).
Additionally, these changes include using `WalletError` for the Wallet
signer error type
At the moment, derive does not recurse the primary type to find nested
Eip712 structs. This is something that is noted in the source and
currently responds with an error regarding custom types.
A subsequent PR should be opened once this issue becomes needed. For the
moment, the current implementation should satisfy non-nested, basic struct types.
* rename to ethers-derive-eip712; move to ethers-core
* refactor of derive-eip712 macro; use ParamType and EthAbiToken
* macro updates; add byte array checker for paramtype; use literal constant for domain type hash
* replace std::convert::Infallible with WalletError as Wallet signer error type
* update workspace members and dev dependencies for examples folder
* add example for eip712 and test against contract
* remove extraneous backward slash in '\x19\x01' prefix; example tests pass
* update unreleased change log
* remove print statements
* use parse_macro_input macro; remove dead code; handle nest struct not implemented error
* move eip712 example to solidity-contract tests folder; update cargo workspace dependencies
* allow optional EIP712Domain parameter when encoding eip712 struct and signing typed data
* add documentation for eip712 feature
* Update ethers-signers/src/ledger/mod.rs
Co-authored-by: Sebastian Martinez <me@sebastinez.dev>
* add error enum for Eip712Error; use sign_payload for ledger signer
* add EIP712WithDomain type for providing a wrapper around custom setting of the domain
* make LedgerWallet sign_payload public
* use optional feature gated dependencies for eip712; add default method for encode_eip712
* add default domain_separator method, pre-compute separator hash
* move derive-eip712 deps to dev deps
* remove invalid sign payload parameter, add await on async method
* remove deprecated comment
* debugging 'bad key handle' error for ledger signer
try using 'sign_message'
* await sign digest for aws signer
* remove extra space, fix fmt warning
* fix test, fmt errors
* use gt 0.6.0 pragma compiler version
* enable ABIEncoderV2 for solidity test contract
* chore: make test constructor public
Co-authored-by: Sebastian Martinez <me@sebastinez.dev>
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-10-08 16:22:51 +01:00
Georgios Konstantopoulos
ede76a2feb
fix(solc): normalize EVM version across solc versions ( #473 )
...
* fix(solc): normalize EVM version across solc versions
* fix: return semver::Version from solc::version instead of String
* fix off-by-1 error in solc version parsing
2021-09-28 02:25:45 +03:00
Georgios Konstantopoulos
8574e6a376
release: 0.5.3 ( #471 )
...
* release: version 0.5.3
* chore: update changelog
2021-09-27 13:20:10 +03:00
Georgios Konstantopoulos
7fdc47e8e5
chore: bump ethabi ( #469 )
2021-09-24 21:05:58 -04: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
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
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]
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
Georgios Konstantopoulos
838f19fcd4
(cargo-release) version 0.5.2
2021-08-31 13:39:25 +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
9df4d21d3b
(cargo-release) version 0.5.1 ( #414 )
2021-08-29 02:53:10 +03:00
Georgios Konstantopoulos
38c7f5030f
chore: remove cyclical dependencies ( #410 )
...
* chore(core): remove ethers dep
* chore(providers): remove ethers dep
tests using higher-rank crates are temporarily disabled
* chore(middleware): remove ethers dep and move tests over from providers
* chore(signers): remove ethers dep
* fix(contracts): correctly determine ethers sub-crates & remove ethers
* fix: re-enable tests for all members
* fix: make contract compile without middleware dep
move over the test using middleware to ethers-middleware
* chore: cargo fmt
* chore(contract): add missing import
* WIP
* WIP
* fix(middleware): use rustls as dev dep
* chore: cargo fmt
* fix: use different key for nonce manager to avoid nonce conflicts
* chore: fix celo test ported over to middlewares
the test had the same private key with an existing middleware test,
causing potential nonce reuses
it now also uses a different storage contract, so we had to change
it to use u256 instead of string
* fix(middleware): enable contracts/celo feature
* chore: ignore non-eip2718 txs to rinkeby
2021-08-29 00:06:29 +03:00
dependabot[bot]
38175c4b1a
chore(deps): bump bytes from 1.0.1 to 1.1.0 ( #407 )
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.0.1 to 1.1.0.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.0.1...v1.1.0 )
---
updated-dependencies:
- dependency-name: bytes
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-08-26 11:29:52 +03:00
dependabot[bot]
8ba1885f0b
chore(deps): bump elliptic-curve from 0.10.5 to 0.10.6 ( #406 )
...
Bumps [elliptic-curve](https://github.com/RustCrypto/traits ) from 0.10.5 to 0.10.6.
- [Release notes](https://github.com/RustCrypto/traits/releases )
- [Commits](https://github.com/RustCrypto/traits/compare/elliptic-curve-v0.10.5...elliptic-curve/v0.10.6 )
---
updated-dependencies:
- dependency-name: elliptic-curve
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-24 10:23:41 +03:00
Matthias Seitz
ea566663d4
feat: wasm support ( #390 )
...
* feat: partial wasm32 support
* make compile for wasm32
* feat: att async-trait attr
* make compatible with wasm
* add type alias for archs
* rustfmt
* add wasm ci
* make compile with wasm-pack test
* make compile with wasm-pack test
* make compile with wasm-pack test
* make compile with wasm-pack test
* ci: disable wasmpack
* feat: use wasm timer delay
* feat: add wasm provider
* rustfmt
* misc refactor
* add wasm example
* make example a directory
* untrack error log
* move profile to root
* fix unused imports
* ci: enable wasm-pack test
* style: unify websocket implementations
* fix: typos
* fix: make policy compatible with wasm target
* chore: do not include ethers-wasm example as top level workspace member
* chore: modify wasm32 dependencies
* chore: make note about getrandom
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-08-23 12:56:44 +03: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
James Prestwich
f78edfeabb
feature: add legacy feature to ethers crate ( #384 )
2021-08-17 09:48:02 +03:00
James Prestwich
e98288d0d5
bugfix: disable type serialization when legacy feature is set ( #383 )
2021-08-17 00:12:30 +03:00
Georgios Konstantopoulos
6cb7cac675
Release: 0.4 ( #382 )
...
* fix(abigen): use `no_deps` to avoid touching a Cargo.lock
* fix: use once_cell default features
* release: publish versions
core/providers/signers: 0.4.6
contract: 0.4.7
middleware: 0.4.8
ethers: 0.4.0
2021-08-16 11:54:12 +03:00
Georgios Konstantopoulos
453504cb78
chore: remove default feature on futures-util from all crates
2021-08-15 20:25:11 +03:00
Georgios Konstantopoulos
4d4436a894
fix(core): use async-await-macro to fix docs.rs publishing
2021-08-12 17:08:51 +03:00
Georgios Konstantopoulos
09ff480f19
feat: eip2930/1559 response type adjustments (part 1) ( #353 )
...
* refactor: move tx types to subdirectory
* feat(receipt): add tx-type and effective gas price for eip1559
* feat: add base_fee_per_gas to Block
* feat(tx): add eip1559/2930/2718 ret values
* fix(middleware): return signed raw rlp from tx signer / adjust tests
* chore: remove unused vars
* chore(core): remove funty lock from Cargo.toml
* chore: rename json var / cargo fmt
* add more context on eip1559 fees
2021-08-09 01:49:23 +03:00
Georgios Konstantopoulos
9dca606eaf
fix: make chain_id mandatory ( #286 )
...
* chore: update deps (#352 )
* chore(deps): bump elliptic-curve from 0.10.4 to 0.10.5
Bumps [elliptic-curve](https://github.com/RustCrypto/traits ) from 0.10.4 to 0.10.5.
- [Release notes](https://github.com/RustCrypto/traits/releases )
- [Commits](https://github.com/RustCrypto/traits/compare/elliptic-curve-v0.10.4...elliptic-curve-v0.10.5 )
---
updated-dependencies:
- dependency-name: elliptic-curve
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: bump deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* fix(core): make chain id mandatory
* fix(signers): make chain id mandatory
* test: make chain id mandatory
* test: add missing chain id
* fix: add missing chain id
* chore(wallet): set chain_id by default to 1
* ci: run CI on master
* fix(yubi): add missing chain id
* chore: skip ganache test with celo features
* ci: run only on push to master
* fix: add missing chain id
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-29 23:22:25 +03:00
Georgios Konstantopoulos
1cb2fe0247
chore: update deps ( #352 )
...
* chore(deps): bump elliptic-curve from 0.10.4 to 0.10.5
Bumps [elliptic-curve](https://github.com/RustCrypto/traits ) from 0.10.4 to 0.10.5.
- [Release notes](https://github.com/RustCrypto/traits/releases )
- [Commits](https://github.com/RustCrypto/traits/compare/elliptic-curve-v0.10.4...elliptic-curve-v0.10.5 )
---
updated-dependencies:
- dependency-name: elliptic-curve
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
* chore: bump deps
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-27 23:55:55 +03:00
dependabot[bot]
19f95ad6ff
chore(deps): bump hex-literal from 0.3.2 to 0.3.3 ( #344 )
...
Bumps [hex-literal](https://github.com/RustCrypto/utils ) from 0.3.2 to 0.3.3.
- [Release notes](https://github.com/RustCrypto/utils/releases )
- [Commits](https://github.com/RustCrypto/utils/compare/hex-literal-v0.3.2...hex-literal-v0.3.3 )
---
updated-dependencies:
- dependency-name: hex-literal
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-07-26 11:23:47 +03:00
dependabot[bot]
faeec7d316
chore(deps): bump futures-util from 0.3.15 to 0.3.16 ( #348 )
...
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.15 to 0.3.16.
- [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.15...0.3.16 )
---
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-07-26 11:23:34 +03:00
dependabot[bot]
7ad94c2c5f
chore(deps): bump elliptic-curve from 0.10.3 to 0.10.4 ( #340 )
...
Bumps [elliptic-curve](https://github.com/RustCrypto/traits ) from 0.10.3 to 0.10.4.
- [Release notes](https://github.com/RustCrypto/traits/releases )
- [Commits](https://github.com/RustCrypto/traits/compare/elliptic-curve-v0.10.3...elliptic-curve-v0.10.4 )
---
updated-dependencies:
- dependency-name: elliptic-curve
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-07-13 12:54:59 +03:00
Jonathan LEI
4afa1c9517
Add util functions for bytes32 string encoding/decoding ( #337 )
2021-07-12 11:20:38 +03:00
Georgios Konstantopoulos
330b62c986
chore: bump ethabi to 14.1.0
2021-07-08 19:06:20 +03:00
Georgios Konstantopoulos
fc5f84e090
fix: use ethabi from master w/ fixed abiv2 bug
2021-07-08 15:05:46 +03:00
Zaki Manian
371b7d1576
Update crypto deps for ethers ( #333 )
...
* Update crypto deps for ethers
* Update version 0.4.0
* Missed a version
* Fix internal version dependencies
* chore: use published eth-keystore-rs
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2021-07-07 20:18:14 +03:00
dependabot[bot]
3234942d87
chore(deps): bump futures-util from 0.3.14 to 0.3.15 ( #290 )
...
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.14 to 0.3.15.
- [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.14...0.3.15 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-05 14:20:58 +03:00
dependabot[bot]
176d930cd9
chore(deps): bump elliptic-curve from 0.10.0 to 0.10.3 ( #323 )
...
Bumps [elliptic-curve](https://github.com/RustCrypto/traits ) from 0.10.0 to 0.10.3.
- [Release notes](https://github.com/RustCrypto/traits/releases )
- [Commits](https://github.com/RustCrypto/traits/compare/elliptic-curve-v0.10.0...elliptic-curve-v0.10.3 )
---
updated-dependencies:
- dependency-name: elliptic-curve
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-07-05 14:15:11 +03:00
dependabot[bot]
ffcef0afa8
chore(deps): bump thiserror from 1.0.24 to 1.0.26 ( #328 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.24 to 1.0.26.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.24...1.0.26 )
---
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-07-05 14:14:51 +03:00
dependabot[bot]
ce20e312e3
chore(deps): bump once_cell from 1.7.2 to 1.8.0 ( #317 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.7.2 to 1.8.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.7.2...v1.8.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>
2021-06-16 19:17:00 +03:00
dependabot[bot]
c5b7ab66c6
chore(deps): bump elliptic-curve from 0.9.11 to 0.10.0 ( #311 )
...
Bumps [elliptic-curve](https://github.com/RustCrypto/traits ) from 0.9.11 to 0.10.0.
- [Release notes](https://github.com/RustCrypto/traits/releases )
- [Commits](https://github.com/RustCrypto/traits/compare/elliptic-curve-v0.9.11...elliptic-curve-v0.10.0 )
---
updated-dependencies:
- dependency-name: elliptic-curve
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-06-09 16:21:17 +03:00
dependabot-preview[bot]
244f6b7606
chore(deps): bump k256 from 0.7.2 to 0.7.3 ( #277 )
...
Bumps [k256](https://github.com/RustCrypto/elliptic-curves ) from 0.7.2 to 0.7.3.
- [Release notes](https://github.com/RustCrypto/elliptic-curves/releases )
- [Commits](https://github.com/RustCrypto/elliptic-curves/compare/k256/v0.7.2...k256/v0.7.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-27 23:18:16 +03:00
dependabot-preview[bot]
3e2d818d4a
chore(deps): bump elliptic-curve from 0.9.6 to 0.9.11 ( #281 )
...
Bumps [elliptic-curve](https://github.com/RustCrypto/traits ) from 0.9.6 to 0.9.11.
- [Release notes](https://github.com/RustCrypto/traits/releases )
- [Commits](https://github.com/RustCrypto/traits/compare/elliptic-curve-v0.9.6...elliptic-curve-v0.9.11 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-27 20:52:39 +03:00
dependabot-preview[bot]
2b94066cd5
chore(deps): bump tokio from 1.4.0 to 1.5.0 ( #275 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.4.0...tokio-1.5.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-16 10:09:43 +03:00
dependabot-preview[bot]
b7b706b935
chore(deps): bump bincode from 1.3.2 to 1.3.3 ( #266 )
...
Bumps [bincode](https://github.com/servo/bincode ) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/servo/bincode/releases )
- [Commits](https://github.com/servo/bincode/compare/v1.3.2...v1.3.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-15 19:46:51 +03:00
dependabot-preview[bot]
332fe4887b
chore(deps): bump futures-util from 0.3.13 to 0.3.14 ( #268 )
...
Bumps [futures-util](https://github.com/rust-lang/futures-rs ) from 0.3.13 to 0.3.14.
- [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.13...0.3.14 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-04-15 19:46:45 +03:00
Georgios Konstantopoulos
5eb31ceae9
chore: use latest ethabi ( #253 )
...
* chore: use latest ethabi
* chore: use re-exported ethereum types
2021-04-01 20:02:34 +03:00
Georgios Konstantopoulos
5dbed7cbd2
chore: use upstream ethabi ( #248 )
...
* chore: use upstream ethabi
* chore: make clippy happy
2021-03-31 11:20:08 +03:00
dependabot-preview[bot]
f3cb4f4f88
chore(deps): bump tokio from 1.2.0 to 1.4.0 ( #242 )
...
Bumps [tokio](https://github.com/tokio-rs/tokio ) from 1.2.0 to 1.4.0.
- [Release notes](https://github.com/tokio-rs/tokio/releases )
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.2.0...tokio-1.4.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-22 20:37:58 +02:00
Matthias Seitz
109337f138
feat: add async setup utility functions ( #241 )
...
* feat: add async compile and launch functions
* chore: update examples with new setup functions
* chore: disable setup for wasm32
2021-03-22 13:09:12 +02:00
dependabot-preview[bot]
021f79cb77
chore(deps): bump elliptic-curve from 0.9.4 to 0.9.5 ( #237 )
...
Bumps [elliptic-curve](https://github.com/RustCrypto/traits ) from 0.9.4 to 0.9.5.
- [Release notes](https://github.com/RustCrypto/traits/releases )
- [Commits](https://github.com/RustCrypto/traits/compare/elliptic-curve-v0.9.4...elliptic-curve-v0.9.5 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-18 07:33:03 +02:00
Georgios Konstantopoulos
05d2aa8579
feat: update ethabi ( #233 )
2021-03-17 00:28:06 +02:00
dependabot-preview[bot]
08cacfeee8
chore(deps): bump serde from 1.0.123 to 1.0.124 ( #222 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.123 to 1.0.124.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.123...v1.0.124 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-08 09:48:24 +02:00
dependabot-preview[bot]
b425e2bd9a
chore(deps): bump hex from 0.4.2 to 0.4.3 ( #220 )
...
Bumps [hex](https://github.com/KokaKiwi/rust-hex ) from 0.4.2 to 0.4.3.
- [Release notes](https://github.com/KokaKiwi/rust-hex/releases )
- [Commits](https://github.com/KokaKiwi/rust-hex/compare/v0.4.2...v0.4.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-04 09:30:36 +02:00
Georgios Konstantopoulos
61767c8dd2
release: 0.2.2 ( #219 )
2021-03-04 09:30:27 +02:00
dependabot-preview[bot]
0c3bb7b9c1
chore(deps): bump once_cell from 1.7.0 to 1.7.2 ( #218 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.7.0 to 1.7.2.
- [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.7.0...v1.7.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-03 10:36:06 +02:00
dependabot-preview[bot]
ba536e4c32
chore(deps): bump bincode from 1.3.1 to 1.3.2 ( #211 )
...
Bumps [bincode](https://github.com/servo/bincode ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/servo/bincode/releases )
- [Commits](https://github.com/servo/bincode/compare/v1.3.1...v1.3.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-03 00:30:00 +02:00
dependabot-preview[bot]
5081ca2ad1
chore(deps): bump serde_json from 1.0.62 to 1.0.64 ( #215 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.62 to 1.0.64.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.62...v1.0.64 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-03-02 14:53:33 +02:00
dependabot-preview[bot]
cf643e5ef1
chore(deps): bump once_cell from 1.6.0 to 1.7.0 ( #212 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.6.0 to 1.7.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.6.0...v1.7.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-25 09:17:02 +02:00
dependabot-preview[bot]
e88da4501c
chore(deps): bump once_cell from 1.5.2 to 1.6.0 ( #206 )
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.5.2 to 1.6.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.5.2...v1.6.0 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-23 09:31:12 +02:00
dependabot-preview[bot]
a3f7aabb7a
chore(deps): bump elliptic-curve from 0.9.3 to 0.9.4 ( #203 )
...
Bumps [elliptic-curve](https://github.com/RustCrypto/traits ) from 0.9.3 to 0.9.4.
- [Release notes](https://github.com/RustCrypto/traits/releases )
- [Commits](https://github.com/RustCrypto/traits/compare/elliptic-curve-v0.9.3...elliptic-curve-v0.9.4 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-22 10:04:30 +02:00
dependabot-preview[bot]
eb318a2689
chore(deps): bump thiserror from 1.0.23 to 1.0.24 ( #204 )
...
Bumps [thiserror](https://github.com/dtolnay/thiserror ) from 1.0.23 to 1.0.24.
- [Release notes](https://github.com/dtolnay/thiserror/releases )
- [Commits](https://github.com/dtolnay/thiserror/compare/1.0.23...1.0.24 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-22 10:04:18 +02:00
dependabot-preview[bot]
6f26490385
chore(deps): bump elliptic-curve from 0.9.2 to 0.9.3 ( #198 )
...
Bumps [elliptic-curve](https://github.com/RustCrypto/traits ) from 0.9.2 to 0.9.3.
- [Release notes](https://github.com/RustCrypto/traits/releases )
- [Commits](https://github.com/RustCrypto/traits/compare/elliptic-curve-v0.9.2...elliptic-curve-v0.9.3 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-18 11:27:22 +02:00
Georgios Konstantopoulos
e82b09f521
Update deps ( #196 )
...
* chore: bump ethtypes and ethabi
* chore: bump elliptic curve
2021-02-16 20:58:45 +02:00
Georgios Konstantopoulos
a43299c838
fix(abigen): correctly parse params in human readable abi ( #194 )
...
* fix(abigen): correctly parse params in human readable abi
* chore: make clippy happy
* test: remove unwrap
* chore: make clippy happy again
* chore: fix contract.rs example
* chore: rename to contract using human readable format
* examples: add abigen example with path to abi
* fix: pin funty version to fix bitvec error
* chore: remove unused import
* chore: fix deps
2021-02-16 19:10:26 +02:00
dependabot-preview[bot]
6e5fd198cb
chore(deps): bump serde_json from 1.0.61 to 1.0.62 ( #190 )
...
Bumps [serde_json](https://github.com/serde-rs/json ) from 1.0.61 to 1.0.62.
- [Release notes](https://github.com/serde-rs/json/releases )
- [Commits](https://github.com/serde-rs/json/compare/v1.0.61...v1.0.62 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-02-10 11:55:48 +02:00
dependabot-preview[bot]
b69f68f089
chore(deps): bump serde from 1.0.120 to 1.0.123 ( #181 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.120 to 1.0.123.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.120...v1.0.123 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-26 17:41:58 +02:00
dependabot-preview[bot]
11e3284f22
chore(deps): bump serde from 1.0.119 to 1.0.120 ( #176 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.119 to 1.0.120.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.119...v1.0.120 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-23 12:31:24 +02:00
Georgios Konstantopoulos
1b12fd8aff
I256 implementation ( #175 )
...
* Resolve: add I256 implementation
* Resolve: add I256 implementation - Untracked files
* fix: make i256 tests work
Co-authored-by: 1saf <me@ansaf.net>
2021-01-19 14:21:46 +02:00
dependabot-preview[bot]
fe4de53d84
chore(deps): bump k256 from 0.7.1 to 0.7.2 ( #156 )
...
Bumps [k256](https://github.com/RustCrypto/elliptic-curves ) from 0.7.1 to 0.7.2.
- [Release notes](https://github.com/RustCrypto/elliptic-curves/releases )
- [Commits](https://github.com/RustCrypto/elliptic-curves/compare/k256/v0.7.1...k256/v0.7.2 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-17 14:23:51 +02:00
Georgios Konstantopoulos
fc4b3e4ce4
release: bump to 0.2.0 ( #151 )
2021-01-13 20:10:50 +02:00
dependabot-preview[bot]
177f0c3eb9
chore(deps): bump serde from 1.0.118 to 1.0.119 ( #146 )
...
Bumps [serde](https://github.com/serde-rs/serde ) from 1.0.118 to 1.0.119.
- [Release notes](https://github.com/serde-rs/serde/releases )
- [Commits](https://github.com/serde-rs/serde/compare/v1.0.118...v1.0.119 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-12 10:02:30 +02:00
dependabot-preview[bot]
c74b31a394
chore(deps): bump bytes from 1.0.0 to 1.0.1 ( #145 )
...
Bumps [bytes](https://github.com/tokio-rs/bytes ) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/tokio-rs/bytes/releases )
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md )
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.0.0...v1.0.1 )
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2021-01-12 10:01:57 +02:00
Georgios Konstantopoulos
29a3a16085
chore: upgrade to latest ethtypes ( #137 )
...
* chore: upgrade to latest ethtypes
* chore: fix doctests
2021-01-10 14:03:37 +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
5860a1df6c
Trim some dependencies ( #116 )
...
* core: trim deps
* providers: trim deps
* contract: trim deps
* middleware: trim deps
* signers: trim deps
2020-12-25 02:17:21 +02:00
Georgios Konstantopoulos
b0bfd550fb
fix: reschedule waker if receipt is immediately available ( #103 )
...
* fix: reschedule waker if receipt is immediately available
* chore: update minor deps
`cargo update`
* chore: make clippy happy
2020-12-16 14:05:16 +02:00
Georgios Konstantopoulos
aa37f74c4b
feat: generalize wallet/private key + yubihsm2 ( #75 )
...
* feat: generalize wallet/private key
* fix: adjust celo tests
* YubiHSM2 Support (#76 )
* feat: support YubiHSM2
2020-10-02 11:41:16 +03:00
Georgios Konstantopoulos
c65497543e
feat: convert signing to k256 ( #72 )
...
* feat: convert signing to k256
* fix: pass pre-hashed message to sig verification
* feat: wrap the hash to a Digest implementation
* refactor: cleanup and move digest impl to separate file
* chore: adjust abigen tests due to rust update
* test: add byte equality test between ethers-rs / web3.js signatures
* fix(keys): use 512 blocks for sha256
Co-authored-by: Rohit Narurkar <rohit.narurkar@protonmail.com>
Co-authored-by: Alex Vlasov <alex.m.vlasov@gmail.com>
2020-10-01 11:02:21 +03:00
Georgios Konstantopoulos
4ff466a593
fix intradoc links and add missing cargo metadata ( #29 )
2020-06-20 16:55:07 +03:00
Georgios Konstantopoulos
7ff8b8222c
Dual license under MIT/Apache 2 ( #28 )
...
* fix: dual license MIT / Apache 2
* provider: add missing license
2020-06-18 08:20:20 +03:00
Georgios Konstantopoulos
ba5ae5a894
Add Celo support ( #8 )
...
* feat(types): add optional Celo support
* feat: add Celo feature flags to all crates
* test(provider): add get_transaction celo test
* test(signer): add send_transaction celo test
* test(contract): add deploy and call contract function celo test
2020-06-17 12:22:01 +03:00
Georgios Konstantopoulos
20493e0190
Fix Pending Transactions and EIP-155 ( #22 )
...
* fix(provider): ensure the Pending transaction calls the waker to get polled again
* feat(core): allow setting the blocktime in ganache
* test(provider): move pending txs test to integration tests + use block time
* fix(signers): make EIP-155 optional and fix sighash generation bug
2020-06-17 11:02:03 +03:00
Georgios Konstantopoulos
1a47e933ae
feat(signers): implement Serde and make Wallet API smaller ( #20 )
...
* feat(signers): implement Serde and make API smaller
* fix: add abigen as a dev-dependency feature
2020-06-17 09:38:04 +03:00
Georgios Konstantopoulos
570b45eb10
ABI Encoder v2 + ABI Spec v6.6 ( #17 )
...
* feat(core): update ethabi and enable more Toeknize impls
* feat(contract/abigen): implement simple AbiEncoderV2
* tests(ethers): add abigen example
* fix(core): fix abi tests
* chore: make clippy happy
2020-06-16 15:08:42 +03:00
Georgios Konstantopoulos
cd4914d37f
refactor: pull crates to root dir
2020-06-01 21:24:22 +03:00