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

Allow bulletproof implementation upgradability in RGB schema #112

Open
dr-orlovsky opened this issue Jun 19, 2021 · 1 comment
Open

Allow bulletproof implementation upgradability in RGB schema #112

dr-orlovsky opened this issue Jun 19, 2021 · 1 comment
Assignees
Labels
proposal New proposals [RGB] Specs related to client-validated state management system

Comments

@dr-orlovsky
Copy link
Member

After @yojoe suggestion, we should reserve a byte in RGB Schema for specifying bulletproof implementation which should be used for validating contracts issued under the schema. For now, it has to be set to 0, but in the future, if there wouild be issues discovered in the used implementation and RGB Core library will upgraded with an alternative implementations, a subschemata should be allowed to provide other values specifying the different bulletproof implementation to be used with assets (re-)issued under the subschemata.

While coordinating RGB protocol level upgrades is impossible due to the nature of the client-side-validation, if a bug will be discovered the wallets will be incentivised to upgrade the used versions and issuers will have ability to migrate their assets accordingly. Reserving a byte will allow to maintain binary compatibility of the protocol change.

@dr-orlovsky dr-orlovsky added the [RGB] Specs related to client-validated state management system label Jun 19, 2021
@dr-orlovsky dr-orlovsky added this to the RGB schemata v1 milestone Jun 19, 2021
@dr-orlovsky dr-orlovsky added the proposal New proposals label Jun 19, 2021
@dr-orlovsky
Copy link
Member Author

Alternatively, consider using Schema feature flags for this purpose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
proposal New proposals [RGB] Specs related to client-validated state management system
Projects
None yet
Development

No branches or pull requests

1 participant