-
Notifications
You must be signed in to change notification settings - Fork 139
Update to mesh-specifications v1.4.15 #528
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 to mesh-specifications v1.4.15 #528
Conversation
- Bump OpenAPI Generator from older version to v5.4.0 - Update codegen.sh to exclude new utility files (utils.go, error.go, helpers.go, impl.go) - Update Go version from 1.19 to 1.23 in codegen script - Generated code now includes improved nullable type handling fix: resolve NullableCase type issue with OpenAPI Generator v5.4.0 The newer generator incorrectly generates *NullableCase references for nullable enum types, but doesn't create the NullableCase type itself. Added sed command to convert *NullableCase back to *Case to maintain compatibility.
✅ Heimdall Review Status
|
8c70d44
to
6cd961b
Compare
Tweedle CurveType = "tweedle" | ||
Pallas CurveType = "pallas" | ||
Secp256k1 CurveType = "secp256k1" | ||
Secp256k1_BIP340 CurveType = "secp256k1_bip340" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adds the new CurveType
@@ -33,5 +33,5 @@ type NetworkStatusResponse struct { | |||
GenesisBlockIdentifier *BlockIdentifier `json:"genesis_block_identifier"` | |||
OldestBlockIdentifier *BlockIdentifier `json:"oldest_block_identifier,omitempty"` | |||
SyncStatus *SyncStatus `json:"sync_status,omitempty"` | |||
Peers []*Peer `json:"peers"` | |||
Peers []*Peer `json:"peers,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
From previous mesh-specifications updates which made it non-mandatory
@@ -33,5 +35,6 @@ const ( | |||
EcdsaRecovery SignatureType = "ecdsa_recovery" | |||
Ed25519 SignatureType = "ed25519" | |||
Schnorr1 SignatureType = "schnorr_1" | |||
SCHNORR_BIP340 SignatureType = "schnorr_bip340" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
New signature
Updates to mesh-specification v1.4.15 which includes bip340 types.
Updates version of openapi generator (old one doesn't even have arm64 image to run on mac)
We should have done this long ago, we were even asked here Update mesh-specifications to v1.4.15 #500 but then didn't have traction.
I split it into a commit that does just the copright year update for easier review