Skip to content

Conversation

cernicc
Copy link
Member

@cernicc cernicc commented Oct 17, 2025

Description

This PR introduces the upgradability of the Solana relay program. It adds versioning of accounts and reserves bytes for future fields. The suggested approach was specified in the solana-upgradability adr. Specifically the State Design with Reserved Space and Version-Aware Instructions chapters.


Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

  • Linked to GitHub issue with discussion and accepted design, OR link to spec that describes this work.
  • Wrote unit and integration tests.
  • Added relevant natspec and godoc comments.
  • Provide a conventional commit message to follow the repository standards.
  • Re-reviewed Files changed in the GitHub PR explorer.
  • Review SonarCloud Report in the comment section below once CI passes.

@mergify
Copy link

mergify bot commented Oct 17, 2025

⚠️ The sha of the head commit of this PR conflicts with #768. Mergify cannot evaluate rules on this PR. ⚠️

@cernicc
Copy link
Member Author

cernicc commented Oct 17, 2025

The continuation of the PR #768 . I had to create a new one because the branch was moved to a different remote.

@cernicc cernicc mentioned this pull request Oct 17, 2025
6 tasks
@cernicc cernicc force-pushed the cernicc/upgradability branch from 00960ea to d1ebc5b Compare October 21, 2025 09:29
@cernicc cernicc force-pushed the cernicc/upgradability branch from d1ebc5b to 895ee1c Compare October 21, 2025 09:36
Copy link
Member

@srdtrk srdtrk left a comment

Choose a reason for hiding this comment

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

Lgtm. I left a quesiton about the tests

@cernicc cernicc merged commit e0f50e7 into feat/solana Oct 22, 2025
67 of 69 checks passed
@cernicc cernicc deleted the cernicc/upgradability branch October 22, 2025 08:26
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