Skip to content

Conversation

@AvhiMaz
Copy link
Contributor

@AvhiMaz AvhiMaz commented Jan 11, 2026

Description

Implements the Program command group with the Extend subcommand to support extending
the length of upgradeable Solana programs, enabling deployment of larger programs.

Fixes #96

Type of Change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update
  • Refactoring (no functional changes)
  • Tests (adding or updating tests)

Before Submitting

  • I have searched for duplicate issues/PRs
  • I have discussed this change in an issue (required for new features)
  • My changes are based on the latest master branch

Code Quality

  • I have run make all-checks and all checks pass
  • I have added/updated tests if applicable
  • I have updated documentation if needed
  • My code follows the project's coding standards

@AvhiMaz AvhiMaz changed the title wip feat: add program extend command for upgradeable programs Jan 11, 2026
@AvhiMaz
Copy link
Contributor Author

AvhiMaz commented Jan 11, 2026

NB: impl pending PR #100 merge to avoid conflicts with the program command structures.

(also can be done after #101 merges)

@BretasArthur1
Copy link
Collaborator

rebase against #101 and construct from there :)

@AvhiMaz AvhiMaz force-pushed the feat/program-length-extend branch from 139457e to e4cdd52 Compare January 12, 2026 14:26
@AvhiMaz AvhiMaz marked this pull request as ready for review January 12, 2026 14:58
@AvhiMaz AvhiMaz requested a review from BretasArthur1 January 17, 2026 07:02
BretasArthur1
BretasArthur1 previously approved these changes Jan 17, 2026
Copy link
Collaborator

@BretasArthur1 BretasArthur1 left a comment

Choose a reason for hiding this comment

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

overall lgtm, lets wait naga

@BretasArthur1
Copy link
Collaborator

hey @AvhiMaz rebase this one pls

@AvhiMaz AvhiMaz force-pushed the feat/program-length-extend branch from 362f85a to 334ae8c Compare January 20, 2026 05:14
@BretasArthur1
Copy link
Collaborator

@Nagaprasadvr

Signed-off-by: AvhiMaz <avhimazumder5@outlook.com>
Signed-off-by: AvhiMaz <avhimazumder5@outlook.com>
Signed-off-by: AvhiMaz <avhimazumder5@outlook.com>
Signed-off-by: AvhiMaz <avhimazumder5@outlook.com>
Signed-off-by: AvhiMaz <avhimazumder5@outlook.com>
Signed-off-by: AvhiMaz <avhimazumder5@outlook.com>
Signed-off-by: AvhiMaz <avhimazumder5@outlook.com>
@AvhiMaz AvhiMaz force-pushed the feat/program-length-extend branch from 334ae8c to db7a171 Compare January 20, 2026 06:36
Signed-off-by: AvhiMaz <avhimazumder5@outlook.com>
@AvhiMaz AvhiMaz requested a review from Nagaprasadvr January 23, 2026 09:00
Copy link
Collaborator

@Nagaprasadvr Nagaprasadvr left a comment

Choose a reason for hiding this comment

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

im working on program deploy , will push it soon lets wait till then so we are on the same page


pub const MEMO_PROGRAM_ID: &str = "MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr";

pub const MAX_PERMITTED_DATA_LENGTH: usize = 10 * 1024 * 1024; // 10MB
Copy link
Collaborator

Choose a reason for hiding this comment

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

need more context here

Copy link
Contributor Author

Choose a reason for hiding this comment

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

more explanation ?

something like:

/// Chosen to stay within Solana account size limits and avoid OOM during CPI.
pub const MAX_PERMITTED_DATA_LENGTH: usize = 10 * 1024 * 1024; // 10MB

@AvhiMaz
Copy link
Contributor Author

AvhiMaz commented Jan 23, 2026

im working on program deploy , will push it soon lets wait till then so we are on the same page

okay sir 🫡

@devaniketh
Copy link

im working on program deploy , will push it soon lets wait till then so we are on the same page

is the program deployment done ??

@BretasArthur1
Copy link
Collaborator

is the program deployment done ??

sir naga is working on it

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.

Implement Solana program extend

4 participants