Georgios Konstantopoulos
a30a4ecd16
test(providers): use new celo txhash which has not been wiped
2022-01-16 22:18:25 +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]
fcf0619970
chore(deps): bump tracing-subscriber from 0.3.5 to 0.3.6 ( #794 )
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.3.5 to 0.3.6.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.5...tracing-subscriber-0.3.6 )
---
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>
2022-01-16 18:06:46 +02:00
dependabot[bot]
caac37fc46
chore(deps): bump follow-redirects in /examples/ethers-wasm ( #795 )
...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects ) from 1.14.2 to 1.14.7.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases )
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.14.2...v1.14.7 )
---
updated-dependencies:
- dependency-name: follow-redirects
dependency-type: indirect
...
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:38 +02:00
Yaser Martinez Palenzuela
4731dc93f8
add abigen uniswapv2 example ( #798 )
2022-01-16 18:06:22 +02:00
Matthias Seitz
d2318d285d
chore(deps): bump solang ( #796 )
...
* chore(deps): bump solang
* fix: breaking test
2022-01-15 17:53:46 +02:00
dependabot[bot]
93878e45c9
chore(deps): bump getrandom from 0.2.3 to 0.2.4 ( #790 )
...
Bumps [getrandom](https://github.com/rust-random/getrandom ) from 0.2.3 to 0.2.4.
- [Release notes](https://github.com/rust-random/getrandom/releases )
- [Changelog](https://github.com/rust-random/getrandom/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-random/getrandom/compare/v0.2.3...v0.2.4 )
---
updated-dependencies:
- dependency-name: getrandom
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-15 12:41:55 +02:00
Eugene
cbfbd6052c
Implement trace_callMany ( #792 )
...
* Implement trace_callMany
* cargo fix and ignore flaky test for now
* Update ethers-providers/src/provider.rs
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-01-15 12:41:43 +02:00
Matthias Seitz
77dcccb7ba
fix(abi): check for uint8 params in human readable types ( #789 )
...
* fix(abi): check for uint8 params in human readable types
* Update ethers-core/src/abi/human_readable.rs
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
* fix mapping detection
* rustfmt
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-01-13 15:33:31 +02:00
Georgios Konstantopoulos
116ac2d691
chore: update ethabi
...
adds ability to parse public enums as u8s
https://github.com/rust-ethereum/ethabi/issues/254\#event-5886159647
2022-01-13 12:01:32 +02:00
Matthias Seitz
b619a5522f
feat(solc): relative remappings ( #786 )
2022-01-13 02:59:53 +02:00
Matthias Seitz
d2b59d7097
chore: silence unused ws macro ( #788 )
2022-01-13 02:59:02 +02:00
Matthias Seitz
d4f8984f59
chore(deps): bump ethabi master ( #787 )
2022-01-13 02:58:11 +02:00
Georgios Konstantopoulos
19671e51de
chore: fix lints / solc test
2022-01-11 12:13:09 +02:00
dependabot[bot]
c95c12e0d1
chore(deps): bump tempfile from 3.2.0 to 3.3.0 ( #780 )
...
Bumps [tempfile](https://github.com/Stebalien/tempfile ) from 3.2.0 to 3.3.0.
- [Release notes](https://github.com/Stebalien/tempfile/releases )
- [Changelog](https://github.com/Stebalien/tempfile/blob/master/NEWS )
- [Commits](https://github.com/Stebalien/tempfile/compare/v3.2.0...v3.3.0 )
---
updated-dependencies:
- dependency-name: tempfile
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-01-11 12:03:09 +02:00
Matthias Seitz
4d2cd83698
fix(solc): invalid cached artifacts ( #783 )
...
* add some docs
* ignore malformed cache file
* more artifacts fixes
* fix(solc): remove quotation marks from tests
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-01-11 12:02:57 +02:00
Tarrence van As
092bd96a39
feat(chain): enum values + TryFrom<u64> ( #782 )
...
* feat(chain): map Chain enum to values
* feat(chain): support TryFrom<u64>
* chore: use parsechain error for the try_from impl
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-01-11 11:31:09 +02:00
dependabot[bot]
e3c86231de
chore(deps): bump reqwest from 0.11.8 to 0.11.9 ( #785 )
...
Bumps [reqwest](https://github.com/seanmonstar/reqwest ) from 0.11.8 to 0.11.9.
- [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.8...v0.11.9 )
---
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-01-11 11:18:03 +02:00
Matthias Seitz
e0b6f65359
refactor(solc): more temp project features ( #778 )
...
* chore: replace tempdir with tempfile crate
* update tempproject constructors
* make clippy happy
* add default impl
2022-01-10 21:43:34 +02:00
Rohit Narurkar
3b0b313247
Uniswap weth addrbook ( #779 )
...
* chore: docs for ethers-addressbook crate
* chore: add uniswap and weth contract addresses for various networks
2022-01-09 18:30:13 +02:00
brockelmore
1287614e53
Implement `is_empty` for `AllowedLibPaths` ( #777 )
...
* pub svm_compile
* empty allowed paths
2022-01-09 00:20:28 +02:00
Georgios Konstantopoulos
270fe46d37
feat(solc): expose svm_compile
2022-01-08 22:51:18 +02:00
Bjerg
48bd3f13e2
Ignore SPDX and contract size for tests ( #775 )
...
* Filter for unignored warnings
* Pass compiler output to diagnostics
* Ignore SPDX and contract size warnings for tests
* Fix lint
* Skip lookups if error is not a warning
2022-01-08 22:26:23 +02:00
Eugene
8ddf111560
make it work with latest solang ( #776 )
...
* make it work with latest solang
* rustfmt
* rm uneeded import
2022-01-08 22:17:07 +02:00
Eugene
ba99bc1bca
make it work with latest solang ( #776 )
...
* make it work with latest solang
* rustfmt
* rm uneeded import
2022-01-08 22:16:54 +02:00
thasarito
8e0eddbb57
feat: change abi_str to abi from contract in for hardhat abi ( #740 )
2022-01-08 11:17:36 +02:00
Bjerg
86044bc0c3
Add `ProjectCompileOutput::has_compiler_warnings` ( #773 )
...
* Add `ProjectCompileOutput::has_compiler_warnings`
* Nits
2022-01-07 17:29:19 +02:00
Bjerg
21a4adea3e
Check for warnings after compilation ( #772 )
...
* Check for warnings after compilation
* Always catch errors first
2022-01-07 16:53:36 +02:00
Nikolaj Lollike
24fd7e16fd
remove unofficial testnet dai ( #771 )
...
Official rinkeby support for MCD has been deprecated a long time ago. Furthermore the rinkeby address in this library is not even a dai.sol implementation - not sure who deployed or maintains this instance.
Instead I would encourage users to utilize the official goerli MCD instance, and the related Dai token for testing, which I have added in this commit.
2022-01-07 16:52:40 +02:00
Bjerg
f1450e72f8
Add WETH to address book ( #770 )
2022-01-07 15:14:20 +02:00
Matthias Seitz
d54d381b74
feat(solc): add more contract utility types and functions ( #765 )
...
* feat(solc): add more contract utility functions
* Update ethers-solc/src/artifacts.rs
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
* docs: deindent docs
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-01-07 14:10:33 +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
Rohit Narurkar
2d05ea6234
ethers-addressbook crate ( #769 )
...
* feat: macro and token (simplest form)
* fix: better structure to fetch token by string symbol
* chore: add tokenlist to prelude
* fix: from current dir
* fix: dir refactoring
* fix: clippy
* chore: refactor tokenlist to addressbook
2022-01-07 12:12:21 +02:00
Matthias Seitz
eeb2a84df4
fix(solc): allow cyclic imports ( #766 )
2022-01-07 02:12:33 +02:00
Matthias Seitz
88b342287a
feat(solc): add source map parser ( #658 )
...
* feat(solc): add source map parser
* merge branch master
* make some types private
* chore: make id an option
* fix: support negative field values
* check parsed element
2022-01-06 13:54:46 +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]
54a523a24a
chore(deps): bump spki from 0.5.3 to 0.5.4 ( #763 )
...
Bumps [spki](https://github.com/RustCrypto/formats ) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/RustCrypto/formats/releases )
- [Commits](https://github.com/RustCrypto/formats/compare/spki/v0.5.3...spki/v0.5.4 )
---
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>
2022-01-06 08:20:17 +02:00
Matthias Seitz
fc9f66c916
feat(solc): add dependency graph implementation ( #750 )
...
* docs: document public functions
* add mod
* feat(solc): add dependency graph
* detect version
* add into sources
* fix: canonicalize temp paths
* test: add graph tests
* chore(clippy): make clippy happy
* more wasm compat
* chore: update changelog
* wasm compat
* unused
* fix get source fill function
* Update ethers-solc/src/resolver.rs
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
* perf: use solang_parser to trim down deps
* resolve graph in compile
* refactor add node function
* docs: clear up comment
* docs: typos
* fix: make all versions unique based on their major minor path version
* prepare test
* docs: add more resolve docs
* test: add lib change detection test
* test: update tests
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-01-05 23:46:57 +02:00
Matthias Seitz
3da5a419fe
fix(solc): add timeout and error detection for releases lookup ( #759 )
...
* fix(solc): add timeout and error detection for releases lookup
* bump tokio cargo update
* fix: move timeout in async block
2022-01-05 20:42:07 +02:00
Matthias Seitz
2ca8f99e87
feat(solc): add path auto detection ( #761 )
2022-01-05 19:33:56 +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
Georgios Konstantopoulos
4980d8b67a
fix(examples): contract with abi test ( #757 )
2022-01-04 11:32:17 +02:00
odyslam.eth
96ef787230
feat: add FromStr impl for Chain ( #756 )
...
* feat: add FromStr impl for Chain
* fix(core): return error if chain not found
Co-authored-by: Georgios Konstantopoulos <me@gakonst.com>
2022-01-04 00:51:01 +02:00
Will Minshew
a99949ccc2
update README links ( #754 )
2022-01-01 10:18:49 +02:00
dependabot[bot]
2611b61153
chore(deps): bump tracing-subscriber from 0.3.4 to 0.3.5 ( #752 )
...
Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing ) from 0.3.4 to 0.3.5.
- [Release notes](https://github.com/tokio-rs/tracing/releases )
- [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.4...tracing-subscriber-0.3.5 )
---
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-12-30 12:56:16 +02:00
joshieDo
c6b51e3ae0
feat/trezor: cache session on filesystem ( #747 )
...
* save and read from cache
* fix
* read/write from/to file directly
* add cache_dir to TrezorEthereum
* fmt & clippy
2021-12-30 01:38:29 +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