Giter Site home page Giter Site logo

cross-pile's People

Contributors

asmexcaliburwoods avatar evanmarshall avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

cross-pile's Issues

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

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!!!

Failed to "anchor build" for new anchor versions

It seems that the repo is not up to date to latest anchor versions (0.24.2 or 0.25.0) but was written with anchor 0.18.2.
Is it planned to be updated and is Solrand Oracle working with the new versions?
Thanks.

Dependency missing

Hi, in your dependencies you have listed "@demox_labs/solrand": "^0.0.3" twice, but when installing with npm/yarn in the root I get

npm ERR! 404  '@demox_labs/solrand@https://registry.npmjs.org/@demox_labs/solrand/-/solrand-0.0.3.tgz' is not in this registry.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.