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
{{ message }}
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.
With the new dynamic fee system, MIN_REMAINING_BALANCE should be adjustable.
It should add MIN_REMAINING_BALANCE a static property in the base transaction, and after subtracting balance from the sender, it should check against this MIN_REMAINING_BALANCE
The base transaction should have this property set to 500000 Beddow in bigint as a static property
When subtracting fee from sender account in the apply step, it should check if the remaining balance is equal or greater than specified MIN_REMAINING_BALANCE
Test base transaction where sender balance is the same amount as minimum balance
Test base transaction where sender balance is below the MIN_REMAINING_BALANCE
Test base transaction where sender balance is above the MIN_REMAINING_BALANCE
When recipient exists in transaction (only type 8), check resulting balance is is equal or greater than specified MIN_REMAINING_BALANCE
Test transfer transaction where recipient resulting balance is below the MIN_REMAINING_BALANCE
nazarhussain
changed the title
Add minBalance property in the base transaction, and verify when updating the account
Add MIN_REMAINING_BALANCE static property in the base transaction, and verify after updating the account
Feb 25, 2020
Description
With the new dynamic fee system,
MIN_REMAINING_BALANCE
should be adjustable.It should add
MIN_REMAINING_BALANCE
a static property in the base transaction, and after subtractingbalance
from thesender
, it should check against thisMIN_REMAINING_BALANCE
Motivation
Motivation is described in https://github.com/LiskHQ/lips/blob/master/proposals/lip-0025.md
Acceptance Criteria
The base transaction should have this property set to 500000 Beddow in
bigint
as a static propertyWhen subtracting fee from sender account in the apply step, it should check if the remaining
balance
is equal or greater than specifiedMIN_REMAINING_BALANCE
Test base transaction where sender balance is the same amount as minimum balance
Test base transaction where sender balance is below the
MIN_REMAINING_BALANCE
Test base transaction where sender balance is above the
MIN_REMAINING_BALANCE
When recipient exists in transaction (only type 8), check resulting balance is is equal or greater than specified
MIN_REMAINING_BALANCE
Test transfer transaction where recipient resulting balance is below the
MIN_REMAINING_BALANCE
Related issues
#4837
The text was updated successfully, but these errors were encountered: