Purse deposit should behave atomically

Description

From 's observation related to this PR: https://github.com/rchain/rchain/pull/2145 we should make sure that there is no observable intermediary state during a transfer.

Also, in case of failure we should rollback the whole deposit.

Note: we should expose this behaviour by a RhoSpec test before we fix it.

Assignee

Ovidiu Deac

Reporter

Ovidiu Deac

Priority

Medium

Components

Story Points

5

Epic Link

None

Fix versions

None

Labels

None

Sprint

Configure