Code Monkey home page Code Monkey logo

libra-core's People

Contributors

apemon avatar bonustrack avatar codemaveric avatar perfectmak avatar qpotato avatar rjferguson avatar suraneti avatar totiz avatar turingpavan avatar

Stargazers

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

libra-core's Issues

Error in the example "Query Transaction with Sequence Number"

Hello !

When doing the example, I get the following error :

/var/www/html/libra_jwt/node_modules/kulap-libra/build/client/Decoder.js:47
const signedTransaction = signedTransactionWP.getSignedTransaction();
^

TypeError: Cannot read property 'getSignedTransaction' of undefined
at ClientDecoder.decodeSignedTransactionWithProof (/var/www/html/libra_jwt/node_modules/kulap-libra/build/client/Decoder.js:47:55)
at responseTask (/var/www/html/libra_jwt/node_modules/kulap-libra/build/client/index.js:127:38)
at Object.onReceiveStatus (/var/www/html/libra_jwt/node_modules/grpc/src/client_interceptors.js:1207:9)
at InterceptingListener._callNext (/var/www/html/libra_jwt/node_modules/grpc/src/client_interceptors.js:568:42)
at InterceptingListener.onReceiveStatus (/var/www/html/libra_jwt/node_modules/grpc/src/client_interceptors.js:618:8)
at callback (/var/www/html/libra_jwt/node_modules/grpc/src/client_interceptors.js:845:24)
[nodemon] app crashed - waiting for file changes before starting...

can you verify it?
Thanks !

transferCoins is broken again

transferCoins is broken again. The result shows the following error:

LibraTransactionResponse {
  signedTransaction: LibraSignedTransaction {
    transaction: LibraTransaction {
      program: [Object],
      gasContraint: [Object],
      expirationTime: [BigNumber],
      sendersAddress: [AccountAddress],
      sequenceNumber: [BigNumber]
    },
    publicKey: Uint8Array [
      126, 142, 165,  73, 194, 136, 153,  77,
      213,  61, 211, 220,   2, 180, 195,  48,
      128, 186, 113, 104, 203,  53,  60, 113,
      224,  54,  74, 205, 207, 172,  13,  60
    ],
    signature: Uint8Array [
       52, 197, 179, 236, 142,   5,  10,  23, 179, 135,  58,
      132,  85, 225, 203, 155, 158, 211,  37, 180,  36, 148,
      176,  27,  29,  35,  74,  68, 239,  57,  78,  51,  94,
      211,  86, 119, 146,  62, 195,  39, 168, 161,  46,  83,
      205, 146,  67,  37,   9,  97, 243, 229,  13,  49,  27,
       81,   8, 251, 190,  24,  60, 213, 197,  14
    ]
  },
  validatorId: Uint8Array [],
  acStatus: -1,
  mempoolStatus: -1,
  vmStatus: LibraVMStatusError {
    errorType: 1,
    validationStatusError: { code: 11, message: 'none' },
    verificationStatusErrors: undefined,
    invariantViolationError: undefined,
    deserializationError: undefined,
    executionError: undefined
  }
}

When will you finish updating

Hello!
First of all, thank you for your libra-core package. It is really helpful for my project.
To talk about my project, I am building a flea market website and using your package to transfer libra coin.
I want let the user to have an experience of using Libra. Also, I will release my project as an open source.
My project is almost done, and I want to release it. However, the package is not support the current version of Libra blockchain.

I understand you have tight schedule, but I just want to know when will you finish to fix the libra updated problem.

When will you finish updating?

Thank you so much in advance.

Test case failing

console.log test/client.test.ts:35
  Account 1 address 4ab38e4fc265511766b075f3d03aa1acf91b9fe3bc48c77381d4b1beed2204e3

● LibraClient › should get accountState correctly

13 INTERNAL: Failed to parse server response

  at Object.<anonymous>.exports.createStatusError (node_modules/grpc/src/common.js:91:15)
  at Object.onReceiveStatus (node_modules/grpc/src/client_interceptors.js:1204:28)
  at InterceptingListener.Object.<anonymous>.InterceptingListener._callNext (node_modules/grpc/src/client_interceptors.js:568:42)
  at InterceptingListener.Object.<anonymous>.InterceptingListener.onReceiveStatus (node_modules/grpc/src/client_interceptors.js:618:8)
  at callback (node_modules/grpc/src/client_interceptors.js:845:24)

● LibraClient › should query account state and transfer

13 INTERNAL: Failed to parse server response

  at Object.<anonymous>.exports.createStatusError (node_modules/grpc/src/common.js:91:15)
  at Object.onReceiveStatus (node_modules/grpc/src/client_interceptors.js:1204:28)
  at InterceptingListener.Object.<anonymous>.InterceptingListener._callNext (node_modules/grpc/src/client_interceptors.js:568:42)
  at InterceptingListener.Object.<anonymous>.InterceptingListener.onReceiveStatus (node_modules/grpc/src/client_interceptors.js:618:8)
  at callback (node_modules/grpc/src/client_interceptors.js:845:24)

● LibraClient › should rotatekey and transfer correctly

13 INTERNAL: Failed to parse server response

  at Object.<anonymous>.exports.createStatusError (node_modules/grpc/src/common.js:91:15)
  at Object.onReceiveStatus (node_modules/grpc/src/client_interceptors.js:1204:28)
  at InterceptingListener.Object.<anonymous>.InterceptingListener._callNext (node_modules/grpc/src/client_interceptors.js:568:42)
  at InterceptingListener.Object.<anonymous>.InterceptingListener.onReceiveStatus (node_modules/grpc/src/client_interceptors.js:618:8)
  at callback (node_modules/grpc/src/client_interceptors.js:845:24)

Test Suites: 1 failed, 2 passed, 3 total
Tests: 3 failed, 14 passed, 17 total
Snapshots: 0 total
Time: 10.799s

Error Transferring Libra Coins

Helo !

When sending a transaction, I get the following error.
validationStatusError: { code: 11, message: 'none' },
Yesterday it was working correctly.

Thanks !

Broken Transaction Proto

Transaction.proto has been changed and RawTransaction is removed. Transfer needs to be rewritten.

Error related to grpc package

I am trying to use this library in an Angular project and I am getting this error

ERROR in ./node_modules/grpc/node_modules/detect-libc/lib/detect-libc.js
Module not found: Error: Can't resolve 'child_process' in '../node_modules/grpc/node_modules/detect-libc/lib'

I am using

Node: 12.4.0
OS: darwin x64
Angular: 8.1.3

Any help on this issue?

Ahmad

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.