thecointech / thecoin

Mono-repo for TheCoin project
https://thecoin.io
GNU Affero General Public License v3.0
4 stars 1 forks source link

Add unit tests to cover recent changes #543

Open FrozenKiwi opened 5 months ago

FrozenKiwi commented 5 months ago

Also, add some more tests around UberConverter, ShockAbsorber, and instant uber-transfers to cover the following change:

    // Seems good - do the transfer
    notifyWithdraw(from, finalAmount, msTransferAt); // <-- deployed fix
    notifyDeposit(to, finalAmount, msTransferAt); // <-- deployed fix
    _transfer(from, to, finalAmount);
    emit ExactTransfer(from, to, finalAmount, msTransferAt);

Follow-on from #526