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

3) cross-pile Approve a flip: Error: Invalid arguments: requester not provided. while ruinning test cases #6

Open
anilaravindv opened this issue Jul 18, 2022 · 0 comments

Comments

@anilaravindv
Copy link

User Pubkey: AfyttQHyJuLNBNDYWkvjNpXSQ19tvq5HQLZn8rWHa3h3
User 2 Pubkey: aomQraMKcXHSZW863r9edQ5NYUboGq1LpHLX2xQ8DLL
Server responded with 429 Too Many Requests. Retrying after 500ms delay...
Server responded with 429 Too Many Requests. Retrying after 1000ms delay...
Server responded with 429 Too Many Requests. Retrying after 2000ms delay...
Server responded with 429 Too Many Requests. Retrying after 4000ms delay...
1) Set up tests
Coin account: AgQhY4gFzSTsL8DrWEBgh1QyUsch7s1STYv5tVSfoV6W
2) Create a coin!
3) Approve a flip
Translating error TypeError: Cannot read properties of undefined (reading 'toString')
at forEach (/home/aravind/Jhusten-cross-pile/node_modules/@solana/web3.js/src/transaction.ts:402:47)
at Array.forEach ()
at Transaction.compileMessage (/home/aravind/Jhusten-cross-pile/node_modules/@solana/web3.js/src/transaction.ts:401:18)
at Transaction._compile (/home/aravind/Jhusten-cross-pile/node_modules/@solana/web3.js/src/transaction.ts:523:26)
at Transaction.partialSign (/home/aravind/Jhusten-cross-pile/node_modules/@solana/web3.js/src/transaction.ts:654:26)
at NodeWallet.signTransaction (/home/aravind/Jhusten-cross-pile/node_modules/@project-serum/anchor/src/provider.ts:246:8)
at Provider.send (/home/aravind/Jhusten-cross-pile/node_modules/@project-serum/anchor/src/provider.ts:105:23)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at Object.rpc [as publishRandom] (/home/aravind/Jhusten-cross-pile/node_modules/@project-serum/anchor/src/program/namespace/rpc.ts:24:23)
at MockOracleSession.publishRandom (/home/aravind/Jhusten-cross-pile/node_modules/@demox-labs/solrand/app/sessions.js:123:9)
4) Oracle responds to request
5) Reveal the result

0 passing (18s)
5 failing

  1. cross-pile
    Set up tests:
    Error: 429 Too Many Requests: {"jsonrpc":"2.0","error":{"code": 429, "message":"Too many requests for a specific RPC call, contact your app developer or [email protected]."}, "id": "c1d71c29-d02c-49a4-87a2-e0260f18b979" }

    at ClientBrowser.callServer (node_modules/@solana/web3.js/src/connection.ts:1155:18)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

  2. cross-pile
    Create a coin!:
    TypeError: Cannot read properties of undefined (reading 'toString')
    at /home/aravind/Jhusten-cross-pile/tests/cross-pile.ts:106:49
    at Generator.next ()
    at fulfilled (tests/cross-pile.ts:28:58)

  3. cross-pile
    Approve a flip:
    Error: Invalid arguments: requester not provided.
    at /home/aravind/Jhusten-cross-pile/node_modules/@project-serum/anchor/src/program/common.ts:50:15
    at Array.forEach ()
    at validateAccounts (node_modules/@project-serum/anchor/src/program/common.ts:45:14)
    at ix (node_modules/@project-serum/anchor/src/program/namespace/instruction.ts:43:23)
    at txFn (node_modules/@project-serum/anchor/src/program/namespace/transaction.ts:20:14)
    at Object.rpc [as approveFlip] (node_modules/@project-serum/anchor/src/program/namespace/rpc.ts:21:18)
    at /home/aravind/Jhusten-cross-pile/tests/cross-pile.ts:144:32
    at Generator.next ()
    at /home/aravind/Jhusten-cross-pile/tests/cross-pile.ts:31:71
    at new Promise ()
    at __awaiter (tests/cross-pile.ts:27:12)
    at Context. (tests/cross-pile.ts:142:37)
    at processImmediate (node:internal/timers:471:21)

  4. cross-pile
    Oracle responds to request:
    TypeError: Cannot read properties of undefined (reading 'toString')
    at forEach (node_modules/@solana/web3.js/src/transaction.ts:402:47)
    at Array.forEach ()
    at Transaction.compileMessage (node_modules/@solana/web3.js/src/transaction.ts:401:18)
    at Transaction._compile (node_modules/@solana/web3.js/src/transaction.ts:523:26)
    at Transaction.partialSign (node_modules/@solana/web3.js/src/transaction.ts:654:26)
    at NodeWallet.signTransaction (node_modules/@project-serum/anchor/src/provider.ts:246:8)
    at Provider.send (node_modules/@project-serum/anchor/src/provider.ts:105:23)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at Object.rpc [as publishRandom] (node_modules/@project-serum/anchor/src/program/namespace/rpc.ts:24:23)
    at MockOracleSession.publishRandom (node_modules/@demox-labs/solrand/app/sessions.js:123:9)

  5. cross-pile
    Reveal the result:
    Error: Invalid arguments: requester not provided.
    at /home/aravind/Jhusten-cross-pile/node_modules/@project-serum/anchor/src/program/common.ts:50:15
    at Array.forEach ()
    at validateAccounts (node_modules/@project-serum/anchor/src/program/common.ts:45:14)
    at ix (node_modules/@project-serum/anchor/src/program/namespace/instruction.ts:43:23)
    at txFn (node_modules/@project-serum/anchor/src/program/namespace/transaction.ts:20:14)
    at Object.rpc [as revealCoin] (node_modules/@project-serum/anchor/src/program/namespace/rpc.ts:21:18)
    at /home/aravind/Jhusten-cross-pile/tests/cross-pile.ts:184:32
    at Generator.next ()
    at /home/aravind/Jhusten-cross-pile/tests/cross-pile.ts:31:71
    at new Promise ()
    at __awaiter (tests/cross-pile.ts:27:12)
    at Context. (tests/cross-pile.ts:182:40)
    at processImmediate (node:internal/timers:471:21)

error Command failed with exit code 5.

PLEASE HELP!!!

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