-
Notifications
You must be signed in to change notification settings - Fork 795
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i had also been flirting with implementing this feature and happened to stumble across your PR so i put some of my thoughts in a review here 😄
cheers to learning together!
if warnings_as_errors { | ||
true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this treats errors with severity type Info
(rather than just Warning
) as errors as well (unsure if this is intended). also, users may have populated ignored_error_codes
and this logic will disregard those preferences.
here is what i had implemented locally:
pub fn has_error(&self, ignored_error_codes: &[u64], warnings_as_errors: bool) -> bool {
if warnings_as_errors && self.has_warning(ignored_error_codes) {
return true
}
self.errors.iter().any(|err| err.severity.is_error())
}
only errors w/Warning
severity & warnings that are not ignored will be treated as errors in this case. unsure which solution is correct, just wanted to point out some inherent assumptions being made here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
implementation pattern LGTM - defer to @mattsse on what the right choice to do here is
@@ -1618,6 +1618,25 @@ fn can_compile_model_checker_sample() { | |||
assert!(compiled.has_compiler_warnings()); | |||
} | |||
|
|||
#[test] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perhaps worth adding a test where set_warnings_as_errors
is used in conjunction with ignored_error_codes
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes please!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great catch, I wrote a new test which failed as predicted by David. I adjusted the has_error() fn to be a conjunction of the two solutions. Ty for the guidance everyone 🙏
let ignored_error_codes = cache.project().ignored_error_codes.clone(); | ||
let skip_write_to_disk = cache.project().no_artifacts || output.has_error(); | ||
let project = cache.project(); | ||
let ignored_error_codes = project.ignored_error_codes.clone(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perhaps follow convention here and change to:
let warnings_as_errors = cache.project().warnings_as_errors.clone();
if warnings_as_errors { | ||
true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
implementation pattern LGTM - defer to @mattsse on what the right choice to do here is
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's replace the bool arg with Severity
/// Whether the output contains a compiler error | ||
pub fn has_error(&self) -> bool { | ||
self.errors.iter().any(|err| err.severity.is_error()) | ||
pub fn has_error(&self, warnings_as_errors: bool) -> bool { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is fine.
Instead of the bool argument this could just take the Severity
enum as argument and find all errors that are >=
(needs Ord impl)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I pushed a second commit that changed to using Severity as argument. I'm assuming it was following the correct pattern. If you think there are any specifics that could be adjusted, feel free to let me know.
During implement I had to choose between adding a Copy trait to Severity or passing a pointer down. I chose pointer since it was similar to "ignored_error_codes" and wasn't sure if Copy is something that is generally not preferred?
I added a second commit to go with Severity as an argument, since that sounds like it could be the preferred solution. |
I took a look at the logs during the workflows lint step and noticed it exited when it got to my test. I made another commit to see if formatting that code will fix it, but I am not really sure what went wrong. |
@@ -449,7 +443,7 @@ impl AggregatedCompilerOutput { | |||
}) | |||
} | |||
|
|||
pub fn diagnostics<'a>(&'a self, ignored_error_codes: &'a [u64], warnings_as_errors: bool) -> OutputDiagnostics { | |||
pub fn diagnostics<'a>(&'a self, ignored_error_codes: &'a [u64], warnings_as_errors: &'a Severity) -> OutputDiagnostics { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need to take this as ref
pub fn diagnostics<'a>(&'a self, ignored_error_codes: &'a [u64], warnings_as_errors: &'a Severity) -> OutputDiagnostics { | |
pub fn diagnostics<'a>(&'a self, ignored_error_codes: &'a [u64], warnings_as_errors: Severity) -> OutputDiagnostics { |
@@ -711,7 +705,7 @@ pub struct OutputDiagnostics<'a> { | |||
/// the error codes to ignore | |||
ignored_error_codes: &'a [u64], | |||
/// treat warnings as errors | |||
warnings_as_errors: bool, | |||
warnings_as_errors: &'a Severity, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
warnings_as_errors: &'a Severity, | |
warnings_as_errors: Severity, |
@@ -711,7 +705,7 @@ pub struct OutputDiagnostics<'a> { | |||
/// the error codes to ignore | |||
ignored_error_codes: &'a [u64], | |||
/// treat warnings as errors | |||
warnings_as_errors: bool, | |||
warnings_as_errors: &'a Severity, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please rename to something akin to severity
CI failure unrelated, good progress and thank you for taking the time to address our review nits ^^, can merge once Matt's comments are 👍 |
It was my pleasure 💯 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm, ty!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is looking great, but let's add that one final test just to make sure we don't break anything on Foundry.
@@ -1618,6 +1618,25 @@ fn can_compile_model_checker_sample() { | |||
assert!(compiled.has_compiler_warnings()); | |||
} | |||
|
|||
#[test] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes please!
…odes and adjusted has error for the added test case
…hers-rs into warnings-as-errors
One thing to note, the first test checks all smart contracts in that test-data dir I created. The second test I was much more specific and only tested 1 smart contract and the error code that goes with it. |
I made another commit based on the idea of retaining >= on the Severity enum. |
Bumps [rust_decimal](https://github.com/paupino/rust-decimal) from 1.25.0 to 1.26.0. - [Release notes](https://github.com/paupino/rust-decimal/releases) - [Changelog](https://github.com/paupino/rust-decimal/blob/master/CHANGELOG.md) - [Commits](https://github.com/paupino/rust-decimal/compare/1.25.0...1.26.0) --- updated-dependencies: - dependency-name: rust_decimal 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> rebase chore(deps): bump chrono from 0.4.19 to 0.4.20 (#1568) Bumps [chrono](https://github.com/chronotope/chrono) from 0.4.19 to 0.4.20. - [Release notes](https://github.com/chronotope/chrono/releases) - [Changelog](https://github.com/chronotope/chrono/blob/main/CHANGELOG.md) - [Commits](https://github.com/chronotope/chrono/compare/v0.4.19...v0.4.20) --- updated-dependencies: - dependency-name: chrono 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> chore(solc): improve remapping errors (#1570) * chore(solc): improve remapping errors * fix: update error names * chore: rename test chore(deps): bump path-slash from 0.2.0 to 0.2.1 (#1575) Bumps [path-slash](https://github.com/rhysd/path-slash) from 0.2.0 to 0.2.1. - [Release notes](https://github.com/rhysd/path-slash/releases) - [Changelog](https://github.com/rhysd/path-slash/blob/master/CHANGELOG.md) - [Commits](https://github.com/rhysd/path-slash/compare/v0.2.0...v0.2.1) --- updated-dependencies: - dependency-name: path-slash 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> chore(deps): bump rust_decimal from 1.26.0 to 1.26.1 (#1574) Bumps [rust_decimal](https://github.com/paupino/rust-decimal) from 1.26.0 to 1.26.1. - [Release notes](https://github.com/paupino/rust-decimal/releases) - [Changelog](https://github.com/paupino/rust-decimal/blob/master/CHANGELOG.md) - [Commits](https://github.com/paupino/rust-decimal/compare/1.26.0...1.26.1) --- updated-dependencies: - dependency-name: rust_decimal 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> Derive Clone on Wallet (#1573) chore: add aurora etherscan endpoints (#1572) fix: typo on README.md (#1571) chore: update max solc version 0.8.16 (#1578) chore: skip none trace error (#1577) chore: update svm crates (#1579) solc: fix bug in basic lib and basic contract generation (#1580) feat(solc): add helper to checkout temp projects (#1581) Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> fix(solc): strip .sol suffix (#1583) feat: add etherscan urls function (#1582) feat(TraceType+Deserialize): added Deserialize to TraceType (#1585) feat(TraceType+PartialEq): added PartialEq to TraceType (#1586) * feat(TraceType+PartialEq): added PartialEq to TraceType * Update ethers-core/src/types/trace/mod.rs Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de> chore(deps): bump serial_test from 0.8.0 to 0.9.0 (#1587) Bumps [serial_test](https://github.com/palfrey/serial_test) from 0.8.0 to 0.9.0. - [Release notes](https://github.com/palfrey/serial_test/releases) - [Commits](https://github.com/palfrey/serial_test/compare/v0.8.0...v0.9.0) --- updated-dependencies: - dependency-name: serial_test dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore: update svm and svm-builds (#1588) feat(solc): add missing helper functions (#1592) test(solc): ensure trigger rebuild on settings change (#1591) chore(etherscan): add set cache helper (#1589) feat(solc): resolve absolute imports in libraries (#1590) * feat(solc): resolve absolute imports in libraries * feat(solc): support --include-path * update test * only add base path if not empty * simplify solc config * include root in include paths * test: add test for absolute imports * fix: bad predicate * cleanup * fix: use base-path directly * fix: exclude root from include set chore(clippy): make clippy happy (#1595) chore(solc): improve io error for bad symlinks (#1594) fix(solc): ensure base-path is not include-path (#1596) feat(etherscan): add invalid api key error type (#1600) chore(deps): bump futures-executor from 0.3.21 to 0.3.23 (#1597) Bumps [futures-executor](https://github.com/rust-lang/futures-rs) from 0.3.21 to 0.3.23. - [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.21...0.3.23) --- updated-dependencies: - dependency-name: futures-executor dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump futures-util from 0.3.21 to 0.3.23 (#1598) Bumps [futures-util](https://github.com/rust-lang/futures-rs) from 0.3.21 to 0.3.23. - [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.21...0.3.23) --- updated-dependencies: - dependency-name: futures-util dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump k256 from 0.11.3 to 0.11.4 (#1599) Bumps [k256](https://github.com/RustCrypto/elliptic-curves) from 0.11.3 to 0.11.4. - [Release notes](https://github.com/RustCrypto/elliptic-curves/releases) - [Commits](https://github.com/RustCrypto/elliptic-curves/compare/k256/v0.11.3...k256/v0.11.4) --- updated-dependencies: - dependency-name: k256 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore: bump ethabi (#1601) fix(providers): validate address resolver (#1605) * validate address resolver * use Selector type instead * specify which ens_name on resolver error * pad supportsInterface argument chore(deps): bump once_cell from 1.13.0 to 1.13.1 (#1606) Bumps [once_cell](https://github.com/matklad/once_cell) from 1.13.0 to 1.13.1. - [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.13.0...v1.13.1) --- updated-dependencies: - dependency-name: once_cell dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> fix(ethers-core): Deserialize a Filter request with `topics == null` (#1604) * fix(ethers-core): Deserialize a Filter request with `topics == null` * Update ethers-core/src/types/filter.rs Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de> Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de> fix: sanitize absolute paths from etherscan (#1603) test: comment out etherscan abigen! test (#1616) Export LogQueryError (#1615) chore: make proof response fields pub (#1612) fix: support formatting large units (#1608) feat: add events function to set multiple event filter (#1607) chore(solc): improve file not found error (#1611) Don't auto-generate an AccessList when sending/filling a tx (#1619) Add an optionnal `block` parameter to the gas estimation method fix(solc): use cache context when determining artifact files (#1621) * fix(solc): use cache context when determining artifact files * update changelog fix: extend eth_syncing response type and serde (#1624) chore: add some traces (#1622) * chore: add some traces * Update ethers-providers/src/transports/ws.rs Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> fix(solc): consider case sensitive conflicting artifact paths (#1625) * fix(solc): consider case sensitive conflicting artifact paths * chore: fmt Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> More gas oracles (#1251) * Deriver auto_impls for GasOracle * Provider as GasOracle * impl fill_transaction in GasOracleMiddleware chore: update svm (#1627) feat: support retrying connection errors (#1629) fix(core): clarify Geth trace structs (#1626) * fix(core): clarify Geth trace structs * add geth references * add fields matching to geth fix: handle provider error correctly (#1630) * fix: handle provider error correctly * chore(clippy): make clippy happy * chore: rustfmt * convert http error fix(providers): QuorumProvider zero-parameter json Value handling (#1613) * Correction to QuorumProvider json Value handling with zero-parameter cases * Update to properly pass through when no parameters are specified chore: fmt fix: dont skip null to field (#1631) Fix 'get_transactions' response. (#1632) * Fix 'get_transactions' response. * Add some explanation to GenesisOption. * One-line-ifying * Update changelog feat(abigen): descriptive deserialization errors (#1633) * feat(abigen): descriptive deserialization errors * update changelog * map_err -> wrap_err ethers-etherscan: derive debug, clone and copy (#1634) * ethers-etherscan: derive debug, clone and copy Derive Debug, Clone and Copy on all appropriate Structs and Enums. * Update changelog feat(core): more derives for geth trace structs (#1637) * feat(core): more derives for geth trace structs * derive Eq as well nit: Explicitly handle all chains on match (#1635) feat: add uint8 type (#1639) * feat: add uint8 type * update changelog * derive default * fix: failing test feat(contract): update Multicall to Multicall3 (#1584) * chore: update multicall_contract binding * feat: update multicall_contract.rs to Multicall3 * fix multicall_contract.rs exports * update test Multicall.sol contract * feat: update Multicall to Multicall3 * update exports * update tests * perf: use aggregate3 when no value is being sent * feat: handle revert data * test: add multicall v2 and v3 tests * fix: clippy * docs: add documentation, improve comments * docs: add more documentation * fix: solidity minimum version for Multicall.sol * fix: multicall_contract.rs imports * docs: add explanation for previous commit * docs * docs * fix: remove unused re-export, feature gate Multicall * fix: address review * chore: improve error handling * chore: export MulticallError * docs test: add large tuple test (#1642) fix: set chain id explicitly (#1647) feat: add support for Optimism Goerli (#1641) chore: bump eth-keystore (#1643) chore(deps): bump futures-util from 0.3.23 to 0.3.24 (#1644) Bumps [futures-util](https://github.com/rust-lang/futures-rs) from 0.3.23 to 0.3.24. - [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.23...0.3.24) --- updated-dependencies: - dependency-name: futures-util dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump eth-keystore from 0.4.2 to 0.5.0 (#1645) Bumps [eth-keystore](https://github.com/roynalnaruto/eth-keystore-rs) from 0.4.2 to 0.5.0. - [Release notes](https://github.com/roynalnaruto/eth-keystore-rs/releases) - [Changelog](https://github.com/roynalnaruto/eth-keystore-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/roynalnaruto/eth-keystore-rs/commits) --- updated-dependencies: - dependency-name: eth-keystore dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump futures-executor from 0.3.23 to 0.3.24 (#1646) Bumps [futures-executor](https://github.com/rust-lang/futures-rs) from 0.3.23 to 0.3.24. - [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.23...0.3.24) --- updated-dependencies: - dependency-name: futures-executor dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> fix(solc): use correct model for metadata libraries (#1648) * chore: add spells output * fix(solc): use correct model for metadata libraries fix(abigen): only derive default of no arrays len > 32 (#1653) * fix(abigen): only derive default of no arrays len > 32 * impl default chore(deps): bump md-5 from 0.10.1 to 0.10.2 (#1649) Bumps [md-5](https://github.com/RustCrypto/hashes) from 0.10.1 to 0.10.2. - [Release notes](https://github.com/RustCrypto/hashes/releases) - [Commits](https://github.com/RustCrypto/hashes/compare/md2-v0.10.1...md-5-v0.10.2) --- updated-dependencies: - dependency-name: md-5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump thiserror from 1.0.32 to 1.0.33 (#1650) Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.32 to 1.0.33. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.32...1.0.33) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump sha2 from 0.10.2 to 0.10.3 (#1651) Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.10.2 to 0.10.3. - [Release notes](https://github.com/RustCrypto/hashes/releases) - [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.10.2...sha2-v0.10.3) --- updated-dependencies: - dependency-name: sha2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump pretty_assertions from 1.2.1 to 1.3.0 (#1652) Bumps [pretty_assertions](https://github.com/rust-pretty-assertions/rust-pretty-assertions) from 1.2.1 to 1.3.0. - [Release notes](https://github.com/rust-pretty-assertions/rust-pretty-assertions/releases) - [Changelog](https://github.com/rust-pretty-assertions/rust-pretty-assertions/blob/main/CHANGELOG.md) - [Commits](https://github.com/rust-pretty-assertions/rust-pretty-assertions/compare/v1.2.1...v1.3.0) --- updated-dependencies: - dependency-name: pretty_assertions dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> fix: emit null transaction fields (#1654) serialize viaIR setting (#1655) chore: match standalone mumbai for chain (#1656) chore(clippy): make clippy happy (#1659) feat(core): improved debug format for Bytes (#1658) * feat(core): improved debug format for Bytes * update changelog fix: incorrect encoding on TransactionReceipt (#1661) * fix TransactionReceipt rlp encoding * add tests * update changelog chore(solc): replace colorized with yansi (#1662) fix(solc): via-ir should be optional (#1664) perf(solc): read artifacts in parallel (#1665) feat(contract): add extra Multicall helper methods (#1666) * feat(contract): add extra Multicall helper methods * docs: update CHANGELOG.md * normalize helper methods' names chore(deps): bump sha2 from 0.10.3 to 0.10.5 (#1671) Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.10.3 to 0.10.5. - [Release notes](https://github.com/RustCrypto/hashes/releases) - [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.10.3...sha2-v0.10.5) --- updated-dependencies: - dependency-name: sha2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump md-5 from 0.10.2 to 0.10.4 (#1670) Bumps [md-5](https://github.com/RustCrypto/hashes) from 0.10.2 to 0.10.4. - [Release notes](https://github.com/RustCrypto/hashes/releases) - [Commits](https://github.com/RustCrypto/hashes/compare/md-5-v0.10.2...md-5-v0.10.4) --- updated-dependencies: - dependency-name: md-5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump once_cell from 1.13.1 to 1.14.0 (#1669) Bumps [once_cell](https://github.com/matklad/once_cell) from 1.13.1 to 1.14.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.13.1...v1.14.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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump thiserror from 1.0.33 to 1.0.34 (#1668) Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.33 to 1.0.34. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.33...1.0.34) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> fix: legacy transaction rlp decoding (#1672) * fix legacy tx rlp decoding * add test for type 0 tx in 2718 envelopes * update changelog * refactor * fmt chore(deps): bump serde-aux from 3.1.0 to 4.0.0 (#1673) Bumps [serde-aux](https://github.com/vityafx/serde-aux) from 3.1.0 to 4.0.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-major ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> feat(abigen): subsitute structs in event bindings (#1674) * fix(abigen): handle event defaults * feat(abigen): subsitute structs in event bindings * update changelog * chore: rustfmt * fix broken tests * chore(clippy): make clippy happy chore: export abi related types (#1677) * chore: export abi related types * feat: expose function chore(deps): bump url from 2.2.2 to 2.3.0 (#1678) Bumps [url](https://github.com/servo/rust-url) from 2.2.2 to 2.3.0. - [Release notes](https://github.com/servo/rust-url/releases) - [Commits](https://github.com/servo/rust-url/compare/v2.2.2...v2.3.0) --- updated-dependencies: - dependency-name: url dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> fix(core): add derives, impls for Units (#1683) * fix(core): add derives, impls for Units * feat: add some more unit aliases * remove separators * feat: add more impl * chore: run clippy chore: add abigen to default features (#1684) * chore: add abigen to default features * docs: update CHANGELOG.md fix: geth trace types (#1682) * fix: geth trace types * update: changelog entry added chore(core): remove unused import chore(deps): bump convert_case from 0.5.0 to 0.6.0 (#1681) Bumps [convert_case](https://github.com/rutrum/convert-case) from 0.5.0 to 0.6.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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump url from 2.3.0 to 2.3.1 (#1680) Bumps [url](https://github.com/servo/rust-url) from 2.3.0 to 2.3.1. - [Release notes](https://github.com/servo/rust-url/releases) - [Commits](https://github.com/servo/rust-url/compare/v2.3.0...v2.3.1) --- updated-dependencies: - dependency-name: url dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(clippy): make clippy happy (#1688) omit (#1686) chore: bump max solc 0.8.17 (#1679) chore: inherit stderr (#1689) fix: geth structlog memory (#1690) chore(deps): bump thiserror from 1.0.34 to 1.0.35 (#1697) Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.34 to 1.0.35. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.34...1.0.35) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump web-sys from 0.3.59 to 0.3.60 (#1694) Bumps [web-sys](https://github.com/rustwasm/wasm-bindgen) from 0.3.59 to 0.3.60. - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump wasm-bindgen-futures from 0.4.32 to 0.4.33 (#1693) Bumps [wasm-bindgen-futures](https://github.com/rustwasm/wasm-bindgen) from 0.4.32 to 0.4.33. - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> fix(solc): remove default include paths (#1691) * fix path resolution for projects paths passed as included * fix lookup * remove default include paths * remove default include paths usage chore(etherscan): log response data on error (#1698) feat(etherscan): add blocked by cloudflare error (#1703) chore(deps): bump wasm-bindgen-test from 0.3.32 to 0.3.33 (#1700) Bumps [wasm-bindgen-test](https://github.com/rustwasm/wasm-bindgen) from 0.3.32 to 0.3.33. - [Release notes](https://github.com/rustwasm/wasm-bindgen/releases) - [Changelog](https://github.com/rustwasm/wasm-bindgen/blob/main/CHANGELOG.md) - [Commits](https://github.com/rustwasm/wasm-bindgen/commits) --- updated-dependencies: - dependency-name: wasm-bindgen-test dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> feat: retry infura's header not found (#1706) fix(core): GethTrace shouldn't have 0x prefix for return_value (#1705) fix(providers): don't default to "latest" block ID for `eth_estimateGas` (#1657) * Don't default to 'latest' block ID for eth_estimateGas * Add changelog entry * Amend comment chore(deps): bump sha2 from 0.10.5 to 0.10.6 (#1709) Bumps [sha2](https://github.com/RustCrypto/hashes) from 0.10.5 to 0.10.6. - [Release notes](https://github.com/RustCrypto/hashes/releases) - [Commits](https://github.com/RustCrypto/hashes/compare/sha2-v0.10.5...sha2-v0.10.6) --- updated-dependencies: - dependency-name: sha2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump k256 from 0.11.4 to 0.11.5 (#1701) Bumps [k256](https://github.com/RustCrypto/elliptic-curves) from 0.11.4 to 0.11.5. - [Release notes](https://github.com/RustCrypto/elliptic-curves/releases) - [Commits](https://github.com/RustCrypto/elliptic-curves/compare/k256/v0.11.4...k256/v0.11.5) --- updated-dependencies: - dependency-name: k256 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump unicode-xid from 0.2.3 to 0.2.4 (#1707) Bumps [unicode-xid](https://github.com/unicode-rs/unicode-xid) from 0.2.3 to 0.2.4. - [Release notes](https://github.com/unicode-rs/unicode-xid/releases) - [Commits](https://github.com/unicode-rs/unicode-xid/commits/v0.2.4) --- updated-dependencies: - dependency-name: unicode-xid dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump semver from 1.0.13 to 1.0.14 (#1708) Bumps [semver](https://github.com/dtolnay/semver) from 1.0.13 to 1.0.14. - [Release notes](https://github.com/dtolnay/semver/releases) - [Commits](https://github.com/dtolnay/semver/compare/1.0.13...1.0.14) --- updated-dependencies: - dependency-name: semver dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> feat: detect requested backoff (#1711) docs: add comment about safety of u8 -> u64 cast in signature (#1704) * docs: add comment about u8 -> u64 cast in signature * fix: format Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> docs: add MSRV (#1712) feat(ethers-core): double anvil startup time (#1702) * feat(ethers-core): double anvil startup time * feat(ethers-core): add timeout utils * chore: fmt Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> chore: trim eip712 deps (#1714) * chore: trim eip712 deps * chore: fmt Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> fix: WASM example (#1719) * fix: wasm example * fix: webpack 5.0 * fix: scripts feat(core): add utility methods to NameOrAddress (#1720) * feat: NameOrAddress impls * feat: add to_addr to TypedTransaction * fix: use NameOrAddress for ens * chore: clippy * dont clone chore: add cloudflare test case (#1721) chore(deps): bump svm-rs 0.2.18 (#1715) chore(deps): bump solang-parser from 0.1.17 to 0.1.18 (#1716) Bumps [solang-parser](https://github.com/hyperledger/solang) from 0.1.17 to 0.1.18. - [Release notes](https://github.com/hyperledger/solang/releases) - [Changelog](https://github.com/hyperledger/solang/blob/main/CHANGELOG.md) - [Commits](https://github.com/hyperledger/solang/commits) --- updated-dependencies: - dependency-name: solang-parser dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump syn from 1.0.99 to 1.0.100 (#1717) Bumps [syn](https://github.com/dtolnay/syn) from 1.0.99 to 1.0.100. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.99...1.0.100) --- updated-dependencies: - dependency-name: syn dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump env_logger from 0.9.0 to 0.9.1 (#1718) Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.9.0 to 0.9.1. - [Release notes](https://github.com/env-logger-rs/env_logger/releases) - [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md) - [Commits](https://github.com/env-logger-rs/env_logger/commits) --- updated-dependencies: - dependency-name: env_logger dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(solc): add another artifacts helper type (#1722) chore: support fuji alias (#1723) chore(deps): bump once_cell from 1.14.0 to 1.15.0 (#1725) Bumps [once_cell](https://github.com/matklad/once_cell) from 1.14.0 to 1.15.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.14.0...v1.15.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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump reqwest from 0.11.11 to 0.11.12 (#1724) Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.11 to 0.11.12. - [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.11...v0.11.12) --- updated-dependencies: - dependency-name: reqwest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump md-5 from 0.10.4 to 0.10.5 (#1726) Bumps [md-5](https://github.com/RustCrypto/hashes) from 0.10.4 to 0.10.5. - [Release notes](https://github.com/RustCrypto/hashes/releases) - [Commits](https://github.com/RustCrypto/hashes/compare/md-5-v0.10.4...md-5-v0.10.5) --- updated-dependencies: - dependency-name: md-5 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> fix(contract): relax Middleware trait bound for getters (#1728) * wip * fix(contract): relax Middleware trait bound for getters * chore: clippy * move * fix: multicall feat: add arbitrum-goerli (#1734) contract: return `Arc<M>` instead of `&M` (#1731) * return Arc<M> instead of &M * docs fix(contract, signers): cyclic deps (#1730) * fix(signers): cyclic deps * fix(contract): cyclic deps * fix: feature fix: legacy signed rlp decoding (#1733) chore: format polygon-mumbai as mumbai (#1737) fix: use correct tx field const (#1735) chore(deps): bump proc-macro2 from 1.0.43 to 1.0.44 (#1738) Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.43 to 1.0.44. - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.43...1.0.44) --- updated-dependencies: - dependency-name: proc-macro2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump thiserror from 1.0.35 to 1.0.36 (#1739) Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.35 to 1.0.36. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.35...1.0.36) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> fix: transaction object rlp decoding (#1740) test: add create_parent_dir_all_test (#1741) fix(solc): use empty bytecode as default instead unlinked (#1743) * fix(solc): use empty bytecode as default instead unlinked * chore: fmt Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> chore: rm unwrap (#1744) chore(deps): bump syn from 1.0.100 to 1.0.101 (#1745) Bumps [syn](https://github.com/dtolnay/syn) from 1.0.100 to 1.0.101. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.100...1.0.101) --- updated-dependencies: - dependency-name: syn dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump thiserror from 1.0.36 to 1.0.37 (#1748) Bumps [thiserror](https://github.com/dtolnay/thiserror) from 1.0.36 to 1.0.37. - [Release notes](https://github.com/dtolnay/thiserror/releases) - [Commits](https://github.com/dtolnay/thiserror/compare/1.0.36...1.0.37) --- updated-dependencies: - dependency-name: thiserror dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump k256 from 0.11.5 to 0.11.6 (#1749) Bumps [k256](https://github.com/RustCrypto/elliptic-curves) from 0.11.5 to 0.11.6. - [Release notes](https://github.com/RustCrypto/elliptic-curves/releases) - [Commits](https://github.com/RustCrypto/elliptic-curves/compare/k256/v0.11.5...k256/v0.11.6) --- updated-dependencies: - dependency-name: k256 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> feat(solc): add versioned artifacts helper (#1752) fmt: all (#1751) * fmt: all * fmt: eol fix: support eip712 domain chain ids as string (#1756) * fix: support eip712 domain chain ids as string * chore: add rustfmt.toml feat(etherscan): parse SourceCode field (#1747) * wip * feat(etherscan): parse SourceCode field * feat: add project builder method * chore: dependencies * docs * refactor: impls * refactor: create verify submodule * refactor: use untagged enum * test: add more assertions * docs * feat: add more utility methods * feat: deserialize ABI and improve SourceCode deserialization * fix: lookup_compiler_version * refactor: source tree methods * docs * chore: add solc feature * fix: test * chore: use only optional dependency * chore: re-add dev-dependency fix(core, etherscan): RawAbi and Abi (#1757) chore(deps): bump proc-macro2 from 1.0.44 to 1.0.46 (#1753) Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.44 to 1.0.46. - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.44...1.0.46) --- updated-dependencies: - dependency-name: proc-macro2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Fix: Drop anvil stdout (#1759) feat: added more ethereum units (#1760) chore(deps): bump serde-wasm-bindgen from 0.4.3 to 0.4.5 (#1761) Bumps [serde-wasm-bindgen](https://github.com/cloudflare/serde-wasm-bindgen) from 0.4.3 to 0.4.5. - [Release notes](https://github.com/cloudflare/serde-wasm-bindgen/releases) - [Commits](https://github.com/cloudflare/serde-wasm-bindgen/compare/v0.4.3...v0.4.5) --- updated-dependencies: - dependency-name: serde-wasm-bindgen dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore: replace rinkeby with goerli (#1768) * chore: replace rinkeby with goerli * ignore example chore(deps): bump syn from 1.0.101 to 1.0.102 (#1764) Bumps [syn](https://github.com/dtolnay/syn) from 1.0.101 to 1.0.102. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.101...1.0.102) --- updated-dependencies: - dependency-name: syn dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump tracing from 0.1.36 to 0.1.37 (#1766) Bumps [tracing](https://github.com/tokio-rs/tracing) from 0.1.36 to 0.1.37. - [Release notes](https://github.com/tokio-rs/tracing/releases) - [Commits](https://github.com/tokio-rs/tracing/compare/tracing-0.1.36...tracing-0.1.37) --- updated-dependencies: - dependency-name: tracing dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(solc): create artifacts folder on output (#1772) chore(deps): bump ansi-regex in /examples/ethers-wasm (#1771) Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1. - [Release notes](https://github.com/chalk/ansi-regex/releases) - [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1) --- updated-dependencies: - dependency-name: ansi-regex dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump dunce from 1.0.2 to 1.0.3 (#1767) Bumps [dunce](https://gitlab.com/kornelski/dunce) from 1.0.2 to 1.0.3. - [Release notes](https://gitlab.com/kornelski/dunce/tags) - [Commits](https://gitlab.com/kornelski/dunce/commits/v1.0.3) --- updated-dependencies: - dependency-name: dunce dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump tracing-subscriber from 0.3.15 to 0.3.16 (#1765) Bumps [tracing-subscriber](https://github.com/tokio-rs/tracing) from 0.3.15 to 0.3.16. - [Release notes](https://github.com/tokio-rs/tracing/releases) - [Commits](https://github.com/tokio-rs/tracing/compare/tracing-subscriber-0.3.15...tracing-subscriber-0.3.16) --- updated-dependencies: - dependency-name: tracing-subscriber dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> examples: re-enable remove_liq example and replace key w goerli key Fix Transaction decoding (#1773) * fix(core): accept both typed transaction formats * fix equality sign for rlp type check * remove printlns * remove redundant transaction_type assignment fix: skip json abi formatting (#1777) fix(abigen): remove trailing test,script markers (#1776) chore(clippy): make clippy happy (#1778) chore: fix clippy fix: impl default manually for mock project (#1779) * fix: impl default manually for mock project * chore: silence impossible to derive default lint Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> examples: disable remove_liq and revert to always use rinkeby rinkeby was deprecated but couldnt bother to find univ2 on goerli so we just disable the test. this should still work for eg mainnet chore(deps): bump home from 0.5.3 to 0.5.4 (#1781) Bumps [home](https://github.com/brson/home) from 0.5.3 to 0.5.4. - [Release notes](https://github.com/brson/home/releases) - [Changelog](https://github.com/brson/home/blob/master/CHANGELOG.md) - [Commits](https://github.com/brson/home/compare/0.5.3...v0.5.4) --- updated-dependencies: - dependency-name: home dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> fix(solc): handle absolute paths properly on conflict (#1784) chore: disable remove_liq example Add option to disable CBOR metadata in bytecode. (#1782) feat(core): re-export H128 (#1786) * feat(core): re-export H128 * chore: cargo fmt chore: reexport BigEndianHash (#1789) chore(deps): bump proc-macro2 from 1.0.46 to 1.0.47 (#1788) Bumps [proc-macro2](https://github.com/dtolnay/proc-macro2) from 1.0.46 to 1.0.47. - [Release notes](https://github.com/dtolnay/proc-macro2/releases) - [Commits](https://github.com/dtolnay/proc-macro2/compare/1.0.46...1.0.47) --- updated-dependencies: - dependency-name: proc-macro2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> docs: fix typo annonated to annotated (#1790) add safe and finalized tag to BlockNumber (#1792) * add safe and finalized tag to BlockNumber * update test fix(solc): emit empty node vec (#1793) rebase chore(deps): bump getrandom from 0.2.7 to 0.2.8 (#1800) Bumps [getrandom](https://github.com/rust-random/getrandom) from 0.2.7 to 0.2.8. - [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.7...v0.2.8) --- updated-dependencies: - dependency-name: getrandom dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump syn from 1.0.102 to 1.0.103 (#1799) Bumps [syn](https://github.com/dtolnay/syn) from 1.0.102 to 1.0.103. - [Release notes](https://github.com/dtolnay/syn/releases) - [Commits](https://github.com/dtolnay/syn/compare/1.0.102...1.0.103) --- updated-dependencies: - dependency-name: syn dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump futures-util from 0.3.24 to 0.3.25 (#1796) Bumps [futures-util](https://github.com/rust-lang/futures-rs) from 0.3.24 to 0.3.25. - [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/commits) --- updated-dependencies: - dependency-name: futures-util dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump futures-executor from 0.3.24 to 0.3.25 (#1795) Bumps [futures-executor](https://github.com/rust-lang/futures-rs) from 0.3.24 to 0.3.25. - [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/commits) --- updated-dependencies: - dependency-name: futures-executor dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> release: switch to apache fastrlp (#1803) * release: switch to apache fastrlp https://github.com/gakonst/open-fastrlp * s/fastrlp/open_fastrlp (cargo-release) version 1.0.0 (cargo-release) version 1.0.0 (cargo-release) version 1.0.0 (cargo-release) version 1.0.0 (cargo-release) version 1.0.0 (cargo-release) version 1.0.0 (cargo-release) version 1.0.0 (cargo-release) version 1.0.0 (cargo-release) version 1.0.0 (cargo-release) version 1.0.0 (cargo-release) version 1.0.0 (cargo-release) version 1.0.0 chore: disable dev deps for release Revert "chore: disable dev deps for release" This reverts commit d8a1be6fb12d6ed6b3de1f715faf41e22c673f1d. chore: update readme adding chiado support (#1811) fix Build issue (#1819) Impl `IntoFuture` for `ContractCall` (#1826) Examples event streams (#1839) * Example to subscribe events from an abigen compiled contract * Example to subscribe events from an abigen compiled contract including `LogMeta` * Added typo to help users run Ws examples * cargo +nightly fmt * Fix examples docs Co-authored-by: Andrea Simeoni <> Fixes: #1836 (#1837) enhance signer middleware to automatically switch legacy (#1832) chore(deps): bump num_cpus from 1.13.1 to 1.14.0 (#1831) Bumps [num_cpus](https://github.com/seanmonstar/num_cpus) from 1.13.1 to 1.14.0. - [Release notes](https://github.com/seanmonstar/num_cpus/releases) - [Changelog](https://github.com/seanmonstar/num_cpus/blob/master/CHANGELOG.md) - [Commits](https://github.com/seanmonstar/num_cpus/compare/v1.13.1...v1.14.0) --- updated-dependencies: - dependency-name: num_cpus dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Fixes: #1822 (#1823) * Fixes: #1822 * Fixes: gakonst#1822 :: update1 * Fixes: #1822 :: Add ParseOverflow err & rm rust_decimals from ethers-core * update changelog fix: get_logs_paginated fetches past latest block (#1818) Fix: minor typo (#1794) Fix: minor typo chore(deps): bump base64 from 0.13.0 to 0.13.1 (#1804) Bumps [base64](https://github.com/marshallpierce/rust-base64) from 0.13.0 to 0.13.1. - [Release notes](https://github.com/marshallpierce/rust-base64/releases) - [Changelog](https://github.com/marshallpierce/rust-base64/blob/master/RELEASE-NOTES.md) - [Commits](https://github.com/marshallpierce/rust-base64/compare/v0.13.0...v0.13.1) --- updated-dependencies: - dependency-name: base64 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump rlp from 0.5.1 to 0.5.2 (#1805) Bumps [rlp](https://github.com/paritytech/parity-common) from 0.5.1 to 0.5.2. - [Release notes](https://github.com/paritytech/parity-common/releases) - [Commits](https://github.com/paritytech/parity-common/compare/rlp-v0.5.1...rlp-v0.5.2) --- updated-dependencies: - dependency-name: rlp dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore: rename xdai gnosis (#1809) Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> chore: clippy (#1812) * chore: clippy * fmt fix: rustdoc errors (#1808) * fix: rustdoc warnings * fix: partially re-run abigen for multicall_contract * fix * fix test * fix: rustdoc nightly warnings ci: add doc CI (#1813) * ci: add docs ci * ci: use checkout v3 contract: move Event into scope for rustdoc Fixes #1676 (#1787) chore(deps): bump once_cell from 1.15.0 to 1.16.0 (#1817) Bumps [once_cell](https://github.com/matklad/once_cell) from 1.15.0 to 1.16.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.15.0...v1.16.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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> feat: add TraceError enum (#1814) fix: transaction type in TxpoolContent (#1844) TxpoolContent used a custom type for the transactions inside of it. This type was missing some fields that the current JSON RPC API provides. Now it uses the standard transaction type which is able to hold all provided fields. Fixes: #1843 Co-authored-by: Jannik Luhn <jannik.luhn@posteo.de> chore(deps): bump env_logger from 0.9.1 to 0.9.3 (#1842) Bumps [env_logger](https://github.com/env-logger-rs/env_logger) from 0.9.1 to 0.9.3. - [Release notes](https://github.com/env-logger-rs/env_logger/releases) - [Changelog](https://github.com/env-logger-rs/env_logger/blob/main/CHANGELOG.md) - [Commits](https://github.com/env-logger-rs/env_logger/compare/v0.9.1...v0.9.3) --- updated-dependencies: - dependency-name: env_logger dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(solc): always use sync sources reading (#1667) Revert "fix: get_logs_paginated fetches past latest block (#1818)" (#1845) This reverts commit eb40392399569ffea4e5a021c7bc85c0a673a3e7. chore(deps): bump regex from 1.6.0 to 1.7.0 (#1841) Bumps [regex](https://github.com/rust-lang/regex) from 1.6.0 to 1.7.0. - [Release notes](https://github.com/rust-lang/regex/releases) - [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-lang/regex/compare/1.6.0...1.7.0) --- updated-dependencies: - dependency-name: regex dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump cargo_metadata from 0.15.0 to 0.15.1 (#1806) Bumps [cargo_metadata](https://github.com/oli-obk/cargo_metadata) from 0.15.0 to 0.15.1. - [Release notes](https://github.com/oli-obk/cargo_metadata/releases) - [Changelog](https://github.com/oli-obk/cargo_metadata/blob/main/CHANGELOG.md) - [Commits](https://github.com/oli-obk/cargo_metadata/compare/v0.15.0...v0.15.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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Add Arithmetic Shift Left operation for I256. Minor update to the ASR tests to include coverage for a shift of 0, and move to 'I256::minus_one' over 'I256::from(-1i8)' syntax (#1452) Co-authored-by: Dave Belvedere <dave@protonmail.com> fix: failing CI (#1847) * fix gasprice * fmt * docs * fix examples typo * fix examples * clippy chore(deps): bump serde-aux from 4.0.0 to 4.1.0 (#1846) Bumps [serde-aux](https://github.com/vityafx/serde-aux) from 4.0.0 to 4.1.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> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> feat: warnings as errors (#1838) * feat: warnings as errors * changed the bool arg to Severity and updated its traits * reformat the test based on the linter * renamed variable based on property type change and changed a few refs * updated changelog * revert changelog iden change * added test for combining compiler severity filter and ignored error codes and adjusted has error for the added test case * adjusted has_error to utilize ge functionality in case of info errors Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> fix(core): stop decoding gas twice for 2930 txs (#1850) * fix(core): stop decoding gas twice for 2930 txs * adds two tests from #1848 * remove debugging printlns * replace call to dbg! with txhash assert fix: broken regex (#1851) fix: disable futures-locks tokio feature (#1854) fix: improve overloaded param diff matching (#1853) chore(clippy): make clippy happy (#1856) fix: better retry timing (#1855) * fix retries * increase default backoff to 1s * remove comment * fmt I256 asr doc (#1860) * Update I256 documentation to call out diversions from standard numeric types on the right shift operator * Update changelog * Address review comment. Link changelog notes to PR Co-authored-by: Dave Belvedere <dave@protonmail.com> fix: updated logs event filtering for examples with new syntax (#1861) Add `op` field to `VMOperation` to determine executed opcode (#1858) * created opcode enum and added to VMOperation. Fixes #1857 * rebuild trace logs to include missing fields * opcode descriptions for docs + changelog * restore traces and indent trace * opcode 0x20 should be SHA3 fix: generated crate not using generated version (#1852) * fix: generated crate not using generated version * add docs * wip: add base testcases * fix: str formatting * fix: add missing comma * fix: tests and file loading * fix: strip whitespaces * fix: case where we are using specified crate * linting: remove extra ref * refactor: use toml parser over regex * fix: add case for path and ethers-contract * fix: add missing comma * feat: don't check for path * remove build-dep fallback chore: fmt / clippy I256 parse support (#1863) * Added support for I256 in format_units. Added two complement support for I256. * Add I256 support into parse_units Co-authored-by: Dave Belvedere <dave@protonmail.com> Rust already exists on the platform - update it instead (#1864) Co-authored-by: Dave Belvedere <dave@protonmail.com> chore(deps): bump reqwest from 0.11.12 to 0.11.13 (#1866) Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.12 to 0.11.13. - [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.12...v0.11.13) --- updated-dependencies: - dependency-name: reqwest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> fix(abigen): make compatible with older rust versions (#1868) * fix(abigen): make compatible with older rust versions * Update ethers-contract/ethers-contract-abigen/src/multi.rs Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de> * fix: linting Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de> chore(deps): bump ethabi from 17.2.0 to 18.0.0 (#1865) * chore(deps): bump ethabi from 17.2.0 to 18.0.0 Bumps [ethabi](https://github.com/rust-ethereum/ethabi) from 17.2.0 to 18.0.0. - [Release notes](https://github.com/rust-ethereum/ethabi/releases) - [Changelog](https://github.com/rust-ethereum/ethabi/blob/master/CHANGELOG.md) - [Commits](https://github.com/rust-ethereum/ethabi/compare/v17.2.0...v18.0.0) --- updated-dependencies: - dependency-name: ethabi dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * chore: bump open-fastrlp Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> Fix: use cwd manifest (#1869) * fix(abigen): make compatible with older rust versions * Update ethers-contract/ethers-contract-abigen/src/multi.rs Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de> * fix: linting * fix(abigen): use active cargo.toml over crate cargo.toml Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de> chore: bump open-fastrlp chore: bump trezor, fix clippy (#1871) * chore: bump trezor, fix clippy * update cargo lock Co-authored-by: Dave Belvedere <dave@protonmail.com> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> Get gas price in USD using a Chainlink oracle (#1872) Co-authored-by: Andrea Simeoni <> fix: mock ethers mod layout (#1884) feat: add another rate limit retry check (#1881) chore: add missing ParseUnit impls (#1885) feat: Instantiate an event builder without a contract instance (#1882) * Build an `Event` without requiring a contract instance * Contract unit test * Function to set Event address * Example * Typo to improve readability * CHANGELOG * cargo +nightly fmt * FIX conflict * review: applied Address alias Co-authored-by: Andrea Simeoni <> Co-authored-by: Georgios Konstantopoulos <me@gakonst.com> chore(deps): bump bytes from 1.2.1 to 1.3.0 (#1879) Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.2.1 to 1.3.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/commits) --- updated-dependencies: - dependency-name: bytes dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> feat: retry client wasm support (#1877) * wasm support for retry client * fix conection err check * fix lockfile * remove unused comment chore(deps): bump rayon from 1.5.3 to 1.6.0 (#1875) Bumps [rayon](https://github.com/rayon-rs/rayon) from 1.5.3 to 1.6.0. - [Release notes](https://github.com/rayon-rs/rayon/releases) - [Changelog](https://github.com/rayon-rs/rayon/blob/master/RELEASES.md) - [Commits](https://github.com/rayon-rs/rayon/compare/v1.5.3...rayon-core-v1.6.0) --- updated-dependencies: - dependency-name: rayon dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump serde-aux from 4.1.0 to 4.1.2 (#1874) Bumps [serde-aux](https://github.com/vityafx/serde-aux) from 4.1.0 to 4.1.2. - [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-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(deps): bump cargo_metadata from 0.15.1 to 0.15.2 (#1878) Bumps [cargo_metadata](https://github.com/oli-obk/cargo_metadata) from 0.15.1 to 0.15.2. - [Release notes](https://github.com/oli-obk/cargo_metadata/releases) - [Changelog](https://github.com/oli-obk/cargo_metadata/blob/main/CHANGELOG.md) - [Commits](https://github.com/oli-obk/cargo_metadata/compare/v0.15.1...v0.15.2) --- updated-dependencies: - dependency-name: cargo_metadata dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> chore(clippy): make clippy happy (#1888) fix: handle non existing Cargo.toml edge case (#1886) chore(deps): b…
I would like to submit a new feature that would allow to create a setting for compile warnings to be included as errors.
Motivation
I wanted to work on this feature request here:
foundry-rs/foundry#3476
Following the guidance from that thread I am starting with making the additions here and I would be interested to also make the feature in Foundry after this is resolved.
With this setting turned on, the compiler when checking for errors, will also look for warnings
Solution
I have made the code changes that added a property to Project/ProjectBuilder and it goes all the way down to the compiler output, quite similar to how "ignored_error_codes" is done. I also added one test. I feel that I should mention I am a beginner to rust and I would greatly appreciate any feedback or guidance 😄
PR Checklist