Git Product home page Git Product logo

Comments (1)

somniumism avatar somniumism commented on April 28, 2024

I ran the e2e tests as follows:

  1. Run the foundry solo: ./target/debug/foundry -c solo
  2. Run a command yarn install on the alpha-2 branch of foundry-rpc-js
  3. Run a command yarn run test on the alpha-2 branch of foundry-rpc-js

The results were as follows:

  38 passing (466ms)
  9 failing

  1) account
       importRaw:
     Error: the object {
  "error": {
    "code": -32602
    "message": "Invalid params: invalid length 64, expected a 0x-prefixed hex string with length of 128."
  }
  "id": "account-importRaw-account_importRaw-49fc767c"
  "jsonrpc": "2.0"
} was thrown, throw an Error :)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)

  2) account
       sign:
     Error: the object {
  "error": {
    "code": -32602
    "message": "Invalid params: invalid length 64, expected a 0x-prefixed hex string with length of 128."
  }
  "id": "account-sign-account_importRaw-a74d4f5f"
  "jsonrpc": "2.0"
} was thrown, throw an Error :)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)

  3) account
       cannot sign without passphrase:
     Error: the object {
  "error": {
    "code": -32602
    "message": "Invalid params: invalid length 64, expected a 0x-prefixed hex string with length of 128."
  }
  "id": "account-sign2-account_importRaw-1c914faa"
  "jsonrpc": "2.0"
} was thrown, throw an Error :)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)

  4) account
       unlock:
     Error: the object {
  "error": {
    "code": -32602
    "message": "Invalid params: invalid length 64, expected a 0x-prefixed hex string with length of 128."
  }
  "id": "account-unlock-account_importRaw-eb016d12"
  "jsonrpc": "2.0"
} was thrown, throw an Error :)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)

  5) account
       unlock with duration:
     Error: the object {
  "error": {
    "code": -32602
    "message": "Invalid params: invalid length 64, expected a 0x-prefixed hex string with length of 128."
  }
  "id": "account-unlock2-account_importRaw-6ff14d59"
  "jsonrpc": "2.0"
} was thrown, throw an Error :)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)

  6) account
       changePassword:
     Error: the object {
  "error": {
    "code": -32602
    "message": "Invalid params: invalid length 64, expected a 0x-prefixed hex string with length of 128."
  }
  "id": "account-changePassword-account_importRaw-8c89b80"
  "jsonrpc": "2.0"
} was thrown, throw an Error :)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)

  7) chain
       genesis accounts:

      AssertionError: expected [ Array(10) ] to deeply equal [ Array(10) ]
      + expected - actual

       [
         "tccq8vapdlstar6ghmqgczp6j2e83njsqq0tsvaxm9u"
      -  "tccqxphelyu2n73ekpewrsyj0256wjhn2aqds9xrrrg"
      +  "tccq9h7vnl68frvqapzv3tujrxtxtwqdnxw6yamrrgd"
         "tccqyqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqpqc2ul2h"
         "tccqyqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq5duemmc"
         "tccqyqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqcuzl32l"
         "tccqyqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqgfrhflv"
      
      at Context.<anonymous> (e2e/chain.test.ts:30:31)
      at step (e2e/chain.test.ts:33:23)
      at Object.next (e2e/chain.test.ts:14:53)
      at fulfilled (e2e/chain.test.ts:5:58)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)

  8) devel
       testTPS:
     Error: the object {
  "error": {
    "code": -32032
    "data": "InsufficientBalance { address: Address(0x009f715d65a58dc96dd7a2ac18d4e83f565baba8), balance: 0, cost: 10 }"
    "message": "Not Enough Balance"
  }
  "id": "devel-getBlockSyncPeers-devel_testTPS-34d99d93"
  "jsonrpc": "2.0"
} was thrown, throw an Error :)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)

  9) net
       register remote key:
     Error: the object {
  "error": {
    "code": -32602
    "message": "Invalid params: invalid length 128, expected a 0x-prefixed hex string with length of 64."
  }
  "id": "net-register-remote-key-net_registerRemoteKeyFor-231c3e31"
  "jsonrpc": "2.0"
} was thrown, throw an Error :)
      at processTicksAndRejections (internal/process/task_queues.js:97:5)

from foundry-rpc-js.

Related Issues (8)

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.