Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prt 405 redesign chain proxy #279

Merged
merged 33 commits into from
Feb 1, 2023
Merged

Prt 405 redesign chain proxy #279

merged 33 commits into from
Feb 1, 2023

Conversation

omerlavanet
Copy link
Collaborator

  • Please check if the PR fulfills these requirements
  • Commit message follows the Contribution Guidelines
  • Tests ran locally and added/modified if needed
  • Docs have been added/updated, if applicable
  • If applicable - JIRA ticket ID was added
  • What kind of change does this PR introduce? (Bug fix, feature, unit tests, docs update, ...)

  • What is the current behavior? (You can also link to an open issue here)

  • What is the new behavior (if this is a feature change)?

  • Please describe what manual tests you ran, if applicable

  • Other information:

omerlavanet and others added 30 commits January 24, 2023 06:40
…to PRT-303-rpc-consumer-redesign-api-lib-implementation
…to PRT-303-rpc-consumer-redesign-api-lib-implementation
…i-lib-implementation' into PRT-405-redesign-chain-proxy
ranlavanet
ranlavanet previously approved these changes Feb 1, 2023
@ranlavanet ranlavanet merged commit ed34b4a into main Feb 1, 2023
orenl-lava added a commit that referenced this pull request Feb 5, 2023
orenl-lava added a commit that referenced this pull request Feb 14, 2023
orenl-lava added a commit that referenced this pull request Feb 14, 2023
orenl-lava added a commit that referenced this pull request Feb 14, 2023
orenl-lava added a commit that referenced this pull request Feb 16, 2023
omerlavanet pushed a commit that referenced this pull request Feb 16, 2023
* CNS-250: introduce spec inheritance syntax

Extend the spec syntax to add the ability for a spec to inherit/import another
spec. With spec inheritance, changes in an ancestor spec (a.k.a base spec)
would immediately propagate to all descendants specs that inherit from it.

Spec inheritance is recursive, and applied only the APIs defined (not general
spec parameters). APIs in current spec override inherited APIs, but duplicates
(from multiple ancestors) are not allowed. An override with 'Enabled: false'
effectively removes an API). Spec inheritance is valitaded when submitting a
spec proposal.

* CNS-250: query spec to return full (expanded) spec

For compatibility, query for spec(s) should return fully expanded spec(s).
This is also serves stake-provider when they query the spec, as they need
to validate and implement inherited APIs too.

* CNS-250: allow duplicate imported api with override

Allow import with duplicate API when the current Spec anyhow overrides that
API. (Normally, import of duplicate API is not allowed).

* Fix linter errors introduced by PR #279
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.

None yet

3 participants