Making all fields private revealed some weirdness in how we compute
the position of the CFD. For an order, it made sense that we store
the `origin` of it. For a CFD however, it makes more sense to store
the position and role of the actor explicitly and derive other
information from there.
877: Remove oracle event id from cfd r=da-kami a=da-kami
Loading the CFD by oracle event id, based on the "initial oracle event id" that we store in the CFD is wrong.
We should actually not store this even id at all, as it only becomes relevant once the setup is completed and we have a DLC.
If we load based on the event id that was stored in the CFD we might still load based on an outdated id once we roll over!
Thus, the event id of the cfd was removed. We always use the one stored in the DLC.
Since it is very hard to load a CFD based on the event id in the DLC (because that only exists in some states) this was removed.
Instead, upon attestation, we load all CFDs and then decide if we care about the attestation.
This should be optimized to loading all **open** CFDs at some point.
Co-authored-by: Daniel Karzel <daniel@comit.network>
883: Bump mockall_derive from 0.10.2 to 0.11.0 r=thomaseizinger a=dependabot[bot]
Bumps [mockall_derive](https://github.com/asomers/mockall) from 0.10.2 to 0.11.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/asomers/mockall/blob/master/CHANGELOG.md">mockall_derive's changelog</a>.</em></p>
<blockquote>
<h2>[ 0.11.0 ] - 2021-12-11</h2>
<h3>Added</h3>
<ul>
<li><code>mock!</code> and <code>#[automock]</code> now support <code>unsafe</code> traits.
(<a href="https://github-redirect.dependabot.com/asomers/mockall/pull/313">#313</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Bump <code>predicates</code> to v2.0.1, see all v2 changes in
<a href="https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md">predicates' changelog</a>.
(<a href="https://github-redirect.dependabot.com/asomers/mockall/pull/325">#325</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fixed nondeterministic code generation in methods with multiple lifetime
parameters.
(<a href="https://github-redirect.dependabot.com/asomers/mockall/pull/333">#333</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="1c6a7ab38c"><code>1c6a7ab</code></a> (cargo-release) version 0.11.0</li>
<li><a href="62e22e76e3"><code>62e22e7</code></a> (cargo-release) version 0.11.0</li>
<li><a href="e49261335d"><code>e492613</code></a> Update Mockall's dev-dependency on mockall-double</li>
<li><a href="d7e351199f"><code>d7e3511</code></a> (cargo-release) version 0.2.1</li>
<li><a href="539d8dac88"><code>539d8da</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/asomers/mockall/issues/353">#353</a> from asomers/downcast_0.11</li>
<li><a href="7abfc2464a"><code>7abfc24</code></a> Update downcast to 0.11.0</li>
<li><a href="d4dceabcdb"><code>d4dceab</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/asomers/mockall/issues/346">#346</a> from asomers/unused-warnings</li>
<li><a href="383fb14f33"><code>383fb14</code></a> Fix a Clippy lint on the latest nightly</li>
<li><a href="fbf86241e3"><code>fbf8624</code></a> Suppress unused_imports warnings when mocking modules</li>
<li><a href="bda0ed79e6"><code>bda0ed7</code></a> Be picker about using #[allow(unused)] in the tests</li>
<li>Additional commits viewable in <a href="https://github.com/asomers/mockall/compare/v0.10.2...v0.11.0">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mockall_derive&package-manager=cargo&previous-version=0.10.2&new-version=0.11.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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>
881: Bump mockall from 0.10.2 to 0.11.0 r=thomaseizinger a=dependabot[bot]
Bumps [mockall](https://github.com/asomers/mockall) from 0.10.2 to 0.11.0.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/asomers/mockall/blob/master/CHANGELOG.md">mockall's changelog</a>.</em></p>
<blockquote>
<h2>[ 0.11.0 ] - 2021-12-11</h2>
<h3>Added</h3>
<ul>
<li><code>mock!</code> and <code>#[automock]</code> now support <code>unsafe</code> traits.
(<a href="https://github-redirect.dependabot.com/asomers/mockall/pull/313">#313</a>)</li>
</ul>
<h3>Changed</h3>
<ul>
<li>Bump <code>predicates</code> to v2.0.1, see all v2 changes in
<a href="https://github.com/assert-rs/predicates-rs/blob/master/CHANGELOG.md">predicates' changelog</a>.
(<a href="https://github-redirect.dependabot.com/asomers/mockall/pull/325">#325</a>)</li>
</ul>
<h3>Fixed</h3>
<ul>
<li>Fixed nondeterministic code generation in methods with multiple lifetime
parameters.
(<a href="https://github-redirect.dependabot.com/asomers/mockall/pull/333">#333</a>)</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="1c6a7ab38c"><code>1c6a7ab</code></a> (cargo-release) version 0.11.0</li>
<li><a href="62e22e76e3"><code>62e22e7</code></a> (cargo-release) version 0.11.0</li>
<li><a href="e49261335d"><code>e492613</code></a> Update Mockall's dev-dependency on mockall-double</li>
<li><a href="d7e351199f"><code>d7e3511</code></a> (cargo-release) version 0.2.1</li>
<li><a href="539d8dac88"><code>539d8da</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/asomers/mockall/issues/353">#353</a> from asomers/downcast_0.11</li>
<li><a href="7abfc2464a"><code>7abfc24</code></a> Update downcast to 0.11.0</li>
<li><a href="d4dceabcdb"><code>d4dceab</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/asomers/mockall/issues/346">#346</a> from asomers/unused-warnings</li>
<li><a href="383fb14f33"><code>383fb14</code></a> Fix a Clippy lint on the latest nightly</li>
<li><a href="fbf86241e3"><code>fbf8624</code></a> Suppress unused_imports warnings when mocking modules</li>
<li><a href="bda0ed79e6"><code>bda0ed7</code></a> Be picker about using #[allow(unused)] in the tests</li>
<li>Additional commits viewable in <a href="https://github.com/asomers/mockall/compare/v0.10.2...v0.11.0">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=mockall&package-manager=cargo&previous-version=0.10.2&new-version=0.11.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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>
882: Bump clap from 3.0.0-rc.3 to 3.0.0-rc.4 r=thomaseizinger a=dependabot[bot]
Bumps [clap](https://github.com/clap-rs/clap) from 3.0.0-rc.3 to 3.0.0-rc.4.
<details>
<summary>Commits</summary>
<ul>
<li><a href="c3f8c8938f"><code>c3f8c89</code></a> chore: Release</li>
<li><a href="74349cfcaa"><code>74349cf</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3144">#3144</a> from epage/test</li>
<li><a href="703238f155"><code>703238f</code></a> test(derive): Check all derives</li>
<li><a href="43d3ac37a6"><code>43d3ac3</code></a> fix(derive): Allow aliased Option with ArgEnum</li>
<li><a href="71a564de88"><code>71a564d</code></a> test(derive): Don't parse the actual command line</li>
<li><a href="0eda43d0f6"><code>0eda43d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3142">#3142</a> from spire-ffoston/fix-result-type-alias-derive-impl</li>
<li><a href="cfbea9b12f"><code>cfbea9b</code></a> docs: Note argfile's existence</li>
<li><a href="1285c0f885"><code>1285c0f</code></a> fix: unqualified result types causing compilation failures with derive implem...</li>
<li>See full diff in <a href="https://github.com/clap-rs/clap/compare/clap_generate-v3.0.0-rc.3...clap_generate-v3.0.0-rc.4">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=clap&package-manager=cargo&previous-version=3.0.0-rc.3&new-version=3.0.0-rc.4)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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>
885: Bump @emotion/react from 11.7.0 to 11.7.1 in /taker-frontend r=thomaseizinger a=dependabot[bot]
Bumps [`@emotion/react](https://github.com/emotion-js/emotion)` from 11.7.0 to 11.7.1.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/emotion-js/emotion/releases"><code>`@emotion/react</code>'s` releases</a>.</em></p>
<blockquote>
<h2><code>`@emotion/react</code><a` href="https://github.com/11"><code>`@11</code></a>.7.1</h2>`
<h3>Patch Changes</h3>
<ul>
<li>
<p><a href="https://github-redirect.dependabot.com/emotion-js/emotion/pull/2577">#2577</a> <a href="04681a5f52"><code>04681a5f</code></a> Thanks <a href="https://github.com/Methuselah96"><code>`@Methuselah96</code></a>!` - Export <code>Keyframes</code> type to avoid TypeScript inserting <code>import("`@emotion/serialize").Keyframes</code>` references into declaration files emitted based on a source files exporting <code>keyframes</code> result. This avoids issues with strict package managers that don't allow accessing undeclared dependencies.</p>
</li>
<li>
<p><a href="https://github-redirect.dependabot.com/emotion-js/emotion/pull/2590">#2590</a> <a href="1554a7e264"><code>1554a7e2</code></a> Thanks <a href="https://github.com/Andarist"><code>`@Andarist</code></a>!` - Upgraded and pinned the version of Stylis - the CSS parser that Emotion uses under the hood.</p>
</li>
<li>
<p>Updated dependencies [<a href="1554a7e264"><code>1554a7e2</code></a>]:</p>
<ul>
<li><code>`@emotion/cache</code><a` href="https://github.com/11"><code>`@11</code></a>.7.1</li>`
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="01cca604ca"><code>01cca60</code></a> Version Packages (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2581">#2581</a>)</li>
<li><a href="1554a7e264"><code>1554a7e</code></a> Stylis upgrade (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2590">#2590</a>)</li>
<li><a href="04681a5f52"><code>04681a5</code></a> Export Keyframes type from <code>`@emotion/react</code>` (<a href="https://github-redirect.dependabot.com/emotion-js/emotion/issues/2577">#2577</a>)</li>
<li><a href="26ded6109f"><code>26ded61</code></a> Tweak grammar in the CHANGELOGs</li>
<li>See full diff in <a href="https://github.com/emotion-js/emotion/compare/`@emotion/react@11.7.0...@emotion/react@11.7.1">compare` view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=`@emotion/react&package-manager=npm_and_yarn&previous-version=11.7.0&new-version=11.7.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)`
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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>
Loading the CFD by oracle event id, based on the "initial oracle event id" that we store in the CFD is wrong.
We should actually no store this even id at all, as it only becomes relevant once the setup is completed and we have a DLC.
If we load based on the event id that was stored in the CFD we might still load based on an outdated id once we roll over!
Thus, the event id of the cfd was removed. We always use the one stored in the DLC.
Since it is very hard to load a CFD based on the event id in the DLC (because that only exists in some states) this was removed.
Instead, upon attestation, we load all CFDs and then decide if we care about the attestation.
This should be optimized to loading all **open** CFDs at some point.
806: Move maker rollover logic to dedicated actor r=rishflab a=rishflab
The rollover actor is spawned the the maker receives a rollover proposal message from the taker. After the rollover is complete, it sends itself
a completion message triggering a "cleanup" handler. Cleanup involves sending messages to maker_cfd actor and the maker_inc_connections to
trigger removal of stored references to the rollover actor.
potential todo:
- [x] Move projection actor to `maker_rollover::Actor` instead of doing all the ui updates in the "maker_cfd::Actor"
Co-authored-by: rishflab <rishflab@hotmail.com>
The rollover actor is spawned the the maker receives a rollover proposal message from the taker. After the rollover is complete, it sends itself
a completion message triggering a "cleanup" handler. Cleanup involves sending messages to maker_cfd actor and the maker_inc_connections to
trigger removal of stored references to the rollover actor.
Add a macro to simplify assertions on Cfd state in both maker and taker, which
significantly reduces boilerplate in tests.
Macro was used for brevity (we can hide `.await.unwrap()`), when a function was
used it would take 4 lines after formatting.
863: Switch to `import_granularity: item` r=thomaseizinger a=thomaseizinger
Putting each import statement on a dedicated line makes it a lot less
likely to create merge conflicts when items are removed / added because
Git resolves conflicts on a line-by-line basis.
Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
Putting each import statement on a dedicated line makes it a lot less
likely to create merge conflicts when items are removed / added because
Git resolves conflicts on a line-by-line basis.
819: Don't store order in database r=da-kami a=thomaseizinger
Todo:
- [x] Needs manual testing
Tested opening a CFD locally. All fine.
Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
871: Bump framer-motion from 5.4.4 to 5.4.5 in /taker-frontend r=thomaseizinger a=dependabot[bot]
Bumps [framer-motion](https://github.com/framer/motion) from 5.4.4 to 5.4.5.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/framer/motion/blob/main/CHANGELOG.md">framer-motion's changelog</a>.</em></p>
<blockquote>
<h2>[5.4.5] 2021-12-09</h2>
<h3>Fixed</h3>
<ul>
<li>Passing <code>MotionConfigContext</code> through from DOM into 3D.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="196772ddd1"><code>196772d</code></a> 5.4.5</li>
<li><a href="3c5143bcca"><code>3c5143b</code></a> Passing MotionConfigContext across MotionCanvas</li>
<li>See full diff in <a href="https://github.com/framer/motion/compare/v5.4.4...v5.4.5">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=framer-motion&package-manager=npm_and_yarn&previous-version=5.4.4&new-version=5.4.5)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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>
836: Introduce a supervisor actor that can restart another actor. r=thomaseizinger a=thomaseizinger
866: Bump vergen from 5.2.0 to 6.0.0 r=thomaseizinger a=dependabot[bot]
Bumps [vergen](https://github.com/rustyhorde/vergen) from 5.2.0 to 6.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/rustyhorde/vergen/releases">vergen's releases</a>.</em></p>
<blockquote>
<h2>v6.0.0</h2>
<ul>
<li>The <code>Copy</code> impl was dropped from the <code>Config</code> struct to facilitate specifying a non-standard git base path.</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="21d6cdce0c"><code>21d6cdc</code></a> prepare 6.0 release</li>
<li>See full diff in <a href="https://github.com/rustyhorde/vergen/compare/5.2.0...6.0.0">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=vergen&package-manager=cargo&previous-version=5.2.0&new-version=6.0.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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>
867: Bump clap from 3.0.0-rc.1 to 3.0.0-rc.3 r=thomaseizinger a=dependabot[bot]
Bumps [clap](https://github.com/clap-rs/clap) from 3.0.0-rc.1 to 3.0.0-rc.3.
<details>
<summary>Commits</summary>
<ul>
<li><a href="ada95d6f3d"><code>ada95d6</code></a> chore: Release</li>
<li><a href="4ab51976a3"><code>4ab5197</code></a> chore: Release</li>
<li><a href="ca48e22827"><code>ca48e22</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3140">#3140</a> from epage/panic</li>
<li><a href="a4d2920cfa"><code>a4d2920</code></a> docs(readme): Raise visibility of wild</li>
<li><a href="756f825521"><code>756f825</code></a> fix: Point to public method on ArgMatches panic</li>
<li><a href="264dc37e50"><code>264dc37</code></a> fix: Report if mixing subcommands and args</li>
<li><a href="313b5e3c80"><code>313b5e3</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3138">#3138</a> from epage/disp</li>
<li><a href="d38452c953"><code>d38452c</code></a> refactor: Clarify explicit display order wins</li>
<li><a href="ae2b315f6a"><code>ae2b315</code></a> docs: Fix changelog link</li>
<li><a href="cf93d7c75a"><code>cf93d7c</code></a> docs: Fix example output</li>
<li>Additional commits viewable in <a href="https://github.com/clap-rs/clap/compare/clap_generate-v3.0.0-rc.1...clap_generate-v3.0.0-rc.3">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=clap&package-manager=cargo&previous-version=3.0.0-rc.1&new-version=3.0.0-rc.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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>
868: Bump async-trait from 0.1.51 to 0.1.52 r=thomaseizinger a=dependabot[bot]
Bumps [async-trait](https://github.com/dtolnay/async-trait) from 0.1.51 to 0.1.52.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a href="https://github.com/dtolnay/async-trait/releases">async-trait's releases</a>.</em></p>
<blockquote>
<h2>0.1.52</h2>
<ul>
<li>Eliminate <code>clippy::shadow_some</code> restriction lint from generated code (<a href="https://github-redirect.dependabot.com/dtolnay/async-trait/issues/184">#184</a>, thanks <a href="https://github.com/c410-f3r"><code>`@c410-f3r</code></a>)</li>`
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="20bd296e0d"><code>20bd296</code></a> Release 0.1.52</li>
<li><a href="076b7303ab"><code>076b730</code></a> Touch up PR 184</li>
<li><a href="9c42e3d90d"><code>9c42e3d</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/dtolnay/async-trait/issues/184">#184</a> from c410-f3r/clippy</li>
<li><a href="7f0d4b6488"><code>7f0d4b6</code></a> Format PR 184 with rustfmt</li>
<li><a href="572f7e95f4"><code>572f7e9</code></a> Sort lint_suppress_with_body</li>
<li><a href="5629db9678"><code>5629db9</code></a> Fix <code>clippy::shadow_same</code> warning</li>
<li><a href="c5de48ef87"><code>c5de48e</code></a> Update ui test suite to nightly-2021-11-26</li>
<li><a href="7080dc8c99"><code>7080dc8</code></a> Raise minimum tested version to rustc 1.45</li>
<li><a href="278abc7ab4"><code>278abc7</code></a> Install newest build of cargo-outdated</li>
<li><a href="1ab566d3e7"><code>1ab566d</code></a> Remove noisy warnings from unreachable ui test</li>
<li>Additional commits viewable in <a href="https://github.com/dtolnay/async-trait/compare/0.1.51...0.1.52">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=async-trait&package-manager=cargo&previous-version=0.1.51&new-version=0.1.52)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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>
869: Bump typescript from 4.5.2 to 4.5.3 in /taker-frontend r=thomaseizinger a=dependabot[bot]
Bumps [typescript](https://github.com/Microsoft/TypeScript) from 4.5.2 to 4.5.3.
<details>
<summary>Commits</summary>
<ul>
<li>See full diff in <a href="https://github.com/Microsoft/TypeScript/commits">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=typescript&package-manager=npm_and_yarn&previous-version=4.5.2&new-version=4.5.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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>
870: Bump @chakra-ui/react from 1.7.2 to 1.7.3 in /taker-frontend r=thomaseizinger a=dependabot[bot]
Bumps [`@chakra-ui/react](https://github.com/chakra-ui/chakra-ui/tree/HEAD/packages/react)` from 1.7.2 to 1.7.3.
<details>
<summary>Changelog</summary>
<p><em>Sourced from <a href="https://github.com/chakra-ui/chakra-ui/blob/main/packages/react/CHANGELOG.md"><code>`@chakra-ui/react</code>'s` changelog</a>.</em></p>
<blockquote>
<h2>1.7.3</h2>
<h3>Patch Changes</h3>
<ul>
<li><a href="https://github-redirect.dependabot.com/chakra-ui/chakra-ui/pull/5133">#5133</a>
<a href="6efe10f210"><code>6efe10f21</code></a>
Thanks <a href="https://github.com/yoannfleurydev"><code>`@yoannfleurydev</code></a>!` - Update
storybook url configuration for <code>`@chakra-ui/react</code>` to
<a href="https://storybook.chakra-ui.com">https://storybook.chakra-ui.com</a></li>
<li>Updated dependencies
[<a href="26d2a547bc"><code>26d2a547b</code></a>,
<a href="cd0b7996b3"><code>cd0b7996b</code></a>,
<a href="ba76b8125a"><code>ba76b8125</code></a>,
<a href="d139cc1515"><code>d139cc151</code></a>,
<a href="586eb6090f"><code>586eb6090</code></a>,
<a href="f565841c62"><code>f565841c6</code></a>,
<a href="f15099adc6"><code>f15099adc</code></a>,
<a href="98b9fbecb2"><code>98b9fbecb</code></a>,
<a href="c20aa919e4"><code>c20aa919e</code></a>,
<a href="53e2df4f9c"><code>53e2df4f9</code></a>,
<a href="b4decca9af"><code>b4decca9a</code></a>,
<a href="39846457e2"><code>39846457e</code></a>,
<a href="f4fd9441ea"><code>f4fd9441e</code></a>,
<a href="17400aff62"><code>17400aff6</code></a>]:
<ul>
<li><code>`@chakra-ui/layout</code><a` href="https://github.com/1"><code>`@1</code></a>.6.0</li>`
<li><code>`@chakra-ui/menu</code><a` href="https://github.com/1"><code>`@1</code></a>.8.2</li>`
<li><code>`@chakra-ui/popover</code><a` href="https://github.com/1"><code>`@1</code></a>.11.0</li>`
<li><code>`@chakra-ui/input</code><a` href="https://github.com/1"><code>`@1</code></a>.3.2</li>`
<li><code>`@chakra-ui/system</code><a` href="https://github.com/1"><code>`@1</code></a>.8.3</li>`
<li><code>`@chakra-ui/theme</code><a` href="https://github.com/1"><code>`@1</code></a>.12.2</li>`
<li><code>`@chakra-ui/toast</code><a` href="https://github.com/1"><code>`@1</code></a>.5.0</li>`
<li><code>`@chakra-ui/tooltip</code><a` href="https://github.com/1"><code>`@1</code></a>.4.2</li>`
<li><code>`@chakra-ui/media-query</code><a` href="https://github.com/1"><code>`@1</code></a>.2.2</li>`
<li><code>`@chakra-ui/transition</code><a` href="https://github.com/1"><code>`@1</code></a>.4.2</li>`
<li><code>`@chakra-ui/icon</code><a` href="https://github.com/2"><code>`@2</code></a>.0.0</li>`
<li><code>`@chakra-ui/accordion</code><a` href="https://github.com/1"><code>`@1</code></a>.4.2</li>`
<li><code>`@chakra-ui/alert</code><a` href="https://github.com/1"><code>`@1</code></a>.3.2</li>`
<li><code>`@chakra-ui/close-button</code><a` href="https://github.com/1"><code>`@1</code></a>.2.2</li>`
<li><code>`@chakra-ui/form-control</code><a` href="https://github.com/1"><code>`@1</code></a>.5.2</li>`
<li><code>`@chakra-ui/modal</code><a` href="https://github.com/1"><code>`@1</code></a>.10.2</li>`
<li><code>`@chakra-ui/number-input</code><a` href="https://github.com/1"><code>`@1</code></a>.3.2</li>`
<li><code>`@chakra-ui/provider</code><a` href="https://github.com/1"><code>`@1</code></a>.7.3</li>`
<li><code>`@chakra-ui/radio</code><a` href="https://github.com/1"><code>`@1</code></a>.4.3</li>`
<li><code>`@chakra-ui/select</code><a` href="https://github.com/1"><code>`@1</code></a>.2.2</li>`
<li><code>`@chakra-ui/skeleton</code><a` href="https://github.com/1"><code>`@1</code></a>.2.3</li>`
<li><code>`@chakra-ui/stat</code><a` href="https://github.com/1"><code>`@1</code></a>.2.2</li>`
<li><code>`@chakra-ui/tag</code><a` href="https://github.com/1"><code>`@1</code></a>.2.2</li>`
<li><code>`@chakra-ui/textarea</code><a` href="https://github.com/1"><code>`@1</code></a>.2.2</li>`
</ul>
</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a href="211c64187d"><code>211c641</code></a> chore(release): version packages</li>
<li><a href="5c865602bf"><code>5c86560</code></a> Merge pull request <a href="https://github.com/chakra-ui/chakra-ui/tree/HEAD/packages/react/issues/4594">#4594</a> from feychenie/refactor/move-provider-to-separate-pa...</li>
<li><a href="74c850b551"><code>74c850b</code></a> chore: updates</li>
<li><a href="e7a732755e"><code>e7a7327</code></a> chore: general cleanups and updates to theme</li>
<li><a href="5b3373daef"><code>5b3373d</code></a> chore: update themes and fix type issues</li>
<li><a href="209c6d3f45"><code>209c6d3</code></a> chore: update extend theme to support new anatomy</li>
<li><a href="26f875c62a"><code>26f875c</code></a> refactor: move ChakraProvider to its own package</li>
<li>See full diff in <a href="https://github.com/chakra-ui/chakra-ui/commits/`@chakra-ui/menu@1.7.3/packages/react">compare` view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=`@chakra-ui/react&package-manager=npm_and_yarn&previous-version=1.7.2&new-version=1.7.3)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)`
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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: Thomas Eizinger <thomas@eizinger.io>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
862: Cleanup ephemeral r=luckysori a=luckysori
Trying to align setup actors with the rest of the ephemeral actors. Let me know if there's anything else.
Co-authored-by: Lucas Soriano del Pino <lucas_soriano@fastmail.com>
859: Introduce a changelog r=thomaseizinger a=thomaseizinger
Now that we have a mainnet release, best to start tracking changes!
Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
831: Keep BitMex API connection API open r=thomaseizinger a=thomaseizinger
To keep the BitMex API connection open, we need to send `Ping` messages to it.
To send `Ping` messages, we need access to the `Sink` API of the websocket connection.
By get access to the `Sink` API, we must not use any of the `Stream` combinators on the connection.
Not using any of the stream combinators makes it clunky to retrieve an initial quote before we start the loop.
Relying on an initial quote being available has been annoying in the past, and also doesn't help with ideas like https://github.com/itchysats/itchysats/discussions/753.
We also already had some hacky solution in place that defaulted to 0 for errors in calculating the profit.
Fix both problems by rendering only a part of the CFD blank:
![Screenshot from 2021-12-08 11-47-35](https://user-images.githubusercontent.com/5486389/145134380-c85e3cb7-31d6-482f-9ad0-2cdc8745d986.png)
Fixes#736.
Co-authored-by: Thomas Eizinger <thomas@eizinger.io>
858: Bump clap from 3.0.0-beta.5 to 3.0.0-rc.1 r=thomaseizinger a=dependabot[bot]
Bumps [clap](https://github.com/clap-rs/clap) from 3.0.0-beta.5 to 3.0.0-rc.1.
<details>
<summary>Commits</summary>
<ul>
<li><a href="3dec7df14f"><code>3dec7df</code></a> chore: Release</li>
<li><a href="5a3ace8de4"><code>5a3ace8</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3109">#3109</a> from epage/deprecate</li>
<li><a href="9d7becca68"><code>9d7becc</code></a> docs: Update deprecation messages</li>
<li><a href="4c807a0632"><code>4c807a0</code></a> docs(faq): Update structopt status</li>
<li><a href="91b5b395f5"><code>91b5b39</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3105">#3105</a> from colinwahl/pack-exclusive-setting</li>
<li><a href="0b2a04c572"><code>0b2a04c</code></a> fix: Fix typo</li>
<li><a href="f396b28419"><code>f396b28</code></a> chore: Pack exclusive setting into ArgSettings</li>
<li><a href="1f465b57e3"><code>1f465b5</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3104">#3104</a> from epage/unstable</li>
<li><a href="3b5c5c7879"><code>3b5c5c7</code></a> Merge pull request <a href="https://github-redirect.dependabot.com/clap-rs/clap/issues/3101">#3101</a> from epage/features</li>
<li><a href="130a1dc0e2"><code>130a1dc</code></a> test: Actually allow unstable examples to be tested</li>
<li>Additional commits viewable in <a href="https://github.com/clap-rs/clap/compare/v3.0.0-beta.5...clap_generate-v3.0.0-rc.1">compare view</a></li>
</ul>
</details>
<br />
[![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=clap&package-manager=cargo&previous-version=3.0.0-beta.5&new-version=3.0.0-rc.1)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores)
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually 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>