Skip to content

test:devnet:public fails on createTask with AccountNotSigner (3010) for creator (vanilla fresh clone) #23

Description

@Virge44

Summary
Running the stock @tetsuo-ai/sdk devnet integration script fails consistently at createTask with:

AnchorError
Error Code: AccountNotSigner
account: creator
Error Number: 3010
This reproduces on a fresh vanilla clone (no local patches).

Environment
OS: Ubuntu (DigitalOcean droplet)
Node/NPM: (please fill from node -v && npm -v)
SDK: repo tetsuo-ai/agenc-sdk (fresh clone, current main at test time)
RPC: https://api.devnet.solana.com
IDL used: .../node_modules/@tetsuo-ai/protocol/src/generated/agenc_coordination.json
Repro Steps
git clone --depth 1 https://github.com/tetsuo-ai/agenc-sdk.git /tmp/agenc-sdk-vanilla
cd /tmp/agenc-sdk-vanilla
npm install
npm run build
export CREATOR_WALLET="/home/agenc/.config/solana/id.json"
export WORKER_WALLET="/home/agenc/agenc-worker.json"
export AGENC_RPC_URL="https://api.devnet.solana.com"
export AGENC_IDL_PATH="/home/agenc/agenc-sdk/node_modules/@tetsuo-ai/protocol/src/generated/agenc_coordination.json"
npm run test:devnet:public
Expected
Script should register creator/worker agents, create a public task, claim, complete, and print final state.

Actual
registerAgent succeeds for both creator and worker
failure occurs on createTask:
AnchorError caused by account: creator
AccountNotSigner (3010)
Logs (trimmed)
[step] creator agent registered: ...
[step] worker agent registered: ...
[cleanup] creator agent deregistered: ...
[cleanup] worker agent deregistered: ...
[failure] Error: AnchorError caused by account: creator. Error Code: AccountNotSigner. Error Number: 3010. Error Message: The given account did not sign.
at AnchorError.parse (.../node_modules/@coral-xyz/anchor/dist/cjs/error.js:140:20)
at translateError (.../node_modules/@coral-xyz/anchor/dist/cjs/error.js:226:37)
at MethodsBuilder.rpc [as _rpcFn] (.../node_modules/@coral-xyz/anchor/dist/cjs/program/namespace/rpc.js:18:53)
at async submitTaskCreationTransaction (file:///tmp/agenc-sdk-vanilla/dist/index.mjs:1694:16)
at async Module.createTask (file:///tmp/agenc-sdk-vanilla/dist/index.mjs:1712:14)
at async main (file:///tmp/agenc-sdk-vanilla/scripts/devnet-integration.mjs:231:21)
Additional context
I also reproduced the same error in a separate non-vanilla working copy where I tried multiple client-side transaction/signing variants; same on-chain error. Vanilla repro above suggests this is not caused by local modifications.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions