Skip to content

Support Metadata Input on Package Creation #80

@Cedarich

Description

@Cedarich

Description

Allow the caller to pass metadata into create_package instead of always using an empty map.

Requirements

  • Update create_package signature to accept metadata: Map<Symbol, String>.
  • Store the provided metadata in the Package struct instead of constructing an empty map.
  • Add tests creating a package with some metadata keys and validating they are stored and retrievable.
  • Consider basic constraints (for now just rely on gas limits; no hard limit required).

Complexity

  • Level: 150

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions