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
Currently all services that increase/decrease balance/fee amount in the InstanceStore use an indirect call via ComponentService to methods like increaseBundleBalance or decreaseBundleBalance. This indirection increases gas costs and can also be confusing.
We should replace this indirection with direct calls to InstanceStore from the service. Therfore we need to duplicate the increaseBalance, decreaseBalance, increaseFees, decreaseFees for all component type as well as bundle/distributor. (duplication is required to handle authz).
The text was updated successfully, but these errors were encountered:
Currently all services that increase/decrease balance/fee amount in the
InstanceStore
use an indirect call viaComponentService
to methods likeincreaseBundleBalance
ordecreaseBundleBalance
. This indirection increases gas costs and can also be confusing.We should replace this indirection with direct calls to
InstanceStore
from the service. Therfore we need to duplicate theincreaseBalance
,decreaseBalance
,increaseFees
,decreaseFees
for all component type as well as bundle/distributor. (duplication is required to handle authz).The text was updated successfully, but these errors were encountered: