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

CLI: Error while updating NTT owner on Solana #588

Open
khayss opened this issue Feb 6, 2025 · 0 comments
Open

CLI: Error while updating NTT owner on Solana #588

khayss opened this issue Feb 6, 2025 · 0 comments

Comments

@khayss
Copy link

khayss commented Feb 6, 2025

I'm trying to update the NTT owner for the Solana deployment using the NTT Cli. After adding the new owner address to deployment.json, I run the following command to push changes.

ntt push --payer payer.json

Where payer.json is my payer key file and the current owner.

I get the following error after agreeing to the changes.

error: This function requires the Provider interface implementor to have a 'wallet' field.
      at /home/khayss/.ntt-cli/.checkout/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.js:152:27
      at resolveConst (/home/khayss/.ntt-cli/.checkout/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.js:136:24)
      at /home/khayss/.ntt-cli/.checkout/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.js:61:20
      at resolve (/home/khayss/.ntt-cli/.checkout/node_modules/@coral-xyz/anchor/dist/cjs/program/accounts-resolver.js:60:21)
      at /home/khayss/.ntt-cli/.checkout/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.js:142:42
      at instruction (/home/khayss/.ntt-cli/.checkout/node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/methods.js:140:25)
      at /home/khayss/.ntt-cli/.checkout/solana/dist/esm/ts/lib/ntt.js:411:14
      at createTransferOwnershipInstruction (/home/khayss/.ntt-cli/.checkout/solana/dist/esm/ts/lib/ntt.js:403:55)
      at /home/khayss/.ntt-cli/.checkout/solana/dist/esm/ts/sdk/ntt.js:134:30
      at /home/khayss/.ntt-cli/.checkout/node_modules/@wormhole-foundation/sdk-connect/dist/esm/common.js:21:22
      at ssw (/home/khayss/.ntt-cli/.checkout/node_modules/@wormhole-foundation/sdk-connect/dist/esm/common.js:18:20)
      at /home/khayss/.ntt-cli/.checkout/node_modules/@wormhole-foundation/sdk-connect/dist/esm/common.js:8:28
      at signSendWait (/home/khayss/.ntt-cli/.checkout/node_modules/@wormhole-foundation/sdk-connect/dist/esm/common.js:2:36)
      at /home/khayss/.ntt-cli/.checkout/cli/src/index.ts:1646:15

Here's a screenshot

Image

@khayss khayss changed the title Error while updating NTT owner on Solana via NTT Cli CLI: Error while updating NTT owner on Solana Feb 6, 2025
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

No branches or pull requests

1 participant