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

Add schemaVersion field into NOC/ICA and auxiliary models #573

Merged
merged 3 commits into from
Jun 5, 2024

Conversation

Abdulbois
Copy link
Collaborator

No description provided.

@Abdulbois Abdulbois force-pushed the add-schemaVersion-into-NOC-models branch 8 times, most recently from dbf904d to ba3318e Compare May 27, 2024 09:00
@Abdulbois Abdulbois force-pushed the add-schemaVersion-into-NOC-models branch 4 times, most recently from 4b7e72f to 0e08a56 Compare May 31, 2024 11:23
- Bump schemaVersion of PKI Distribution Point model
- Add base64 format validation for OTAChecksum of Model Version model

Signed-off-by: Abdulbois <abdulbois.tursunov@dsr-corporation.com>
Signed-off-by: Abdulbois <abdulbois123@gmail.com>
Signed-off-by: Abdulbois <abdulbois.tursunov@dsr-corporation.com>
Signed-off-by: Abdulbois <abdulbois123@gmail.com>
@Abdulbois Abdulbois force-pushed the add-schemaVersion-into-NOC-models branch 2 times, most recently from c46dbb5 to daaa356 Compare May 31, 2024 12:37
@@ -13,12 +13,11 @@ const TypeMsgAddNocX509IcaCert = "add_noc_x_509_ica_cert"

var _ sdk.Msg = &MsgAddNocX509IcaCert{}

func NewMsgAddNocX509IcaCert(signer string, cert string, certSchemaVersion, schemaVersion uint32) *MsgAddNocX509IcaCert {
func NewMsgAddNocX509IcaCert(signer string, cert string, schemaVersion uint32) *MsgAddNocX509IcaCert {
Copy link
Collaborator

Choose a reason for hiding this comment

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

It might be better to use the certSchemaVersion instead of schemaVersion to be consistent with the field name CertSchemaVersion in MsgAddNocX509IcaCert

Signed-off-by: Abdulbois <abdulbois.tursunov@dsr-corporation.com>
Signed-off-by: Abdulbois <abdulbois123@gmail.com>
@Abdulbois Abdulbois force-pushed the add-schemaVersion-into-NOC-models branch from daaa356 to 2cfde03 Compare June 5, 2024 06:35
@Abdulbois Abdulbois changed the title Add schemaVersion field into NOC/ICA models Add schemaVersion field into NOC/ICA and auxiliary models Jun 5, 2024
@Abdulbois Abdulbois merged commit 7c5f173 into master Jun 5, 2024
8 checks passed
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.

2 participants