Deitos-Network / deitos-node

GNU General Public License v3.0
1 stars 1 forks source link

Redefining storage items for agreements #7

Closed hbulgarini closed 9 months ago

hbulgarini commented 9 months ago

The new logical organization for the Storage Items are the following:

AgreementId => AgreementDetails; consumer => boundedVec ip -> IPDetails { active_agreements: boundedVec}

hbulgarini commented 9 months ago

@kalaninja i think we don't need to add Consumer and IP account on the AgreementDetails. Can't we grab those from the first two storage items?

hbulgarini commented 9 months ago

@kalaninja i will close this PR as it's too abstract to evaluate the right storage items setups. While i started working on the registration some changes were made.