Closed pmconrad closed 5 years ago
It may be debatable if this is actually a bug or meant as a feature. IMO it is a bug.
If it is a feature, supply must at least be limited to GRAPHENE_MAX_SHARE_SUPPLY
.
IMHO it's a bug and users must be restricted to borrow more than max_supply
(thus current_supply
must be always less or equal to max_supply
) as was adjusted per concrete asset, at the same time while creating new asset users cannot create max_supply
more than GRAPHENE_MAX_SHARE_SUPPLY
.
Fixed by #1498
Bug Description
call_order_update_evaluator
contains no check that an update won't increase the smartcoin's supply beyond the configured max_supplyImpacts Describe which portion(s) of BitShares Core may be impacted by this bug. Please tick at least one box.
Steps To Reproduce
call_order_update
to borrow more than max_supplyExpected Behavior The
call_order_update
should fail.CORE TEAM TASK LIST