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

Update CCF constitution to be compatible with the new ccf.crypto package #171

Merged

Conversation

andpiccione
Copy link
Member

In some of the latest CCF versions (>=5.0.0-dev0 and >=4.0.12), the ccf.isValidX509CertBundle function was changed to ccf.crypto.isValidX509CertBundle. This change caused some CCF apps (already at 4.0.12) to fail governance calls, since they didn't have an updated constitution compatible with the corresponding CCF version.

This PR applies the same fix (i.e., make the constitution compatible with different CCF package versions) to the bundled SCITT constitution. This way, we avoid running into the same problem whenever we decide to upgrade SCITT to CCF 4.0.12 or higher.

@andpiccione andpiccione marked this pull request as ready for review December 19, 2023 12:55
@andpiccione andpiccione enabled auto-merge (squash) December 19, 2023 12:55
@andpiccione andpiccione merged commit 59ba9ca into main Dec 19, 2023
6 checks passed
@andpiccione andpiccione deleted the users/apiccione/update-ccf-constitution-compatibility branch December 19, 2023 15:13
@vimauro
Copy link
Member

vimauro commented Dec 19, 2023

LGTM !

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

2 participants