Skip to content

initial p26 updates#401

Open
hunterpack wants to merge 8 commits intomasterfrom
release-protocol-26
Open

initial p26 updates#401
hunterpack wants to merge 8 commits intomasterfrom
release-protocol-26

Conversation

@hunterpack
Copy link
Copy Markdown
Contributor

PR Checklist

PR Structure

  • This PR has reasonably narrow scope (if not, break it down into smaller PRs).
  • This PR avoids mixing refactoring changes with feature changes (split into two PRs
    otherwise).
  • This PR's title starts with the jira ticket associated with the PR.

Thoroughness

  • This PR adds tests for the most critical parts of the new functionality or fixes.
  • I've updated the README with the added features, breaking changes, new instructions on how to use the repository. I updated the description of the fuction with the changes that were made.

Release planning

  • I've decided if this PR requires a new major/minor/patch version accordingly to
    semver, and I've changed the name of the BRANCH to major/_ , minor/_ or patch/* .

What

[TODO: Short statement about what is changing.]

Why

[TODO: Why this change is being made. Include any context required to understand the why.]

Known limitations

[TODO or N/A]

@hunterpack hunterpack requested a review from a team as a code owner April 6, 2026 19:55
Copilot AI review requested due to automatic review settings April 6, 2026 19:55
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR extends the Soroban config_settings transformation pipeline to include additional protocol config fields (P23) and CAP-77 “frozen ledger keys” fields (P26), ensuring they are emitted in both JSON and Parquet outputs.

Changes:

  • Added new P23 and P26 fields to the ConfigSettingOutput / ConfigSettingOutputParquet schemas.
  • Populated the new fields in TransformConfigSetting and mapped them through ToParquet().
  • Updated config-setting transform tests to include new P23 config setting IDs.

Reviewed changes

Copilot reviewed 6 out of 7 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
internal/transform/schema.go Adds new JSON fields to ConfigSettingOutput for P23/P26 config settings.
internal/transform/schema_parquet.go Adds matching Parquet schema fields for P23/P26 config settings.
internal/transform/parquet_converter.go Maps the new config-setting fields into the Parquet output struct.
internal/transform/config_setting.go Extracts new P23/P26 values and introduces serializers for CAP-77 fields.
internal/transform/config_setting_test.go Adds test fixtures/expectations for the new P23 config setting IDs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread internal/transform/config_setting.go Outdated
Comment thread internal/transform/config_setting.go Outdated
Comment thread internal/transform/config_setting.go Outdated
Comment thread internal/transform/config_setting.go Outdated
Comment thread internal/transform/config_setting_test.go
@socket-security
Copy link
Copy Markdown

socket-security Bot commented Apr 6, 2026

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updatedgithub.com/​stellar/​go-stellar-sdk@​v0.0.0-20251211085638-ba09a6a91775 ⏵ v0.0.0-20260325174035-031e5bfdc4bd75 +1100100100100

View full report

Comment thread internal/transform/config_setting.go Outdated
Comment thread internal/transform/config_setting.go Outdated
Comment thread internal/transform/config_setting.go Outdated
Comment on lines +137 to +138
freezeBypassTxsDelta, _ := configSetting.GetFreezeBypassTxsDelta()
freezeBypassTxsDeltaJSON := serializeFreezeBypassTxsDelta(freezeBypassTxsDelta)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Same recommendation as https://github.com/stellar/stellar-etl/pull/401/changes#r3041684008

Flatten instead of making it a map

Comment thread internal/transform/config_setting.go Outdated
Comment thread internal/transform/schema.go Outdated
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.

3 participants