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

Spike: Prototype Partial Set Security in Quint #1574

Closed
Tracked by #853
p-offtermatt opened this issue Jan 19, 2024 · 0 comments · Fixed by #1627
Closed
Tracked by #853

Spike: Prototype Partial Set Security in Quint #1574

p-offtermatt opened this issue Jan 19, 2024 · 0 comments · Fixed by #1627
Assignees
Labels
S: Productivity Productivity: Developer tooling, infrastructure improvements enabling future growth scope: MBT model based testing scope: testing Code review, testing, making sure the code is following the specification.

Comments

@p-offtermatt
Copy link
Contributor

p-offtermatt commented Jan 19, 2024

Problem

We want to get familiar with doing spike implementations in Quint, in particular we want to assess whether it is even
viable. Therefore, we should model partial set security in Quint first, and pay attention to whether this is useful during later implementation stages.

Closing criteria

Partial set security has been added to the Quint model of CCV.

Problem details

These are the steps to spiking partial set security in the CCV Quint model:

  • Add data structures that are necessary for partial set security to ProviderState/ConsumerState
  • Implement Partial Set Security API. Some incomplete suggestions:
    • Add new consumer chain as top-n
    • Add new consumer chain permissionlessly
    • Adjust top-n percentage
    • Validator opts in to a chain (either with inclusive top-n or into a permissionless consumer chain)
    • Validator opts out of a chain
    • ...more?
  • Adjust logic in existing model. Some incomplete suggestions:
    • Different VSCPackets should be sent to different chains, depending on opted-in validators
    • When blocks end and the validator set changes, who is top-n forced to what chain needs to change

TODO: this might become an epic and need to be split, but for now I think it's probably not big enough for an epic

@p-offtermatt p-offtermatt added scope: MBT model based testing admin: epic An EPIC -- meta issue used to track a body of work labels Jan 19, 2024
@p-offtermatt p-offtermatt self-assigned this Jan 19, 2024
@p-offtermatt p-offtermatt added scope: testing Code review, testing, making sure the code is following the specification. S: Productivity Productivity: Developer tooling, infrastructure improvements enabling future growth and removed admin: epic An EPIC -- meta issue used to track a body of work labels Jan 25, 2024
@p-offtermatt p-offtermatt linked a pull request Jan 31, 2024 that will close this issue
8 tasks
@mpoke mpoke closed this as completed Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: Productivity Productivity: Developer tooling, infrastructure improvements enabling future growth scope: MBT model based testing scope: testing Code review, testing, making sure the code is following the specification.
Projects
Status: ✅ Done
2 participants