mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2024-12-25 07:29:32 -05:00
921bac0af8
2207 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
Byron Hambly
|
7838442947
|
fix: review comments from binarybaron | ||
Byron Hambly
|
dc68344b62
|
chore: formatting in select! macro | ||
Byron Hambly
|
ec169916d6
|
Merge branch 'master' into libp2p_upgrade | ||
bors[bot]
|
a9d9250af1
|
Merge #1088
1088: feat: add debugging info for failed to fetch transaction r=delta1 a=delta1 Add the jsonrpc error message and data to tracing calls to try debug #1061 "monero-wallet-rpc failed to fetch transaction" Co-authored-by: Byron Hambly <bhambly@blockstream.com> |
||
Byron Hambly
|
7e4af68cba
|
feat: add debugging info for failed to fetch transaction
Add the jsonrpc error message and data to tracing calls to try debug #1061 "monero-wallet-rpc failed to fetch transaction" |
||
bors[bot]
|
cb7a7f58b2
|
Merge #1086
1086: fix btc for xmr calculation error r=delta1 a=delta1 The calculation overflow fix in #1068 did not account for XMR < 1 which resulted in truncation when dividing by the PICO_OFFSET. This commit uses `Decimal` to do the calculation at fixed precision and adds a number of test values to verify the calculation. Closes #1084 Co-authored-by: Byron Hambly <bhambly@blockstream.com> |
||
bors[bot]
|
b7e2e0805e
|
Merge #1080
1080: feat(swap): show minimum deposit required for min_quantity + fee r=delta1 a=delta1 Updates swap cli to calculate and show the minimum BTC deposit required to cover the minimum_quantity + fee for a seller #761 Co-authored-by: Byron Hambly <bhambly@blockstream.com> |
||
Byron Hambly
|
86d57453cf
|
fix: fix btc for xmr calculation error
The calculation overflow fix in #1068 did not account for XMR < 1 which resulted in truncation when dividing by the PICO_OFFSET. This commit uses `Decimal` to do the calculation at fixed precision and adds a number of test values to verify the calculation. Closes #1084 |
||
dependabot[bot]
|
6a7686768f
|
build(deps): bump async-trait from 0.1.56 to 0.1.57
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.56 to 0.1.57. - [Release notes](https://github.com/dtolnay/async-trait/releases) - [Commits](https://github.com/dtolnay/async-trait/compare/0.1.56...0.1.57) --- updated-dependencies: - dependency-name: async-trait dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> |
||
Byron Hambly
|
dc706c584a
|
feat(swap): show min deposit required for min_quantity | ||
bors[bot]
|
293cbb68d6
|
Merge #1078
1078: build(deps): bump dialoguer from 0.10.1 to 0.10.2 r=delta1 a=dependabot[bot] Bumps [dialoguer](https://github.com/mitsuhiko/dialoguer) from 0.10.1 to 0.10.2. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mitsuhiko/dialoguer/blob/master/CHANGELOG.md">dialoguer's changelog</a>.</em></p> <blockquote> <h1>Changelog</h1> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
db507a79db
|
build(deps): bump dialoguer from 0.10.1 to 0.10.2
Bumps [dialoguer](https://github.com/mitsuhiko/dialoguer) from 0.10.1 to 0.10.2. - [Release notes](https://github.com/mitsuhiko/dialoguer/releases) - [Changelog](https://github.com/mitsuhiko/dialoguer/blob/master/CHANGELOG.md) - [Commits](https://github.com/mitsuhiko/dialoguer/compare/v0.10.1...v0.10.2) --- updated-dependencies: - dependency-name: dialoguer dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> |
||
bors[bot]
|
ae5800d47f
|
Merge #1068
1068: fix potential overflow in `max_bitcoin_for_price` r=delta1 a=delta1 In testing, ASB panicked in `max_bitcoin_for_price` when the Monero balance x Bitcoin price was enough to overflow `u64`. This PR changes the function to do the piconero offset division first, and then to use `checked_mul` to return None if the calculation would overflow. This required changing the function return signature to an `Option`. Additional tests for the function were also added. MONERO_FEE was also changed from 0.000030 to 0.000016, which is still double the current median transaction fee listed at https://www.monero.how/monero-transaction-fees as of 2022-07-28. Co-authored-by: Byron Hambly <bhambly@blockstream.com> |
||
bors[bot]
|
ec121dc3c6
|
Merge #1075
1075: Bump anyhow from 1.0.57 to 1.0.58 r=delta1 a=dependabot[bot] Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.57 to 1.0.58. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dtolnay/anyhow/releases">anyhow's releases</a>.</em></p> <blockquote> <h2>1.0.58</h2> <ul> <li>Fix some broken links in documentation</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
bors[bot]
|
8ceffe4cec
|
Merge #1074
1074: Bump strum from 0.24.0 to 0.24.1 r=delta1 a=dependabot[bot] Bumps [strum](https://github.com/Peternator7/strum) from 0.24.0 to 0.24.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Peternator7/strum/blob/master/CHANGELOG.md">strum's changelog</a>.</em></p> <blockquote> <h2><del>0.24.1</del> (Yanked becase <a href="https://github-redirect.dependabot.com/Peternator7/strum/issues/217">#217</a> was more "breaking" than I wanted)</h2> <ul> <li><a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/220">#220</a>. Add support for PHF in <code>EnumString</code> (opt-in runtime performance improvements for large enums as <code>#[strum(use_phf)]</code>, requires <code>phf</code> feature and increases MSRV to <code>1.46</code>) <ul> <li><a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/224">#224</a> tweaked the algorithm.</li> </ul> </li> <li><a href="https://github-redirect.dependabot.com/Peternator7/strum/pull/217">#217</a>: Automatically implement <code>TryFrom</code> in <code>FromRepr</code>. This is technically a breaking change, but the fix is to just remove the manual implementation of TryFrom so it shouldn't be more than a minor inconvenience.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/Peternator7/strum/commits">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=strum&package-manager=cargo&previous-version=0.24.0&new-version=0.24.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) You can trigger a rebase of this PR by commenting ``@dependabot` rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - ``@dependabot` rebase` will rebase this PR - ``@dependabot` recreate` will recreate this PR, overwriting any edits that have been made to it - ``@dependabot` merge` will merge this PR after your CI passes on it - ``@dependabot` squash and merge` will squash and merge this PR after your CI passes on it - ``@dependabot` cancel merge` will cancel a previously requested merge and block automerging - ``@dependabot` reopen` will reopen this PR if it is closed - ``@dependabot` close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - ``@dependabot` ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - ``@dependabot` ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> |
||
dependabot[bot]
|
60a11fe34b
|
Bump anyhow from 1.0.57 to 1.0.58
Bumps [anyhow](https://github.com/dtolnay/anyhow) from 1.0.57 to 1.0.58. - [Release notes](https://github.com/dtolnay/anyhow/releases) - [Commits](https://github.com/dtolnay/anyhow/compare/1.0.57...1.0.58) --- updated-dependencies: - dependency-name: anyhow dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> |
||
dependabot[bot]
|
71bc2cad39
|
Bump strum from 0.24.0 to 0.24.1
Bumps [strum](https://github.com/Peternator7/strum) from 0.24.0 to 0.24.1. - [Release notes](https://github.com/Peternator7/strum/releases) - [Changelog](https://github.com/Peternator7/strum/blob/master/CHANGELOG.md) - [Commits](https://github.com/Peternator7/strum/commits) --- updated-dependencies: - dependency-name: strum dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> |
||
bors[bot]
|
cede99a579
|
Merge #1073
1073: Bump serde_with from 1.13.0 to 1.14.0 r=delta1 a=dependabot[bot] Bumps [serde_with](https://github.com/jonasbb/serde_with) from 1.13.0 to 1.14.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jonasbb/serde_with/releases">serde_with's releases</a>.</em></p> <blockquote> <h2>serde_with v1.14.0</h2> <h3>Added</h3> <ul> <li> <p>Add support for <code>time</code> crate v0.3 <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/450">#450</a></p> <p><code>time::Duration</code> can now be serialized with the <code>DurationSeconds</code> and related converters.</p> <pre lang="rust"><code>// Rust #[serde_as(as = "serde_with::DurationSeconds<u64>")] value: Duration, <p>// JSON "value": 86400, </code></pre></p> <p><code>time::OffsetDateTime</code> and <code>time::PrimitiveDateTime</code> can now be serialized with the <code>TimestampSeconds</code> and related converters.</p> <pre lang="rust"><code>// Rust #[serde_as(as = "serde_with::TimestampMicroSecondsWithFrac<String>")] value: time::PrimitiveDateTime, <p>// JSON "value": "1000000", </code></pre></p> <p><code>time::OffsetDateTime</code> can be serialized in string format in different well-known formats. Two formats are supported, <code>time::format_description::well_known::Rfc2822</code> and <code>time::format_description::well_known::Rfc3339</code>.</p> <pre lang="rust"><code>// Rust #[serde_as(as = "time::format_description::well_known::Rfc2822")] rfc_2822: OffsetDateTime, #[serde_as(as = "Vec<time::format_description::well_known::Rfc3339>")] rfc_3339: Vec<OffsetDateTime>, <p>// JSON "rfc_2822": "Fri, 21 Nov 1997 09:55:06 -0600", "rfc_3339": ["1997-11-21T09:55:06-06:00"], </code></pre></p> </li> <li> <p>Deserialize <code>bool</code> from integers <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/456">#456</a> 462</p> <p>Deserialize an integer and convert it into a <code>bool</code>. <code>BoolFromInt<Strict></code> (default) deserializes 0 to <code>false</code> and <code>1</code> to <code>true</code>, other numbers are errors. <code>BoolFromInt<Flexible></code> deserializes any non-zero as <code>true</code>. Serialization only emits 0/1.</p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
bors[bot]
|
1474b44276
|
Merge #1072
1072: Bump uuid from 1.0.0 to 1.1.2 r=delta1 a=dependabot[bot] Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.0.0 to 1.1.2. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/uuid-rs/uuid/releases">uuid's releases</a>.</em></p> <blockquote> <h2>1.1.2</h2> <h2>What's Changed</h2> <ul> <li>Fix some doc links by <a href="https://github.com/mbrobbel"><code>`@mbrobbel</code></a>` in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/606">uuid-rs/uuid#606</a></li> <li>Prepare for 1.1.2 release by <a href="https://github.com/KodrAus"><code>`@KodrAus</code></a>` in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/607">uuid-rs/uuid#607</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/mbrobbel"><code>`@mbrobbel</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/606">uuid-rs/uuid#606</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/uuid-rs/uuid/compare/1.1.1...1.1.2">https://github.com/uuid-rs/uuid/compare/1.1.1...1.1.2</a></p> <h2>1.1.1</h2> <h2>What's Changed</h2> <ul> <li>Fix documentation typo by <a href="https://github.com/nstinus"><code>`@nstinus</code></a>` in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/603">uuid-rs/uuid#603</a></li> <li>Prepare for 1.1.1 release by <a href="https://github.com/KodrAus"><code>`@KodrAus</code></a>` in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/604">uuid-rs/uuid#604</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/nstinus"><code>`@nstinus</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/603">uuid-rs/uuid#603</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/uuid-rs/uuid/compare/1.1.0...1.1.1">https://github.com/uuid-rs/uuid/compare/1.1.0...1.1.1</a></p> <h2>1.1.0</h2> <h2>What's Changed</h2> <ul> <li>note that the Error display impl is public API by <a href="https://github.com/KodrAus"><code>`@KodrAus</code></a>` in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/597">uuid-rs/uuid#597</a></li> <li>Fixed documentation link by <a href="https://github.com/Razican"><code>`@Razican</code></a>` in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/600">uuid-rs/uuid#600</a></li> <li>Add to_bytes_le method by <a href="https://github.com/dfaust"><code>`@dfaust</code></a>` in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/599">uuid-rs/uuid#599</a></li> <li>Prepare for 1.1.0 release by <a href="https://github.com/KodrAus"><code>`@KodrAus</code></a>` in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/602">uuid-rs/uuid#602</a></li> </ul> <h2>New Contributors</h2> <ul> <li><a href="https://github.com/Razican"><code>`@Razican</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/600">uuid-rs/uuid#600</a></li> <li><a href="https://github.com/dfaust"><code>`@dfaust</code></a>` made their first contribution in <a href="https://github-redirect.dependabot.com/uuid-rs/uuid/pull/599">uuid-rs/uuid#599</a></li> </ul> <p><strong>Full Changelog</strong>: <a href="https://github.com/uuid-rs/uuid/compare/1.0.0...1.1.0">https://github.com/uuid-rs/uuid/compare/1.0.0...1.1.0</a></p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
182e553c48
|
Bump serde_with from 1.13.0 to 1.14.0
Bumps [serde_with](https://github.com/jonasbb/serde_with) from 1.13.0 to 1.14.0. - [Release notes](https://github.com/jonasbb/serde_with/releases) - [Commits](https://github.com/jonasbb/serde_with/compare/v1.13.0...v1.14.0) --- updated-dependencies: - dependency-name: serde_with dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> |
||
dependabot[bot]
|
ce1ab192ac
|
Bump uuid from 1.0.0 to 1.1.2
Bumps [uuid](https://github.com/uuid-rs/uuid) from 1.0.0 to 1.1.2. - [Release notes](https://github.com/uuid-rs/uuid/releases) - [Commits](https://github.com/uuid-rs/uuid/compare/1.0.0...1.1.2) --- updated-dependencies: - dependency-name: uuid dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> |
||
bors[bot]
|
eda1a17e75
|
Merge #1070
1070: Bump tokio-util from 0.7.1 to 0.7.2 r=delta1 a=dependabot[bot] Bumps [tokio-util](https://github.com/tokio-rs/tokio) from 0.7.1 to 0.7.2. <details> <summary>Commits</summary> <ul> <li><a href=" |
||
bors[bot]
|
9952849f53
|
Merge #1069
1069: Bump dialoguer from 0.10.0 to 0.10.1 r=delta1 a=dependabot[bot] Bumps [dialoguer](https://github.com/mitsuhiko/dialoguer) from 0.10.0 to 0.10.1. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/mitsuhiko/dialoguer/blob/master/CHANGELOG.md">dialoguer's changelog</a>.</em></p> <blockquote> <h2>0.10.1</h2> <h3>Enhancements</h3> <ul> <li>Allow matches highlighting for <code>FuzzySelect</code></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
723655701f
|
Bump pem from 1.0.2 to 1.1.0
Bumps [pem](https://github.com/jcreekmore/pem-rs) from 1.0.2 to 1.1.0. - [Release notes](https://github.com/jcreekmore/pem-rs/releases) - [Changelog](https://github.com/jcreekmore/pem-rs/blob/master/CHANGELOG.md) - [Commits](https://github.com/jcreekmore/pem-rs/compare/v1.0.2...v1.1.0) --- updated-dependencies: - dependency-name: pem dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> |
||
dependabot[bot]
|
6234675707
|
Bump tokio-util from 0.7.1 to 0.7.2
Bumps [tokio-util](https://github.com/tokio-rs/tokio) from 0.7.1 to 0.7.2. - [Release notes](https://github.com/tokio-rs/tokio/releases) - [Commits](https://github.com/tokio-rs/tokio/compare/tokio-util-0.7.1...tokio-util-0.7.2) --- updated-dependencies: - dependency-name: tokio-util dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> |
||
dependabot[bot]
|
6d7c787197
|
Bump dialoguer from 0.10.0 to 0.10.1
Bumps [dialoguer](https://github.com/mitsuhiko/dialoguer) from 0.10.0 to 0.10.1. - [Release notes](https://github.com/mitsuhiko/dialoguer/releases) - [Changelog](https://github.com/mitsuhiko/dialoguer/blob/master/CHANGELOG.md) - [Commits](https://github.com/mitsuhiko/dialoguer/compare/v0.10.0...v0.10.1) --- updated-dependencies: - dependency-name: dialoguer dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> |
||
bors[bot]
|
ffb9693f4c
|
Merge #1056 #1066 #1067
1056: Bump time from 0.3.9 to 0.3.11 r=delta1 a=dependabot[bot] Bumps [time](https://github.com/time-rs/time) from 0.3.9 to 0.3.11. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/time-rs/time/releases">time's releases</a>.</em></p> <blockquote> <h2>v0.3.11</h2> <p>See the <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a> for details.</p> <h2>v0.3.10</h2> <p>See the <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">changelog</a> for details.</p> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/time-rs/time/blob/main/CHANGELOG.md">time's changelog</a>.</em></p> <blockquote> <h2>0.3.11 [2022-06-21]</h2> <h3>Fixed</h3> <ul> <li><a href="https://github-redirect.dependabot.com/time-rs/time/issues/479">#479</a>: regression when parsing optional values with <code>serde</code></li> <li><a href="https://github-redirect.dependabot.com/time-rs/time/issues/481">#481</a>: <code>Time</code> subtracted from <code>Time</code> can panic. This was caused by a bug that has always existed, in that an internal invariant was not upheld. Memory safety was not violated.</li> </ul> <p><a href="https://github-redirect.dependabot.com/time-rs/time/issues/479">#479</a>: <a href="https://github-redirect.dependabot.com/time-rs/time/issues/479">time-rs/time#479</a> <a href="https://github-redirect.dependabot.com/time-rs/time/issues/481">#481</a>: <a href="https://github-redirect.dependabot.com/time-rs/time/issues/481">time-rs/time#481</a></p> <h2>0.3.10 [2022-06-19]</h2> <h3>Added</h3> <ul> <li>Serde support for non-self-describing formats</li> <li><code>Duration::unsigned_abs</code>, which returns a <code>std::time::Duration</code></li> <li>ISO 8601 well-known format</li> <li><code>Duration</code> can now be formatted with a <code>.N</code> specifier, providing a shorter representation when using <code>Display</code>.</li> <li>Parse <code>null</code> as <code>None</code> on serde structs</li> </ul> <h3>Fixed</h3> <ul> <li>Fix incorrect parsing of UTC offset in <code>Rfc3339</code>.</li> </ul> <h3>Changed</h3> <ul> <li>The minimum supported Rust version is now 1.57.0.</li> <li>Performance for <code>Rfc2822</code> has been improved.</li> <li>Debug assertions have been added in a few places. This should have no user facing impact, as it only serves to catch bugs and is disabled in release mode.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
Byron Hambly
|
39e34a608b
|
fix: fix potential overflow in max_bitcoin_for_price
In testing, ASB panicked in `max_bitcoin_for_price` when the Monero balance x Bitcoin price was enough to overflow `u64`. This commit changes the function to do the piconero offset division first, and then to use `checked_mul` to return None if the calculation would overflow. This required changing the function return signature to an `Option`. Additional tests for the function were also added. MONERO_FEE was changed from 0.000030 to 0.000016, which is still double the current median transaction fee listed at https://www.monero.how/monero-transaction-fees as of 2022-07-28. |
||
dependabot[bot]
|
61f9f8a02c
|
Bump hyper from 0.14.18 to 0.14.20
Bumps [hyper](https://github.com/hyperium/hyper) from 0.14.18 to 0.14.20. - [Release notes](https://github.com/hyperium/hyper/releases) - [Changelog](https://github.com/hyperium/hyper/blob/v0.14.20/CHANGELOG.md) - [Commits](https://github.com/hyperium/hyper/compare/v0.14.18...v0.14.20) --- updated-dependencies: - dependency-name: hyper dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> |
||
dependabot[bot]
|
8e7bd85f31
|
Bump async-compression from 0.3.12 to 0.3.14
Bumps [async-compression](https://github.com/Nemo157/async-compression) from 0.3.12 to 0.3.14. - [Release notes](https://github.com/Nemo157/async-compression/releases) - [Commits](https://github.com/Nemo157/async-compression/compare/0.3.12...0.3.14) --- updated-dependencies: - dependency-name: async-compression dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> |
||
bors[bot]
|
d5bb1e9c08
|
Merge #1057 #1058
1057: Bump rust_decimal_macros from 1.23.1 to 1.25.0 r=delta1 a=dependabot[bot] Bumps [rust_decimal_macros](https://github.com/paupino/rust-decimal) from 1.23.1 to 1.25.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/paupino/rust-decimal/blob/master/CHANGELOG.md">rust_decimal_macros's changelog</a>.</em></p> <blockquote> <h2>1.25.0</h2> <h3>Added</h3> <ul> <li>Expands <code>rand</code> support to implement <code>SampleUniform</code> to allow for <code>rng.gen_range</code> calls (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/pull/519">#519</a>)</li> <li>Adds <a href="https://github.com/rkyv/rkyv"><code>rkyv</code> framework</a> support for zero-cost (de)serialization (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/pull/520">#520</a>)</li> </ul> <p>A big thank you to <a href="https://github.com/lukesneeringer"><code>`@lukesneeringer</code></a>` and <a href="https://github.com/dovahcrow"><code>`@dovahcrow</code></a>` for your help building features for this release.</p> <h2>1.24.0</h2> <ul> <li>Introduces new feature <code>rand</code> which allows for random number generation within <code>rust_decimal</code> (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/pull/517">#517</a>).</li> <li>Upgrade to Rust 2021 and remove unnecessary dependencies to improve build speed (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/pull/513">#513</a>, <a href="https://github-redirect.dependabot.com/paupino/rust-decimal/pull/516">#516</a>)</li> <li>Some test scoping improvements to ensure we capture as many test combinations as possible (<a href="https://github-redirect.dependabot.com/paupino/rust-decimal/pull/503">#503</a>, <a href="https://github-redirect.dependabot.com/paupino/rust-decimal/pull/504">#504</a>).</li> </ul> <p>A big thank you to <a href="https://github.com/c410-f3r"><code>`@c410-f3r</code></a>` for their contributions to this release!</p> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
a7e3f0ac2f
|
Bump time from 0.3.9 to 0.3.11
Bumps [time](https://github.com/time-rs/time) from 0.3.9 to 0.3.11. - [Release notes](https://github.com/time-rs/time/releases) - [Changelog](https://github.com/time-rs/time/blob/main/CHANGELOG.md) - [Commits](https://github.com/time-rs/time/compare/v0.3.9...v0.3.11) --- updated-dependencies: - dependency-name: time dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> |
||
bors[bot]
|
f7c6d1eefe
|
Merge #1062
1062: fix: change logs to UTC due to bug in time crate r=delta1 a=delta1 On Linux and macOS, no program output was being observed. This is referenced in the [LocalTime] docs for `tracing-subscriber`, which links to this [unsoundness issue] in the time crate. Rather than introducing a possible vector for undefined behaviour and segfaults, I have just changed the logging to use UTC time instead. When running the ASB as a systemd service, one would generally use the `--disable-timestamps` flag anyway as systemd adds its own timestamps which can be local to the server. If the situation with `tracing-subscriber` and the time crate is fixed then this can be updated. This commit also updates the `tracing-subscriber` and `tracing-appender` dependencies, closing #987. [LocalTime]: https://docs.rs/tracing-subscriber/latest/tracing_subscriber/fmt/time/struct.LocalTime.html [unsoundness issue]: https://github.com/time-rs/time/issues/293#issuecomment-748151025 Co-authored-by: Byron Hambly <bhambly@blockstream.com> |
||
Byron Hambly
|
8eff499a63
|
fix: change logs to UTC due to bug in time crate
On Linux and macOS, no program output was being observed. This is referenced in the [LocalTime] docs for `tracing-subscriber`, which links to this [unsoundness issue] in the time crate. Rather than introducing a possible vector for undefined behaviour and segfaults, I have just changed the logging to use UTC time instead. When running the ASB as a systemd service, one would generally use the `--disable-timestamps` flag anyway as systemd adds its own timestamps which can be local to the server. If the situation with `tracing-subscriber` and the time crate is fixed then this can be updated. This commit also updates the `tracing-subscriber` and `tracing-appender` dependencies, closing #987. [LocalTime]: https://docs.rs/tracing-subscriber/latest/tracing_subscriber/fmt/time/struct.LocalTime.html [unsoundness issue]: https://github.com/time-rs/time/issues/293#issuecomment-748151025 |
||
dependabot[bot]
|
02bbacac54
|
Bump reqwest from 0.11.10 to 0.11.11
Bumps [reqwest](https://github.com/seanmonstar/reqwest) from 0.11.10 to 0.11.11. - [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.10...v0.11.11) --- updated-dependencies: - dependency-name: reqwest dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> |
||
dependabot[bot]
|
7928c9f5c4
|
Bump rust_decimal_macros from 1.23.1 to 1.25.0
Bumps [rust_decimal_macros](https://github.com/paupino/rust-decimal) from 1.23.1 to 1.25.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.23.1...1.25.0) --- updated-dependencies: - dependency-name: rust_decimal_macros dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> |
||
bors[bot]
|
7023e75bb5
|
Merge #1054
1054: deps: update serde, serde_json, thiserror, async-trait r=delta1 a=delta1 Closes: - #1053 - #1045 - #1030 - #1039 Co-authored-by: Byron Hambly <bhambly@blockstream.com> |
||
Byron Hambly
|
6bf472fc12
|
deps: bump async-trait to 0.1.56
#1039 |
||
Byron Hambly
|
8c408321e4
|
deps: bump thiserror to 10.31
#1030 |
||
Byron Hambly
|
3d85c1f05e
|
deps: bump serde, serde_json, pin-project
#1053 #1045 |
||
bors[bot]
|
39005cd530
|
Merge #1051 #1052
1051: Bump Swatinem/rust-cache from 1.4.0 to 2.0.0 r=delta1 a=dependabot[bot] Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 1.4.0 to 2.0.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/Swatinem/rust-cache/releases">Swatinem/rust-cache's releases</a>.</em></p> <blockquote> <h2>v2.0.0</h2> <ul> <li>The action code was refactored to allow for caching multiple workspaces and different <code>target</code> directory layouts.</li> <li>The <code>working-directory</code> and <code>target-dir</code> input options were replaced by a single <code>workspaces</code> option that has the form of <code>$workspace -> $target</code>.</li> <li>Support for considering <code>env-vars</code> as part of the cache key.</li> <li>The <code>sharedKey</code> input option was renamed to <code>shared-key</code> for consistency.</li> </ul> </blockquote> </details> <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md">Swatinem/rust-cache's changelog</a>.</em></p> <blockquote> <h2>2.0.0</h2> <ul> <li>The action code was refactored to allow for caching multiple workspaces and different <code>target</code> directory layouts.</li> <li>The <code>working-directory</code> and <code>target-dir</code> input options were replaced by a single <code>workspaces</code> option that has the form of <code>$workspace -> $target</code>.</li> <li>Support for considering <code>env-vars</code> as part of the cache key.</li> <li>The <code>sharedKey</code> input option was renamed to <code>shared-key</code> for consistency.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
db3bb3db54
|
Bump dprint/check from 2.0 to 2.1
Bumps [dprint/check](https://github.com/dprint/check) from 2.0 to 2.1. - [Release notes](https://github.com/dprint/check/releases) - [Commits](https://github.com/dprint/check/compare/v2.0...v2.1) --- updated-dependencies: - dependency-name: dprint/check dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> |
||
dependabot[bot]
|
d885f491d5
|
Bump Swatinem/rust-cache from 1.4.0 to 2.0.0
Bumps [Swatinem/rust-cache](https://github.com/Swatinem/rust-cache) from 1.4.0 to 2.0.0. - [Release notes](https://github.com/Swatinem/rust-cache/releases) - [Changelog](https://github.com/Swatinem/rust-cache/blob/master/CHANGELOG.md) - [Commits](https://github.com/Swatinem/rust-cache/compare/v1.4.0...v2.0.0) --- updated-dependencies: - dependency-name: Swatinem/rust-cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> |
||
bors[bot]
|
59d5a6c096
|
Merge #1040
1040: Bump actions/setup-python from 3 to 4 r=delta1 a=dependabot[bot] Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/actions/setup-python/releases">actions/setup-python's releases</a>.</em></p> <blockquote> <h2>v4.0.0</h2> <h3>What's Changed</h3> <ul> <li>Support for <code>python-version-file</code> input: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/336">#336</a></li> </ul> <p>Example of usage:</p> <pre lang="yaml"><code>- uses: actions/setup-python@v4 with: python-version-file: '.python-version' # Read python version from a file - run: python my_script.py </code></pre> <p>There is no default python version for this <code>setup-python</code> major version, the action requires to specify either <code>python-version</code> input or <code>python-version-file</code> input. If the <code>python-version</code> input is not specified the action will try to read required version from file from <code>python-version-file</code> input.</p> <ul> <li>Use pypyX.Y for PyPy <code>python-version</code> input: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/349">#349</a></li> </ul> <p>Example of usage:</p> <pre lang="yaml"><code>- uses: actions/setup-python@v4 with: python-version: 'pypy3.9' # pypy-X.Y kept for backward compatibility - run: python my_script.py </code></pre> <ul> <li> <p><code>RUNNER_TOOL_CACHE</code> environment variable is equal <code>AGENT_TOOLSDIRECTORY</code>: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/338">#338</a></p> </li> <li> <p>Bugfix: create missing <code>pypyX.Y</code> symlinks: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/347">#347</a></p> </li> <li> <p><code>PKG_CONFIG_PATH</code> environment variable: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/400">#400</a></p> </li> <li> <p>Added <code>python-path</code> output: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/405">#405</a> <code>python-path</code> output contains Python executable path.</p> </li> <li> <p>Updated <code>zeit/ncc</code> to <code>vercel/ncc</code> package: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/393">#393</a></p> </li> <li> <p>Bugfix: fixed output for prerelease version of poetry: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/409">#409</a></p> </li> <li> <p>Made <code>pythonLocation</code> environment variable consistent for Python and PyPy: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/418">#418</a></p> </li> <li> <p>Bugfix for <code>3.x-dev</code> syntax: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/417">#417</a></p> </li> <li> <p>Other improvements: <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/318">#318</a> <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/396">#396</a> <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/384">#384</a> <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/387">#387</a> <a href="https://github-redirect.dependabot.com/actions/setup-python/issues/388">#388</a></p> </li> </ul> <h2>Update actions/cache version to 2.0.2</h2> <p>In scope of this release we updated <code>actions/cache</code> package as the new version contains fixes related to GHES 3.5 (<a href="https://github-redirect.dependabot.com/actions/setup-python/pull/382">actions/setup-python#382</a>)</p> <h2>Add "cache-hit" output and fix "python-version" output for PyPy</h2> <p>This release introduces new output cache-hit (<a href="https://github-redirect.dependabot.com/actions/setup-python/pull/373">actions/setup-python#373</a>) and fix python-version output for PyPy (<a href="https://github-redirect.dependabot.com/actions/setup-python/pull/365">actions/setup-python#365</a>)</p> <p>The cache-hit output contains boolean value indicating that an exact match was found for the key. It shows that the action uses already existing cache or not. The output is available only if cache is enabled.</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
051f541f7f
|
Bump actions/setup-python from 3 to 4
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 3 to 4. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> |
||
bors[bot]
|
365078d394
|
Merge #1026
1026: Bump serde_with from 1.12.1 to 1.13.0 r=delta1 a=dependabot[bot] Bumps [serde_with](https://github.com/jonasbb/serde_with) from 1.12.1 to 1.13.0. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/jonasbb/serde_with/releases">serde_with's releases</a>.</em></p> <blockquote> <h2>serde_with v1.13.0</h2> <h3>Added</h3> <ul> <li> <p>Added support for <code>indexmap::IndexMap</code> and <code>indexmap::IndexSet</code> types. <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/431">#431</a>, <a href="https://github-redirect.dependabot.com/jonasbb/serde_with/issues/436">#436</a></p> <p>Both types are now compatible with these functions: <code>maps_duplicate_key_is_error</code>, <code>maps_first_key_wins</code>, <code>sets_duplicate_value_is_error</code>, <code>sets_last_value_wins</code>. <code>serde_as</code> integration is provided by implementing both <code>SerializeAs</code> and <code>DeserializeAs</code> for both types. <code>IndexMap</code>s can also be serialized as a list of types via the <code>serde_as(as = "Vec<(_, _)>")</code> annotation.</p> <p>All implementations are gated behind the <code>indexmap</code> feature.</p> <p>Thanks to <a href="https://github.com/jgrund"><code>`@jgrund</code></a>` for providing parts of the implementation.</p> </li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href=" |
||
dependabot[bot]
|
1663c45071
|
Bump serde_with from 1.12.1 to 1.13.0
Bumps [serde_with](https://github.com/jonasbb/serde_with) from 1.12.1 to 1.13.0. - [Release notes](https://github.com/jonasbb/serde_with/releases) - [Commits](https://github.com/jonasbb/serde_with/compare/v1.12.1...v1.13.0) --- updated-dependencies: - dependency-name: serde_with dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> |
||
leonardo
|
9faef08059 | Removed unnecesary reference | ||
bors[bot]
|
0aa4cbb21b
|
Merge #1025
1025: Change example rendezvous node to `/dns4/discover.unstoppableswap.net… r=delta1 a=binarybaron …/tcp/8888/p2p/12D3Ko...` The rendezvous node that was provided for testing purposes by the COMIT team will be shutdown. Co-authored-by: binarybaron <86064887+binarybaron@users.noreply.github.com> |
||
Leonardo Escuer
|
b31db0a143
|
Merge branch 'master' into libp2p_upgrade |