<p>just a small rabbit-hole that i went down while looking at the code.</p>
<p>storage can probably be injected directly in more places but i didn't want to change any logic in this pr.</p>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/bisq-network/bisq/pull/3107'>https://github.com/bisq-network/bisq/pull/3107</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>restore the test that was lost in a rebase of my test branch</li>
  <li>inject CorruptedDataFilesHandler instead of making it static</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3107/files#diff-0">common/src/main/java/bisq/common/storage/Storage.java</a>
    (9)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3107/files#diff-1">core/src/main/java/bisq/core/app/BisqExecutable.java</a>
    (9)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3107/files#diff-2">core/src/main/java/bisq/core/arbitration/DisputeManager.java</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3107/files#diff-3">core/src/main/java/bisq/core/offer/OpenOfferManager.java</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3107/files#diff-4">core/src/main/java/bisq/core/proto/persistable/CorePersistenceProtoResolver.java</a>
    (10)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3107/files#diff-5">core/src/main/java/bisq/core/trade/TradeManager.java</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3107/files#diff-6">core/src/main/java/bisq/core/trade/closed/ClosedTradableManager.java</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3107/files#diff-7">core/src/main/java/bisq/core/trade/failed/FailedTradesManager.java</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3107/files#diff-8">core/src/test/java/bisq/core/offer/OpenOfferManagerTest.java</a>
    (15)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3107/files#diff-9">core/src/test/java/bisq/core/trade/TradableListTest.java</a>
    (3)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3107/files#diff-10">desktop/src/main/java/bisq/desktop/main/account/content/altcoinaccounts/AltCoinAccountsDataModel.java</a>
    (10)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3107/files#diff-11">desktop/src/main/java/bisq/desktop/main/account/content/fiataccounts/FiatAccountsDataModel.java</a>
    (10)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3107/files#diff-12">desktop/src/main/java/bisq/desktop/util/GUIUtil.java</a>
    (9)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3107/files#diff-13">monitor/src/main/java/bisq/monitor/metric/P2PNetworkLoad.java</a>
    (6)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3107/files#diff-14">p2p/src/main/java/bisq/network/p2p/peers/PeerManager.java</a>
    (5)
  </li>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/3107/files#diff-15">p2p/src/test/java/bisq/network/p2p/storage/P2PDataStorageTest.java</a>
    (217)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/3107.patch'>https://github.com/bisq-network/bisq/pull/3107.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/3107.diff'>https://github.com/bisq-network/bisq/pull/3107.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/3107?email_source=notifications&email_token=AJFFTNUAG7UL225AVFTICADQFKY7TA5CNFSM4INCWIO2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGAKK7Q">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNQCXVPAFGNERPCBARTQFKY7TANCNFSM4INCWIOQ">mute the thread</a>.<img src="https://github.com/notifications/beacon/AJFFTNQXG67ZO3IOIUDA3SLQFKY7TA5CNFSM4INCWIO2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGAKK7Q.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/3107?email_source=notifications\u0026email_token=AJFFTNUAG7UL225AVFTICADQFKY7TA5CNFSM4INCWIO2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGAKK7Q",
"url": "https://github.com/bisq-network/bisq/pull/3107?email_source=notifications\u0026email_token=AJFFTNUAG7UL225AVFTICADQFKY7TA5CNFSM4INCWIO2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HGAKK7Q",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>