Skip to content
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

solana localnet #62

Draft
wants to merge 9 commits into
base: localnet-authenticated-call
Choose a base branch
from
Draft

Conversation

fadeev
Copy link
Member

@fadeev fadeev commented Nov 13, 2024

No description provided.

@fadeev
Copy link
Member Author

fadeev commented Nov 18, 2024

npx hardhat localnet
Deploying Solana program: ./packages/localnet/src/solana/deploy/protocol_contracts_solana.so
Running command: solana program deploy --program-id ./packages/localnet/src/solana/deploy/protocol_contracts_solana-keypair.json --keypair ./packages/localnet/src/solana/deploy/protocol_contracts_solana-keypair.json ./packages/localnet/src/solana/deploy/protocol_contracts_solana.so --url localhost
Deployment error: Command failed: solana program deploy --program-id ./packages/localnet/src/solana/deploy/protocol_contracts_solana-keypair.json --keypair ./packages/localnet/src/solana/deploy/protocol_contracts_solana-keypair.json ./packages/localnet/src/solana/deploy/protocol_contracts_solana.so --url localhost
Error: Account CgkjyKhvqDSSptxXyRLp4QD8vEyEwCBPmysDRwvFsWsw is not an upgradeable program or already in use

Error initializing localnet: Error: Command failed: solana program deploy --program-id ./packages/localnet/src/solana/deploy/protocol_contracts_solana-keypair.json --keypair ./packages/localnet/src/solana/deploy/protocol_contracts_solana-keypair.json ./packages/localnet/src/solana/deploy/protocol_contracts_solana.so --url localhost
Error: Account CgkjyKhvqDSSptxXyRLp4QD8vEyEwCBPmysDRwvFsWsw is not an upgradeable program or already in use

@fadeev
Copy link
Member Author

fadeev commented Nov 18, 2024

I've copied the source for the Solana program and changed the program ID.

@fadeev fadeev changed the base branch from main to localnet-authenticated-call November 18, 2024 13:56
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.

1 participant