You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<p dir="auto">This is the last big swap <-> wallet refactor - mostly because the wallet does not exist anymore after this.</p>
<p dir="auto">Here is a very basic overview of changes:</p>
<ul dir="auto">
<li>Move any mutating state from the wallet (so fields that we Optional before) into the swap state machine</li>
<li>Pass in Event and Runtime into the wallet functions</li>
<li>Use the farcaster core types instead of the wrapped p2p types for increased type safety</li>
<li>Move functions that functionally belong into the wallet from the swapd Runtime into the wallet</li>
<li>Thanks to these changes remove much of the complicated Error handling and checking from the wallet</li>
<li>The remote proof is now just verified, but not persisted anymore. It's therefore no longer part of the checkpoint!</li>
<li>Rename the <code class="notranslate">swapd/wallet.rs</code> to <code class="notranslate">swapd/swap_key_manager.rs</code></li>
</ul>
0 commit comments