Skip to content

p-token: Port interface and program from p-token repo #22

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 41 commits into from
Feb 4, 2025

Conversation

joncinque
Copy link
Contributor

Problem

It's time to move over the p-token interface and program implementations to the token repo.

Summary of changes

Following the PR for the token program at #12, I ran:

# add the remote for the source repo
git remote add ptoken https://github.com/febo/p-token.git
# fetch the master from spl under a different local branch
git fetch ptoken main:pt
git switch pt
# be safe, remove the remote
git remote rm ptoken
# filter the stake related files
python3 ../../git-filter-repo \
  --path program/ \
  --path-rename program/:p-token/ \
  --path interface/ \
  --force
# re-add this repo
git remote add origin git@github.com:joncinque/token.git
git fetch origin main
git switch main
git switch pt
git rebase main

NOTE: CI is not included yet

@joncinque joncinque requested a review from febo February 3, 2025 19:17
Copy link
Contributor

@febo febo left a comment

Choose a reason for hiding this comment

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

Great, thank you!

@joncinque joncinque merged commit ba98569 into solana-program:main Feb 4, 2025
12 checks passed
@joncinque joncinque deleted the pt branch February 4, 2025 16:47
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.

None yet

2 participants