Skip to content

[Provider Context] Introduce a new extrinsic propose_to_add_application #2524

@saraswatpuneet

Description

@saraswatpuneet

Details

With respect to provider context design doc, complete the following: Refer design doc

  • Add a new extrinsic propose_to_add_application that receives a ProviderRegistryEntry type payload from provider MSA
  • Ensure the origin is registered provider
  • Add a new state ProviderToApplicationRegistry douple map (ProviderId, ApplicationIndex) to store a new application once a goverance proposal is approved for application, where ApplicationIndex is monotically increasing number for each provider level application from 0..N
  • Move all the approves hashes from payload to ApprovedLogoHashes state
  • Benchmark new extrinsic
  • Add unit tests and e2e tests

Acceptance Criteria

  1. Ability to propose and add new applications
  2. ApprovedHashes successfully contains approved logo hashes from 1
  3. Tests emulating range of tests for adding and approving applications for providers
  4. Benchmarking and e2e tests

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions