Skip to content

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

Merged
merged 3 commits into from
Jun 21, 2025

Conversation

rafalio-cb
Copy link
Contributor

  • 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

- 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.
@cb-heimdall
Copy link

cb-heimdall commented Jun 20, 2025

✅ Heimdall Review Status

Requirement Status More Info
Reviews 1/1
Denominator calculation
Show calculation
1 if user is bot 0
1 if user is external 0
2 if repo is sensitive 0
From .codeflow.yml 1
Additional review requirements
Show calculation
Max 0
0
From CODEOWNERS 0
Global minimum 0
Max 1
1
1 if commit is unverified 0
Sum 1

@rafalio-cb rafalio-cb force-pushed the rafalio/mesh-sdk-go_update_spec_1750215563 branch from 8c70d44 to 6cd961b Compare June 20, 2025 22:52
@rafalio-cb rafalio-cb changed the title Rafalio/mesh sdk go update spec 1750215563 Update to mesh-specifications v1.4.15 Jun 20, 2025
Tweedle CurveType = "tweedle"
Pallas CurveType = "pallas"
Secp256k1 CurveType = "secp256k1"
Secp256k1_BIP340 CurveType = "secp256k1_bip340"
Copy link
Contributor Author

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"`
Copy link
Contributor Author

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"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

New signature

@rafalio-cb rafalio-cb requested review from potterbm-cb and ningcb June 20, 2025 23:01
@rafalio-cb rafalio-cb merged commit fe5a97b into master Jun 21, 2025
11 checks passed
@rafalio-cb rafalio-cb deleted the rafalio/mesh-sdk-go_update_spec_1750215563 branch June 21, 2025 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants