Skip to content

feat(codama): bump codama packages to v1 - #1388

Open
mikhd wants to merge 3 commits into
solana-foundation:masterfrom
hoodieshq:feat/HOO-2004-bump-codama-packages-to-v1
Open

mikhd wants to merge 3 commits into
solana-foundation:masterfrom
hoodieshq:feat/HOO-2004-bump-codama-packages-to-v1

Conversation

@mikhd

@mikhd mikhd commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

Description

Preparations for DisplayNode feature.

  • Bump codama packages to v1.
  • Updated rendering of enums which was changed by codama. Now we display human readable enums instead of numbers.

Type of change

  • Bug fix
  • New feature
  • Protocol integration
  • Documentation update
  • Other (please describe): dependency update

Screenshots

Before:

image image

After

image image

Testing

Case Production Preview
Scalar enum mode: number 0 -> enum Off /tx/3uhZeTwf… /tx/3uhZeTwf…
Scalar enum mode: number 2 -> enum Auto /tx/CJCUGcFr… /tx/CJCUGcFr…
Data enum, tuple variant action: Jump (no change) /tx/2y7L3a5k… /tx/2y7L3a5k…
Data enum, struct variant action: Move (no change) /tx/5gVpgM3D… /tx/5gVpgM3D…
Nested enums, struct variants: seedEnum, enumsArray -> enum rows /inspector? /inspector?
Nested enums, tuple variant Start /inspector? /inspector?
Nested enums, payload-less variants Stop, None -> enum rows /inspector? /inspector?
Lighthouse (no change) /tx/3wcncLri… /tx/3wcncLri…
Lighthouse and SAS credential signer (no change) /tx/3WKnktzi… /tx/3WKnktzi…
SAS Create Attestation (no change) /tx/2aXuTVFa… /tx/2aXuTVFa…
SAS Create Schema (no change) /tx/HKf3K7dY… /tx/HKf3K7dY…
Program Metadata setData (no change) /tx/3KgeXZuN… /tx/3KgeXZuN…

Related Issues

HOO-2004

Checklist

  • My code follows the project's style guidelines
  • I have added tests that prove my fix/feature works
  • All checks pass locally (pnpm test, pnpm lint, pnpm typecheck)
  • I have run build:info script to update build information
  • Screenshots included — required for protocol screens, recommended for other UI changes
  • CI/CD checks pass on the PR

@vercel

vercel Bot commented Oct 9, 2026

Copy link
Copy Markdown

@mikhd is attempting to deploy a commit to the Solana Foundation Team on Vercel.

A member of the Team first needs to authorize it.

@greptile-apps

greptile-apps Bot commented Oct 9, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 5/5

[High impact] The PR appears safe to merge; no actionable issues were found.

Summary

Updates the Codama packages and adapts instruction argument rows to the new enum output.

  • Instruction arguments show enum variants by name.
  • The project now uses updated Codama packages.

No actionable issues were found. Tests were not run.

Reviews (1) · Last reviewed commit: "chore: build:info" · Reviewed by Greptile

@vercel

vercel Bot commented Oct 9, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
explorer Ready Ready Preview Oct 9, 2026 1:05pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — d0527ad5 Deployed Oct 9, 2026 by vercel[bot]
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