Skip to content

Add additional capability and DON metadata#13425

Merged
cedric-cordenier merged 11 commits intodevelopfrom
KS-284-add-additional-capability-and-don-metadata
Jun 6, 2024
Merged

Add additional capability and DON metadata#13425
cedric-cordenier merged 11 commits intodevelopfrom
KS-284-add-additional-capability-and-don-metadata

Conversation

@DeividasK
Copy link
Copy Markdown
Contributor

@DeividasK DeividasK commented Jun 5, 2024

  • Add F value to DON struct. Only validate the non-0 value.
  • Add bool acceptsWorkflows; (maybe there’s a better name?) to DON. This will be used to determine which DONs can accept user-submitted workflows.
  • Add Capability Type (trigger, action, consensus, target) to the Capability struct. This should not be modifiable.
  • Change capability name and version to string type on-chain.

archseer
archseer previously approved these changes Jun 5, 2024
/// @notice DONParams is a struct that holds the parameters for a DON.
/// @dev This is needed to avoid "stack too deep" errors in _setDONConfig.
struct DONParams {
uint32 id;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add natspec comments for the params

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will do in a follow-up to avoid losing approvals on this PR

aiagentdev-1990
aiagentdev-1990 previously approved these changes Jun 5, 2024
archseer
archseer previously approved these changes Jun 5, 2024
@DeividasK DeividasK added this pull request to the merge queue Jun 5, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 5, 2024
@DeividasK DeividasK added this pull request to the merge queue Jun 5, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 5, 2024
@DeividasK DeividasK added this pull request to the merge queue Jun 5, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to a conflict with the base branch Jun 5, 2024
…nal-capability-and-don-metadata

# Conflicts:
#	core/gethwrappers/keystone/generation/generated-wrapper-dependency-versions-do-not-edit.txt
@cedric-cordenier cedric-cordenier added this pull request to the merge queue Jun 6, 2024
Merged via the queue into develop with commit eeb363f Jun 6, 2024
@cedric-cordenier cedric-cordenier deleted the KS-284-add-additional-capability-and-don-metadata branch June 6, 2024 10:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants