GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — `stellar contract invoke` can't find a signer by its public keys · Issue #2459 · stellar/stellar-cli

stellar contract invoke can't find a signer by its public keys #2459

New issue
Copy link
New issue
Copy link
Closed
#2658
Closed
stellar contract invoke can't find a signer by its public keys#2459
#2658
Copy link
Labels
bugSomething isn't working

Description

@ifropc
ifropc
opened on Mar 23, 2026
Issue body actions

What version are you using?

Latest

What did you do?

  1. Call invoke passing --admin by its public key -> fails
[ ~/projects/goldsky ] > stellar contract invoke --id CBC7JZTXRS7X6DCX6DRCI2NFJJI4BXYPTPOGVG3GPHH27OMPKR434BSX -- deploy --wasm-name increment --contract-name test --admin GAPGYTYEYIHW5TXR2EBF7FE26P2JELDMZKO3P4SJGPJTHMX33VCXSKV7
ℹ️  Simulating transaction…
❌ error: Missing signing key for account GAPGYTYEYIHW5TXR2EBF7FE26P2JELDMZKO3P4SJGPJTHMX33VCXSKV7
  1. Call invoke passing --admin by identity (alice) -> ok
[ ~/projects/goldsky ] > stellar contract invoke --id CBC7JZTXRS7X6DCX6DRCI2NFJJI4BXYPTPOGVG3GPHH27OMPKR434BSX -- deploy --wasm-name increment --contract-name test --admin alice
ℹ️  Simulating transaction…
ℹ️  Signing transaction: 5c4b70bf68e1a76eba23e0ea5df56e46cc7a112b13407d09b3c048218cd3f060
🌎 Sending transaction…
✅ Transaction submitted successfully!
🔗 https://stellar.expert/explorer/testnet/tx/5c4b70bf68e1a76eba23e0ea5df56e46cc7a112b13407d09b3c048218cd3f060
📅 CBC7JZTXRS7X6DCX6DRCI2NFJJI4BXYPTPOGVG3GPHH27OMPKR434BSX - Success - Event: Deploy (deploy), wasm_name: "increment", version: "1.0.0", deployer: "CBC7JZTXRS7X6DCX6DRCI2NFJJI4BXYPTPOGVG3GPHH27OMPKR434BSX", contract_id: "CB5GUINWUNEIGCQ2KN6633DPPY57YNCFQVV7YMMOCY4GIJS5L7BVFN5S"
📅 CBC7JZTXRS7X6DCX6DRCI2NFJJI4BXYPTPOGVG3GPHH27OMPKR434BSX - Success - Event: Register (register), contract_name: "test", contract_id: "CB5GUINWUNEIGCQ2KN6633DPPY57YNCFQVV7YMMOCY4GIJS5L7BVFN5S", sac: false, wasm_hash: "3e590fe335b9c078ff4fccfd896dd38ce652b4c7d9360d3ad641e52d528f0d81"
"CB5GUINWUNEIGCQ2KN6633DPPY57YNCFQVV7YMMOCY4GIJS5L7BVFN5S"
  1. Showing the store
[ ~/projects/goldsky ] > stellar keys ls                                         
alice
me
[ ~/projects/goldsky ] > stellar keys public-key alice
GAPGYTYEYIHW5TXR2EBF7FE26P2JELDMZKO3P4SJGPJTHMX33VCXSKV7
[ ~/projects/goldsky ] > stellar keys show alice      
S*******

What did you expect to see?

Contract invoking passing admin by its public key works

What did you see instead?

Missing signing key for account, even though key is not missing at all

Activity

  1. ifropc
    added
    bugSomething isn't working
    on Mar 23, 2026
  2. github-project-automation
    added this to DevXon Mar 23, 2026
  3. github-project-automation
    moved this to Backlog (Not Ready) in DevXon Mar 23, 2026
  4. ifropc commented on Mar 23, 2026

    @ifropc
    ifropc
    on Mar 23, 2026
    ContributorAuthor
    More actions

    The problem seems to be in resolve_signer that calls get_secret_key which in turn recognizes GAPGYTYEYIHW5TXR2EBF7FE26P2JELDMZKO3P4SJGPJTHMX33VCXSKV7 as public key and (falsely) draws a conclusion that I don't have a private key for it.
    Unfortunately the fix is not trivial. We could maybe iterate over all known and accessible keys in storage(s) and check if the key belongs to it?

  5. chadoh commented on Mar 27, 2026

    @chadoh
    chadoh
    on Mar 27, 2026
    Contributor
    More actions

    We don’t even need the secret key for public keys passed as function arguments, though! This error is doubly irrelevant. If public keys are passed for account IDs to function arguments, no resolution is needed. It’s the simplest possible case.

  6. janewang
    moved this from Backlog (Not Ready) to Todo (Ready for Dev) in DevXon Jun 18, 2026
  7. fnando
    closed this as completedin #2658on Jul 30, 2026
  8. github-project-automation
    moved this from Todo (Ready for Dev) to Done in DevXon Jul 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    • DevX
      Status
      Done
      Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.