Problem Overview
During restart and recovery post transfers a change budget coin gets created. The recovery does not account this and fails during recovery.
This considers multiple budget coins and uses the one with lowest budget value for now. This is because budget coin pool with expiry date scope is not yet supported. For current release we only consider single outstanding budget coin.
Testing Done
The google test was extended to validate restore after restart
During restart and recovery post transfers a change budget coin gets created. The recovery does not account this and fails during recovery. This considers multiple budget coins and uses the one with lowest budget value for now. This is because budget coin pool with expiry date scope is not yet supported. For current release we only consider single outstanding budget coin.